2-76 Command Line Interface Commands Reference
GMT +1:00 Central Europe Time
GMT +11:00 Russia Zone 10
GMT +2:00 Eastern Europe Time
GMT +12:00 Russia Zone 11
GMT +3:00 Moscow time (MSK)
ip route {
no ip route {
show ip route [{ static
The ip route and no ip route commands allow you to add, change, or delete static routes. The show ip route static form of the show ip route command displays the configured static routes (including invalid or disabled ones), while the other forms of the show ip route command display the router's IP routing table (including any installed (i.e., valid and enabled) static routes).
The destination network may be specified as an IP address and mask in either prefix or
The keywords high and low control the priority of the static route relative to an identical route learned via RIP. A static route with high priority (the default) takes precendence over an identical route learned via RIP, while an identical route learned via RIP takes precedence over a static route with low priority.
The keyword advertise controls whether or not the router will advertise (redistribute) the static route via RIP. The keyword advertise may be followed by a RIP metric (distance) between 1 (the default) and 15 inclusive.
If the show ip route command includes an optional IP address or IP address and mask, the route, if any, in the IP routing table that pertains to the specified destination network, subnetwork, or host address is displayed.
Examples:
ip route 192.168.2.0/24 192.168.1.123 low advertise
no ip route 192.168.2.0 255.255.255.0 192.168.1.123
show ip route
show ip route static
Note: Beginning with Firmware Version 8.2, the ip route commands will no longer show or set static routes that are default gateways. They will only operate on direct routes (IP address and mask are