next-hop-enable-default

Configures the device to use the default route as the next hop.
Syntax
next-hop-enable-default
no next-hop-enable-default
Modes

BGP configuration mode

BGP address-family IPv6 unicast configuration mode

Usage Guidelines

When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.

Examples

The following example configures the device to use the default route as the next hop for the IPv4 unicast address family.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# next-hop-enable-default

The following example configures the device to use the default route as the next hop for the IPv6 unicast address family.

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