Reference Guide

186 | Border Gateway Protocol
www.dell.com | support.dell.com
After you create a peer group, you can use any of the commands beginning with the keyword neighbor to
configure that peer group.
When you add a peer to a peer group, it inherits all the peer group’s configured parameters.
A neighbor
cannot become part of a peer group if it has any of the following commands are configured:
neighbor advertisement-interval
neighbor distribute-list out
neighbor filter-list out
neighbor next-hop-self
neighbor route-map out
neighbor route-reflector-client
neighbor send-community
A neighbor may keep its configuration after it was added to a peer group if the neighbors configuration is
more specific than the peer group’s, and the neighbors configuration does not affect outgoing updates.
Use the
show config command in the CONFIGURATION ROUTER BGP mode to view the
configuration. When you create a peer group, it is disabled (
shutdown). Figure 8-19 shows the creation of
a peer group (zanzibar).
5
neighbor ip-address peer-group
peer-group-name
CONFIG-ROUTER-BGP Add an enabled neighbor to the peer group.
6
neighbor {ip-address | peer-group
name} remote-as as-number
CONFIG-ROUTER-BGP Add a neighbor as a remote AS.
Formats:
IP Address A.B.C.D
Peer-Group Name16 characters
AS-number: 0-65535 (2-Byte) or
1-4294967295 | 0.1- 65535.65535 (4-Byte)
or 0.1-65535.65535 (Dotted format)
To add an external BGP (EBGP) neighbor, configure the as-number
parameter with a number different from the BGP as-number configured
in the
router bgp as-number command.
To add an internal BGP (IBGP neighbor, configure the as-number
parameter with the same BGP as-number configured in the
router bgp
as-number command.
Note: When you configure a new set of BGP policies for a peer group, always reset the peer group by
entering the clear ip bgp peer-group peer-group-name command in EXEC Privilege mode.
Step Command Syntax Command Mode Purpose