Dynamic Peers
Configuring Dynamic Peers
Removing Dynamic Peers
452
G8264CS Application Guide for ENOS 8.4
To configure dynamic peers, you must define a range of IP addresses for a group.
BGP waits to receive an open message initiated from BGP speakers within that
range. Dynamic peers are automatically created when a peer group member
accepts the incoming BGP connection. Dynamic peers are passive. When they are
not in the established state, they accept inbound connections but do not initiate
outbound connections.
You can configure up to 6 AS numbers per group. When the BGP speaker receives
an open message from a dynamic peer, the AS number from the packet must match
one of the remote AS numbers configured on the corresponding group.
When you delete a remote AS number, all dynamic peers established from that
remote AS will be deleted.
You can define attributes for the dynamic peers only at the group level. You cannot
configure attributes for any one dynamic peer. All static peer attributes, except the
BGP passive mode, can also be configured for groups.
To set the maximum number of dynamic peers for a group that can simultaneously
be in an established state, enter the following command:
RS 8264CS(config-router-bgp)# neighbor group <1‐8> listen limit <1‐96>
If you reset this limit to a lower number, and if the dynamic peers already
established for the group are higher than this new limit, then BGP deletes the last
created dynamic peer(s) until the new limit is reached.
Note: The maximum number of static and dynamic peers established
simultaneously cannot exceed the maximum peers, i.e. 96, that the switch can
support. If the maximum peers are established, no more dynamic peers will be
enabled even if the maximum dynamic peers limit you had configured for the
groups was not reached.
Following are the basic commands for configuring dynamic peers:
RS 8264CS(config)# router bgp
RS 8264CS(config-router-bgp)# neighbor group <1‐8> listen range
<IP address> <subnet mask> (Define
IP address range)
RS 8264CS(config-router-bgp)# neighbor group <1‐8> remote-as <1‐65535>
alternate-as <1‐65535> (Enter up to 5
alternate AS numbers)
RS 8264CS(config-router-bgp)# no neighbor group <1‐96> shutdown
You cannot remove dynamic peers manually. However, you can stop a dynamic
peer using the following command:
RS 8264CS(config)# router bgp stop <neighbor number>