CLI Guide
Related
Commands
show ip interface — displays the interface routing status and configuration.
ip route
Assign a static route to the switch.
Syntax
ip route destination mask {ip-address | interface [ip-address]}
[distance]
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
destination Enter the IP address in dotted decimal format of the
destination device.
mask Enter the mask in the slash prefix format (/x) of the
destination device’s IP address.
ip-address Enter the IP address in dotted decimal format of the
forwarding router.
interface 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. The range is from 1 to 255.
Defaults Not configured.
Command Modes CONFIGURATION
Supported Modes All Modes
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.4(0.0) Supported on the FN I/O Aggregator.
Usage Information Using the following example of a static route: ip route 33.33.33.0 /24
tengigabitethernet 0/0 172.31.5.43
• The software 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. In
the example, if gig 0/0 has an ip address on subnet 2.2.2.0 and if 172.31.5.43
recursively resolves to 2.2.2.0, Dell Networking OS installs the static route.
• When the interface goes down, Dell Networking OS withdraws the route.
IPv4 Routing
713