The following example enables a BGP4+ device to advertise the default IPv6 route to a specic 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
Using the IPv6 default route as a valid next hop for a BGP4+ route
In certain cases, such as when a device is acting as an edge device, it can be congured to use the default route as a valid next hop.
By default, a device does not use a default route to resolve a BGP4+ next-hop route. If the IPv6 route lookup for the BGP4+ next-hop
does not result in a valid IGP route (including static or direct routes), the BGP4+ next-hop is considered to be unreachable and the
BGP4+ route is not used. You can
congure the device to use the default route as a valid next hop.
1. Enter the congure terminal command to access global conguration mode.
device# configure terminal
2. Enter the router bgp command to enable BGP routing.
device(config)# router bgp
3. Enter the address-family command and specify the ipv6 and unicast keywords to enter IPv6 address family
conguration
mode.
device(config-bgp-router)# address-family ipv6 unicast
4. Enter the next-hop-enable-default command to congure the device to use the default route as a valid next hop.
device(config-bgp-ipv6u)# next-hop-enable-default
The following example congures a BGP4+ device to use the default route as a valid next hop.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# next-hop-enable-default
Enabling next-hop recursion
Next hop recursion can be enabled so that a device can
nd the IGP route to the next hop gateway for a BGP4+ route.
1. Enter the congure terminal command to access global conguration mode.
device# configure terminal
2. Enter the router bgp command to enable BGP routing.
device(config)# router bgp
3. Enter the address-family command and specify the ipv6 and unicast keywords to enter IPv6 address family conguration
mode.
device(config-bgp-router)# address-family ipv6 unicast
Conguring BGP4+
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04 489