Use the Default BGP4 Route as a Valid Next Hop

You can configure a device to use the default IPv4 route as a valid next hop for a BGP4 route. This configuration is helpful in certain cases, such as when a device is acting as an edge device.

About this task

By default, a device does not use a default route to resolve a BGP4 next-hop route. If the IPv4 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 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 address-family IPv4 unicast configuration mode.
    device(config-bgp-router)# address-family ipv4 unicast
  4. Configure the device to use the default route as a valid next hop.
    device(config-bgp-ipv4u)# next-hop-enable-default