Configuring External BGP in Gaia Clish

Use these commands to configure external sessions of the protocol (between routers in different autonomous systems).

Syntax

set bgp external remote-as <Number of Autonomous System>

      {off | on}

      aspath-prepend-count <1-25 | default>

      description "Your Text"

      local-address <IP Address> {off | on}

      outdelay <0-65535>

      outdelay off

Parameters

Parameter

Description

<Number of Autonomous System>

The autonomous system number of the external peer group.

Enter an integer from 1 to 65535.

{off | on}

Enables or disables the BGP autonomous system.

aspath-prepend-count <1-25> | default>

The number of times this router adds to the autonomous system path on external BGP sessions.

Use this option to bias the degree of preference some downstream routers have for the routes originated by this router.

Some implementations prefer to select paths with shorter autonomous system paths. Default is 1.

description "Your Text"

Optional: You can enter a brief text description of the group.

local-address <IP Address> {off | on}

The address used on the local end of the TCP connection with the peer.

For external peers that do not have multihop enabled, the local address must be on an interface that is shared with the peer or with the peer's gateway when the gateway parameter is used.

A session with an external peer is opened only when an interface with a local address, through which the peer or gateway address is directly reachable is operating.

For other types of peers, a peer session is maintained when any interface with the specified local address is operating.

In either case, incoming connections are recognized as matching a configured peer only if they are addressed to the configured local address.

Default: off

Note - If running BGP in a clusterClosed Two or more Security Gateways that work together in a redundant configuration - High Availability, or Load Sharing. you must not configure the local address.

outdelay <0-65535>

The amount of time in seconds that a route must be present in the routing database before it is redistributed to BGP. The configured value applies to all peers configured in this group. This feature dampens route fluctuation. The value zero (0) disables this feature.

Default: 0

outdelay off

Disables outdelay.