Configure a BGP4+ Neighbor with a Global IPv6 Address

You can configure a BGP4+ neighbor with a global IPv6 address.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Specify the autonomous system in which your device resides.
    device(config-bgp-router)# local-as 1000
  4. Specify the autonomous system in which the remote neighbor resides.
    device(config-bgp-router)# neighbor 2001:db8:93e8:cc00::1 remote-as 1001
    This example specifies the neighbor command, the neighbor address of 2001:db8:93e8:cc00::1, the remote-as keyword, and autonomous system 1001.
  5. Access IPv6 address family configuration mode.
    device(config-bgp-router)# address-family ipv6 unicast
  6. Enable the exchange of information with the neighbor.
    device(config-bgp-ipv6u)# neighbor 2001:db8:93e8:cc00::1 activate
    This example specifies the neighbor command, the neighbor address, and the activate keyword.

Example

The following example summarizes the commands in this procedure.

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