Concept Guide
Connections established 0; dropped 0
Last reset never
No active TCP connection
Conguring a BGP peer
To congure a BGP neighbor or peer, you must provide the IP address and the AS number of each neighbor since BGP does not discover
the neighbor or peer. Neighbors that are present with the same AS communicate using IBGP while the neighbors that are present in
dierent AS communicate using EBGP. To allow the neighbor to establish a BGP session, you have to enable the neighbor by providing
neighbor no shutdown command. To congure BGP between two peers, use the following commands.
Following are the steps to congure a BGP peer. The following example conguration demonstrates how the congure a neighbor and IPv4
multicast address family. The default is IPv4 unicast address family.
• Enter the router conguration mode and the AS number.
CONFIG mode
router bgp as-number
• Add the IP address of the neighbor for the specied autonomous system.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6–address | peer-group-name} remote-as as-number
• Enable the neighbor.
CONFIG-ROUTERBGP mode
neighbor ip-address | ipv6-address | peer-group-name no shutdown
• Specify the IPv4 address family conguration.
CONFIG-ROUTER-BGP mode
address-family ipv4 [multicast | vrf vrf-name]
multicast — Species the IPv4 multicast address family.
vrf vrf-name — Species the name of VRF instance associated with the IPv4 address-family conguration.
• Enable the neighbor to exchange prexes for IPv4 unicast address family.
CONFIG-ROUTER-BGP-AF (Address Family) mode
neighbor {ip-address | ipv6–address | peer-group-name} activate
NOTE
: Neighbors have to be activated using neighbor activate command in the respective address family. To exchange
other address prex types ( IPv4 or IPv6 multicast), the neighbors must be activated under the respective address family
conguration such as address-family ipv6 unicast(for IPv6) and address-family ipv4 multicast (for IPv4
multicast).
Example of conguring BGP Peers
DellEMC(conf)# router bgp 10
DellEMC(conf-router_bgp)# neighbor 20.20.20.1 remote-as 200
DellEMC(conf-router_bgp)# neighbor 20.20.20.1 no shutdown
DellEMC(conf-router_bgp)# address-family ipv4 multicast
DellEMC(conf-router_bgp_af)# neighbor 20.20.20.1 activate
DellEMC(conf-router_bgp_af)# exit
Following is the sample output of show ip bgp ipv4 multicast summary command.
DellEMC# show ip bgp ipv4 multicast summary
BGP router identifier 1.1.1.1, local AS number 10
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
1 neighbor(s) using 8192 bytes of memory
Border Gateway Protocol (BGP)
191