Service Manual

ip route [vrf vrf-name] ip-address mask {ip-address | interface [ip-address]} [distance]
[permanent] [tag tag-value] [vrf vrf-name]
Use the following required and optional parameters:
vrf vrf-name : use the VRF option after the ip route keyword to congure a static route on that particular VRF, use
the VRF option after the next hop to specify which VRF the next hop belongs to. This will be used in route leaking cases.
NOTE: For more information on route leaking, see the Route Leaking Between VRFs section.
ip-address: enter an address in dotted decimal format (A.B.C.D).
mask: enter a mask in slash prex-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 congured routes, use the show ip route static command.
Dell#show ip route static
Destination Gateway Dist/Metric Last Change
----------- ------- ----------- -----------
S 2.1.2.0/24 Direct, Nu 0 0/0 00:02:30
S 6.1.2.0/24 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.2/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.3/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.4/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.5/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.6/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.7/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.8/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.9/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.10/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.11/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.12/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.13/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.14/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.15/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.16/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 6.1.2.17/32 via 6.1.20.2, Gi 5/1 1/0 00:02:30
S 11.1.1.0/24 Direct, Nu 0 0/0 00:02:30
Direct, Lo 0
--More--
Dell#show ip route static
Destination Gateway Dist/Metric Last Change
----------- ------- ----------- -----------
S 2.1.2.0/24 Direct, Nu 0 0/0 00:02:30
S 6.1.2.0/24 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.2/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.3/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.4/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.5/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.6/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.7/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.8/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.9/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.10/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.11/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.12/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.13/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
S 6.1.2.14/32 via 6.1.20.2, Te 5/1/1 1/0 00:02:30
338
IPv4 Routing