Resolving the Next Hop Through a Protocol
You can use routes from a specific protocol to resolve a configured static route.
Note: Connected routes are always used to resolve static routes.
- Enter global configuration mode.
- Enable resolution through the desired protocol.
The following protocol options are available:
This example resolves static routes through BGP. Both iBGP and eBGP routes are used to resolve the routes.
device(config)# ip route next-hop bgp
This example enables route resolution through OSPF.
device(config)# ip route next-hop ospf
This example resolves static routes through RIP.
device(config)# ip route next-hop rip