Configuring BGP4+ Neighbors Using Global IPv6 Addresses
BGP4+ neighbors can be configured using global IPv6 addresses.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router bgpcommand to enable BGP routing. - Enter the
local-ascommand to configure the autonomous system number (ASN) in which your device resides. - Enter the
neighbor remote-ascommand, specifying an IPv6 address, to specify the ASN in which the remote neighbor resides. - Enter the
address-family ipv6 unicastcommand to enter IPv6 address family configuration mode. - Enter the
neighbor activatecommand to enable the exchange of information with the neighbor.
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