Service Manual

To delete a specific static route, use the no ip route destination mask 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 IP address.
ip-address Enter the IP address of the forwarding router in dotted decimal format.
interface Enter the keyword interface then the slot/port number.
For a Loopback interface, enter the keyword loopback then a number from zero
(0) to 16383.
For the null interface, enter the keyword null then zero (0).
For a Port Channel interface, enter the keywords port-channel then a number.
The range is from 1 to 128.
For a 10-Gigabit Ethernet interface, enter the keyword TenGigabitEthernet
then the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword fortyGigE then the slot/
port information.
For a VLAN, enter the keyword vlan then a number from 1 to 4094.
distance (OPTIONAL) Enter the value of the distance metric assigned to the route. The range is
from 1 to 255.
permanent (OPTIONAL) Enter the keyword permanent to specify that the route must not be
removed even if the interface assigned to that route goes down. The route must be
currently active to be installed in the routing table. If you disable the interface, the route
is removed from the routing table.
tag tag-value (OPTIONAL) Enter the keyword tag then a number to assign to the route. The range is
from 1 to 4294967295.
Defaults Not configured.
Command Modes CONFIGURATION
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.3.16.1 Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information Using the following example of a static route: ip route 33.33.33.0 /24 tengigabitethernet 0/1 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 te 0/1 has an 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 recursive resolution is “broken,” the system withdraws the route.
When recursive resolution is satisfied, the system re-installs the route.
Related Commands show ip route — views the switch routing table.
IPv4 Routing 579