•
mask: enter a mask in slash prefix-length format (/X).
•
interface: enter an interface type then the slot/port information.
•
distance: the range is from 1 to 255. (optional)
•
permanent: keep the static route in the routing table (if you use the interface option) even if you
disable the interface with the route. (optional)
•
tag tag-value: the range is from 1 to 4294967295. (optional)
Example of the show ip route static Command
To view the configured routes, use the show ip route static command.
Dell#show ip route static
Destination
Gateway
-----------
-------
S 2.1.2.0/24
Direct, Nu 0
S 6.1.2.0/24
via 6.1.20.2, Te 5/0
S 6.1.2.2/32
via 6.1.20.2, Te 5/0
S 6.1.2.3/32
via 6.1.20.2, Te 5/0
S 6.1.2.4/32
via 6.1.20.2, Te 5/0
S 6.1.2.5/32
via 6.1.20.2, Te 5/0
S 6.1.2.6/32
via 6.1.20.2, Te 5/0
S 6.1.2.7/32
via 6.1.20.2, Te 5/0
S 6.1.2.8/32
via 6.1.20.2, Te 5/0
S 6.1.2.9/32
via 6.1.20.2, Te 5/0
S 6.1.2.10/32
via 6.1.20.2, Te 5/0
S 6.1.2.11/32
via 6.1.20.2, Te 5/0
S 6.1.2.12/32
via 6.1.20.2, Te 5/0
S 6.1.2.13/32
via 6.1.20.2, Te 5/0
S 6.1.2.14/32
via 6.1.20.2, Te 5/0
S 6.1.2.15/32
via 6.1.20.2, Te 5/0
S 6.1.2.16/32
via 6.1.20.2, Te 5/0
S 6.1.2.17/32
via 6.1.20.2, Te 5/0
S 11.1.1.0/24
Direct, Nu 0
Direct, Lo 0
--More--
The system installs a next hop that is on the directly connected subnet of current IP address on the interface
(for example, if interface gig 0/0 is on 172.31.5.0 subnet, the system installs the static route).
The system also installs a next hop that is not on the directly connected subnet but which recursively resolves
to a next hop on the interface's configured subnet. For example, if gig 0/0 has ip address on subnet 2.2.2.0
and if 172.31.5.43 recursively resolves to 2.2.2.0, the system installs the static route.
•
When the interface goes down, the system withdraws the route.
•
When the interface comes up, the system re-installs the route.
•
When the recursive resolution is "broken," the system withdraws the route.
•
When the recursive resolution is satisfied, the system re-installs the route.
Dist/Metric Last Change
----------- -----------
0/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
1/0
00:02:30
0/0
00:02:30
IPv4 Routing
550