Reference Guide

702 | IPv4 Routing
www.dell.com | support.dell.com
c e s
Assign a static route to the switch.
Syntax
ip route vrf {vrf instance} destination mask {ip-address | interface [ip-address]}
[
distance] [permanent] [tag tag-value]
To delete a specific static route, use the
no ip route destination mask {address |
interface [ip-address]} command.
To delete all routes matching a certain route, use the
no ip route destination mask
command.
Parameters
Defaults
Not configured.
vrf name (OPTIONAL) E-Series Only: Enter the keyword vrf followed by the VRF
Instances name to tie the static route to the VRF instance.
destination Enter the IP address in dotted decimal format of the destination device.
mask
Enter the mask in slash prefix formation (/x) of the destination device’s IP
address.
ip-address
Enter the IP address in dotted decimal format of the forwarding router.
interface
Enter the following keywords and slot/port or number information:
For a 1-Gigabit Ethernet interface, enter the keyword
GigabitEthernet
followed by the slot/port information.
For a loopback interface, enter the keyword
loopback followed by a
number from zero (0) to 16383.
For the null interface, enter the keyword
null followed by zero (0).
For a Port Channel interface, enter the keyword
port-channel followed by
a number:
C-Series and S-Series Range: 1-128
E-Series Range: 1 to 32 for EtherScale, 1 to 255 for TeraScale and 1 to 512
for ExaScale.
For a SONET interface, enter the keyword
sonet followed by the sonet
followed by the slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed
by the slot/port information.
For a VLAN, enter the keyword
vlan followed by a number from 1 to 4094.
distance
(OPTIONAL) Enter a number as the distance metric assigned to the route.
Range: 1 to 255
permanent
(OPTIONAL) Enter the keyword permanent to specify the route is not
removed, even if the interface assigned to that route goes down. The route must
be up initially to install it in the routing table.
If you disable the interface with an IP address associated with the keyword
permanent, the route disappears from the routing table.
tag tag-value (OPTIONAL) Enter the keyword tag followed by a number to assign to the
route.
Range: 1 to 4294967295