A BGP device can be configured to advertise the default IPv6 route to a specific neighbor.
-
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
local-as command to configure the autonomous system number (ASN) in which your device resides.
device(config-bgp-router)# local-as 1000
-
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
neighbor default-originate command and specify an IPv6 address to enable the BGP4+ device to advertise the default IPv6 route to a specific neighbor.
device(config-bgp-ipv6u)# neighbor 2001:db8:93e8:cc00::1 default-originate
The following example enables a BGP4+ device to advertise the default IPv6 route to a specific neighbor.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 1000
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 2001:db8:93e8:cc00::1 default-originate