Concept Guide
Conguring IPv6 MBGP between peers
To congure IPv6 MBGP, use the following commands.
Following are the steps to congure IPv6 MBGP between two peers. The neighbors that are congured using neighbor remote-as
command exchange only the IPv4 unicast address prexes. In order to exchange IPv6 address prexes, you have to activate the neighbors
using neighbor activate command inside the address-family conguration.
• 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
• Specify the IPv6 address family conguration.
CONFIG-ROUTER-BGP mode
address-family ipv6 [unicast | vrf vrf-name]
unicast — Species the IPv6 unicast address family. The default address-family is IPv6 unicast.
vrf vrf-name — Species the name of VRF instance associated with the IPv6 address-family conguration.
• Enable the neighbor to exchange prexes for IPv6 unicast address family.
CONFIG-ROUTER-BGP-AF (Address Family) mode
neighbor {ip-address | ipv6–address | peer-group-name} activate
Example of conguring BGP Peers
DellEMC(conf)# router bgp 10
DellEMC(conf-router_bgp)# neighbor 2001::1 remote-as 200
DellEMC(conf-router_bgp)# neighbor 2001::1 no shutdown
DellEMC(conf-router_bgp)# address-family ipv6 unicast
DellEMC(conf-router_bgpv6_af)#neighbor 2001::1 activate
DellEMC(conf-router_bgpv6_af)#exit
Following is the output of show ip bgp ipv6 unicast summary command for the above conguration example.
DellEMC#show ip bgp ipv6 unicast 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
2001::1 200 0 0 0 0 0 00:00:00 0
DellEMC#
Example-Conguring IPv4 and IPv6 neighbors
The following example congurations show how to enable BGP and set up some peer under IPv4 and IPv6 address families.
To support your own IP addresses, interfaces, names, and so on, you can copy and paste from these examples to your CLI. Be sure that you
make the necessary changes.
Example-Conguring IPv4 and IPv6 neighbors
Example of enabling BGP and address family conguration in router (R1)
238
Border Gateway Protocol (BGP)