Users Guide
Conguring a BGP peer
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 such as IPv4 multicast and IPv6 unicast.
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
Neighbor AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/Pfx
20.20.20.1 200 0 0 0 0 0 00:00:00 0
DellEMC#
202
Border Gateway Protocol (BGP)










