Concept Guide

Table Of Contents
The following example configuration demonstrates how to configure BGP to automatically pick IPv6 address for IPv6 prefix
advertised over an IPv4 neighbor.
Example configuration performed in R1
DellEMC# configure terminal
DellEMC(conf)# router bgp 655
DellEMC(conf-router_bgp)# neighbor 10.1.1.2 remote-as 20
DellEMC(conf-router_bgp)# neighbor 10.1.1.2 auto-local-address
DellEMC(conf-router_bgp)# neighbor 10.1.1.2 no shutdown
DellEMC(conf-router_bgp)# bgp router-id 1.1.1.1
DellEMC(conf-router_bgp)# address-family ipv6 unicast
DellEMC(conf-router_bgpv6_af)# neighbor 10.1.1.2 activate
DellECM(conf-router_bgpv6_af)# exit
Configuring the auto-local-address for a neighbor will dynamically pick the local BGP interface IPv6 address (2001::1/64) as
a the next hop for all the updates over IPv4 neighbor configured under IPv6 address family. If the auto-local-address is not
configured, the IPv4 mapped IPv6 address (10.1.1.1) as a next hop.
Following is the show running-config command output for the above configuration.
DellEMC# show running-config bgp
!
router bgp 655
bgp router-id 1.1.1.1
neighbor 10.1.1.2 remote-as 20
neighbor 10.1.1.2 auto-local-address
neighbor 10.1.1.2 no shutdown
!
address-family ipv6 unicast
neighbor 10.1.1.2 activate
exit-address-family
!
Example configuration performed in R2
DellEMC# configure terminal
DellEMC(conf)# router bgp 20
DellEMC(conf-router_bgp)# neighbor 10.1.1.1 remote-as 655
DellEMC(conf-router_bgp)# neighbor 10.1.1.1 no shutdown
DellEMC(conf-router_bgp)# address-family ipv6 unicast
DellEMC(conf-router_bgpv6_af)# neighbor 10.1.1.1 activate
DellECM(conf-router_bgpv6_af)# exit
Following is the show running-config command output for the above configuration.
DellEMC# show running-config bgp
!
router bgp 20
neighbor 10.1.1.1 remote-as 655
neighbor 10.1.1.1 no shutdown
!
address-family ipv6 unicast
neighbor 10.1.1.1 activate
exit-address-family
!
Following is the show ip bgp ipv6 unicast command output for the above configuration.
DellEMC# show ip bgp ipv6 unicast
BGP local RIB : Routes to be Added 0, Replaced 0, Withdrawn 0
BGP local router ID is 1.1.1.1
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Path source: I - internal, a - aggregate, c - confed-external, r - redistributed
n - network, D - denied, S - stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 2001::/64 2001::1 0 0 655 ?
*> 3001::/64 3001::1 0 0 655 ?
224
Border Gateway Protocol (BGP)