Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Establishing an IP Static Route and Associating it with a Configured RTR Operation

    You can establish a static route and associate it with a configured RTR operation using the ip route command with the verify rtr keyword.

    The verify rtr keyword instructs the router to install the static route in the routing table only if the next hop to the specified destination address is resolved and if the specified RTR operation is currently reachable. When you use the verify rtr keyword, you must also specify the number of the associated RTR operation.

    Optionally, you can include the last-resort keyword when you use the verify rtr keyword to instruct the router to install the static route in the routing table even if the specified RTR operation is currently unreachable, provided that no other static route to the same network prefix is available.

    To establish a static route and associate it with a configured RTR operation:

    • Issue the ip route command with the verify rtr keyword in Global Configuration mode.
      host1(config)#ip route 10.1.1.5 255.255.255.0 10.1.1.5 fastEthernet 1/0 verify rtr 5 last-resort

      Use the no version to remove a static route from the routing table.

    Published: 2014-08-13