Next-hop resolution of BGP unlabeled IPv4 unicast routes to tunnels

To enable the next-hop resolution of unlabeled IPv4 routes using tunnels in the tunnel table of the router, it is necessary to add family ipv4 under the config>router>bgp>next-hop-resolution>shortcut-tunnel context. The family ipv4 context, provides commands to specify the resolution mode (any, disabled or filter) and set of tunnel types that are eligible for use when filter mode (resolution filter) is selected.

If the resolution mode is set to disabled, the next hops of unlabeled IPv4 routes can only be resolved by route table lookup.

If there are multiple tunnels in the tunnel table that are allowed by resolution any or resolution filter mode and that can resolve the BGP next-hop, the selection of the resolving tunnel is determined by factors such as route color, admin-tag-policy, tunnel-table preference, and LDP FEC prefix length.

If disallow-igp is enabled and no resolving tunnel is found in the tunnel table, no attempt is made to resolve the IPv4 BGP route using route table lookup.

The available tunneling options for IPv4 shortcuts are as follows: