Configuring BGP4+ Neighbors Using Global IPv6 Addresses

BGP4+ neighbors can be configured using global IPv6 addresses.
  1. Enter the configure terminal command to access global configuration mode.
    device# configure terminal
  2. Enter the router bgp command to enable BGP routing.
    device(config)# router bgp
  3. Enter the local-as command to configure the autonomous system number (ASN) in which your device resides.
    device(config-bgp-router)# local-as 1000
  4. Enter the neighbor remote-as command, specifying an IPv6 address, to specify the ASN in which the remote neighbor resides.
    device(config-bgp-router)# neighbor 2001:db8:93e8:cc00::1 remote-as 1001
  5. Enter the address-family ipv6 unicast command to enter IPv6 address family configuration mode.
    device(config-bgp-router)# address-family ipv6 unicast
  6. Enter the neighbor activate command to enable the exchange of information with the neighbor.
    device(config-bgp-ipv6u)# neighbor 2001:db8:93e8:cc00::1 activate

The following example configures a neighbor using a global IPv6 address.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# neighbor 2001:db8:93e8:cc00::1 remote-as 1001
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 2001:db8:93e8:cc00::1 activate