Routes can be explicitly specified for advertisement by BGP.
The routes imported into BGP4+ must first exist in the IPv6 unicast route table.
-
Enter the
configure terminal command to access global configuration mode.
device# configure terminal
-
Enter the
router bgp command to enable BGP routing.
device(config)# router bgp
-
Enter the
neighbor
ipv6-address
remote-as command to specify the ASN in which the remote neighbor resides.
device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001
-
Enter the
address-family
command and specify the
ipv6 and
unicast keywords to enter IPv6 address family configuration mode.
device(config-bgp-router)# address-family ipv6 unicast
-
Enter the
network command and specify a
network/mask to import the specified prefix into the BGP4+ database.
device(config-bgp-ipv6u)# network 2001:db8::/32
The following example imports the 2001:db8::/32 prefix in to the BGP4+ database for advertising.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor fe80:4398:ab30:45de::1 remote-as 1001
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# network 2001:db8::/32