Configure the IPv6 Default Route as a Valid BGP4+ Next Hop

By default, a device does not use a default route to resolve a BGP4+ next-hop route.

About this task

If the IPv6 route lookup for the BGP4+ next-hop does not result in a valid Interior Gateway Protocol (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 configure the device to use the default route as a valid next hop.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Access IPv6 address family configuration mode.
    device(config-bgp-router)# address-family ipv6 unicast
  4. Configure the device to use the default route as a valid next hop.
    device(config-bgp-ipv6u)# next-hop-enable-default

Example

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# address-family ipv6 unicast
device(config-bgp-ipv6u)# next-hop-enable-default