Configure BGP Peers

Configure BGP peers to connect two routers to each other for the purpose of exchanging routing information. BGP peers exchange complete routing information only after they establish the peer connection.

Before you begin

  • Change the VRF instance as required to configure BGP on a specific VRF instance. The VRF must have an RP trigger of BGP. Not all parameters are configurable on non-default VRFs.

Procedure

  1. In the navigation pane, expand Configuration > IP.
  2. Select BGP.
  3. Select the Peers tab.
  4. Select Insert.
  5. Configure the peer as required.
  6. Select Insert.
  7. In the Enable column, double-click the value, and then select true.

    By default, new peer configuration parameters are disabled.

  8. Select Apply.
  9. To modify a peer configuration, double-click the value, and then select a new value.

Peers Field Descriptions

Use the data in the following table to use the Peers tab.

Name

Description

Instance

Specifies the BGP peer instance.

LocalAddrType

Specifies the local IP address type of the entered BGP peer.

LocalAddr

Specifies the local IP address of the entered BGP peer.

RemoteAddrType

Specifies the remote IP address type of the entered BGP peer.

RemoteAddr

Specifies the remote IP address of the entered BGP peer.

AdminStatus

Specifies the administrative status of the BGP peer.

GroupName

Specifies the peer group name to which the peer belongs (optional).

PeerState

Specifies the BGP peer connection state.

RemoteAs

Configures a remote AS number for the peer or peer-group in the range 0–65535.

Enable

Controls whether the peer connection is enabled or disabled. The default is disabled.

EbgpMultiHop

Enables or disables a connection to a BGP peer that is more than one hop away from the local router. The default value is disable.

RoutePolicyIn

Specifies the policy (by name) that applies to all network routes learned from this peer.

RoutePolicyOut

Specifies the policy (by name) that applies to all outgoing route updates.

RemovePrivateAs

Strips (when enabled) private AS numbers when the switch sends an update. The default is enable.

UpdateSourceInterface

Specifies the source IP address to use when the switch sends eBGP packets to this peer or peer group.

ConnectRetryInterval

Specifies the time interval, in seconds, for the connect retry timer. The suggested value for this timer is 120 seconds. The range is 1 to 65535.

HoldTimeConfigured

Specifies the time interval, in seconds, for the hold time for this BGP speaker with this peer. This value is in an open message sent to this peer by this BGP speaker. To determine the hold time with the peer, the switch compares this value with the HoldTime value in an open message received from the peer. The HoldTime must be at least three seconds. If the value is zero, the hold time does not establish with the peer. The suggested value for this timer is 180 seconds. The range is 0 to 65535.

KeepAliveConfigured

Specifies the time interval, in seconds, for the KeepAlive timer configured for this BGP speaker with this peer. KeepAliveConfigured determines the keep alive message frequency relative to HoldTimeConfigured; KeepAlive indicates the actual time interval for the keep alive messages. The maximum value for this timer is one-third of HoldTimeConfigured. If KeepAliveConfigured is zero, no periodic keep alive messages are sent to the peer after the peers establish a BGP connection. Configure a value of 60 seconds. The range is 0 to 21845.

MD5Authentication

Enables and disables MD5 authentication.

AdvertisementInterval

Specifies the time interval, in seconds, that elapses between each transmission of an advertisement from a BGP neighbor. The default value is 30 seconds and the range is 5–120 seconds.

The route advertisement interval feature is implemented using the time stamp that indicates when each route is advertised. The time stamp is marked to each route so that the route advertisement interval is compared to the time stamp and BGP is then able to make a decision about whether the route advertisement can be sent or should be delayed when a better route is received. This feature does not work for a withdraw route because the route entry is already removed when the processing route advertisement is sent and the time stamp marked in the route entry cannot be obtained.

DefaultOriginate

When enabled, specifies that the current route originated from the BGP peer. This parameter enables or disables sending the default route information to the specified neighbor or peer. The default value is false.

DefaultOriginateIpv6

When enabled, specifies that the current IPv6 route originated from the BGP peer. This parameter enables or disables sending the default IPv6 route information to the specified neighbor or peer. The default value is false.

Weight

Specifies the peer or peer group weight, or the priority of updates the system can receive from this BGP peer. The default value is 100 and the range is 0–65535.

MaxPrefix

Configures a limit on the number of routes accepted from a neighbor. The default value is 12000 routes and the range is 0–2147483647.

A value of 0 means no limit exists.

NextHopSelf

Specifies that the next-hop attribute in an iBGP update is the address of the local router or the router that generates the iBGP update. The default is disable.

RouteReflectorClient

Specifies that this peer is a route reflector client.

Note:

This parameter only applies to VRF 0.

SoftReconfigurationIn

When enabled, the router relearns routes from the specified neighbor or group of neighbors without restarting the connection after the policy changes in the inbound direction. The default value is disable.

Enabling SoftReconfigurationIn stores all BGP routes in local memory (even non-best routes).

DebugMask

Displays the specified debug information for the BGP peer. The default value is none.

  • None disables all debug messages.

  • Event enables the display of debug event messages.

  • State enables display of debug state transition messages.

  • Update enables display of debug messages related to updates transmission and reception.

  • Error enables the display of debug error messages.

  • Trace enables the display of debug trace messages.

  • Init enables the display of debug initialization messages.

  • All enables all debug messages.

  • Packet enables the display of debug packet messages.

  • Warning enables the display of debug warning messages.

  • Filter enables the display of debug messages related to filtering.

SendCommunity

Enables or disables sending the community attribute of the update message to the specified peer. The default value is disable.

Vpnv4Address

Specifies the vpnv4 routes.

IpvpnLiteCap

Enable or disable IP VPN-lite capabilitiy on the BGP neighbor peer.

Ipv6Cap

Enable or disable the IPv6 capability on the BGP neighbor peer. The default value is disable.

SooAddress

Specifies the site-of-origin (SoO) address of the BGP peer.

SooAsNumber

Specifies the site-of-origin (SoO) Autonomous System (AS) number of the BGP peer.

SooAssignedNum

Specifies the site-of-origin (SoO) assigned number of the BGP peer.

SooType

Specifies the site-of-origin (SoO) type of the BGP peer.

RouteRefresh

Enables or disables route refresh. If enabled, a route refresh request received by a BGP speaker causes the speaker to resend all route updates in the database that are eligible for the peer that issues the request. This parameter only applies to VRF 0.

AsOverride

Note:

This field does not apply on all hardware platforms.

Specifies that the AS Override parameter can be enabled or disabled for the BGP peer. The default is disable.

AllowAsIn

Note:

This field does not apply on all hardware platforms.

Specifies the number of AS-in allowed for the BGP peer. The range is 1–10.

Ipv6RoutePolicyIn

Specifies the policy (by name) that applies to all network IPv6 routes learned from this peer.

Ipv6RoutePolicyOut

Specifies the policy (by name) that applies to all outgoing IPv6 route updates.

Ipv6MaxPrefix

Configures a limit on the number of IPv6 routes accepted from a neighbor.

A value of 0 means no limit exists.

BfdEnable

Enables Bidirectional Forwarding Detection (BFD) for this BGP peer.