White Papers

Table Of Contents
MBGP support for IPv6
MBGP suports IPv6 with same features and functionality as IPv4 BGP.
MBGP for IPv6 supports IPv6 address-family and Network Layer Reachability Information (NLRI) and next hop that uses IPv6
address.
Configuring IPv6 MBGP between peers
To configure IPv6 MBGP, use the following commands.
Following are the steps to configure IPv6 MBGP between two peers. The neighbors that are configured using neighbor
remote-as command exchange only the IPv4 unicast address prefixes. In order to exchange IPv6 address prefixes, you have
to activate the neighbors using neighbor activate command inside the address-family configuration.
NOTE: When configuring a BGP peer under IPv6 address-family, both IPv4 and IPv6 prefixes are sent by default. If you do
not want a peer to exchange IPv4 prefixes, manually deactivate the peer with the no neighbor activate command
under the CONFIGURATION-ROUTER-BGP mode.
Enter the router configuration mode and the AS number.
CONFIG mode
router bgp as-number
Add the IP address of the neighbor for the specified autonomous system.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6address | peer-group-name} remote-as as-number
Specify the IPv6 address family configuration.
CONFIG-ROUTER-BGP mode
address-family ipv6 [unicast | vrf vrf-name]
unicast Specifies the IPv6 unicast address family. The default address-family is IPv6 unicast.
vrf vrf-name Specifies the name of VRF instance associated with the IPv6 address-family configuration.
Enable the neighbor to exchange prefixes for IPv6 unicast address family.
CONFIG-ROUTER-BGP-AF (Address Family) mode
neighbor {ip-address | ipv6address | peer-group-name} activate
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 configuration 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-Configuring IPv4 and IPv6 neighbors
The following example configurations 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.
220
Border Gateway Protocol (BGP)