Syntax
ip route <networkaddr> <subnetmask> [ <nexthopip>
no ip route <networkaddr> <subnetmask> [ { <nexthopip>
<ipaddr> - A valid IP address . <subnetmask> - A valid subnet mask. <nexthopip> - IP address of the next hop router.
no - delete all next hops to a destination static route. If the optional <nextHopRtr> parameter is designated, the next hop is deleted and if the optional precedence value is designated, the precedence value of the static route is reset to its default value 1.
Default Setting
None
Command Mode
Global Config
6.2.2.5ip route default-next-hop
This command configures the default route.
Syntax
ip route default-next-hop <nexthopip> [1-255]
<nexthopip> - IP address of the next hop router.
Default Setting
None
Command Mode
Global Config
6.2.2.6ip route precedence
This command sets the default precedence for static routes. Lower route preference values are preferred when determining the best route. The "ip route" and "ip
314