API Guide

Table Of Contents
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.
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 groups configured parameters.
A neighbor cannot become part of a peer group if it has any of the following commands 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 groups and if the neighbors configuration does not affect outgoing updates.
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.
To view the configuration, use the
show config command in CONFIGURATION ROUTER BGP mode.
When you create a peer group, it is disabled (shutdown). The following example shows the creation of a peer group (zanzibar)
(in bold). To enable a peer group, use the neighbor peer-group-name no shutdown command.
DellEMC(conf)# router bgp 45
DellEMC(conf-router_bgp)# neighbor zanzibar peer-group
DellEMC(conf-router_bgp)# neighbor zanzibar no shutdown
DellEMC(conf-router_bgp)# neighbor 10.1.1.1 remote-as 65535
DellEMC(conf-router_bgp)# neighbor 10.1.1.1 no shutdown
DellEMC(conf-router_bgp)# neighbor 10.14.8.60 remote-as 18505
DellEMC(conf-router_bgp)# neighbor 10.14.8.60 no shutdown
DellEMC(conf-router_bgp)# neighbor 2001::1 peer-group zanzibar
Following is the show config output for the above sample configuration.
DellEMC# show config
!
router bgp 45
neighbor zanzibar peer-group
neighbor zanzibar no shutdown
neighbor 10.1.1.1 remote-as 65535
neighbor 10.1.1.1 shutdown
neighbor 10.14.8.60 remote-as 18505
neighbor 10.14.8.60 no shutdown
neighbor 2001::1 peer-group zanzibar
DellEMC#
To disable a peer group, use the neighbor peer-group-name shutdown command in CONFIGURATION-ROUTER-BGP
mode. The configuration of the peer group is maintained, but it is not applied to the peer group members. When you disable a
peer group, all the peers within the peer group that are in the ESTABLISHED state move to the IDLE state.
To view the status of peer groups, use the show ip bgp peer-group command in EXEC Privilege mode, as shown in the
following example.
DellEMC>show ip bgp peer-group
Peer-group zanzibar
BGP version 4
Minimum time between advertisement runs is 5 seconds
For address family: IPv4 Unicast
BGP neighbor is zanzibar, peer-group internal,
Number of peers in this group 1
Peer-group members (* - outbound optimized):
2001::1
Border Gateway Protocol (BGP)
181