Reference Guide

IPv4 Routing | 651
To delete all routes matching a certain route, use the no ip route destination mask command.
Parameters
Defaults
Not configured.
Command Modes
CONFIGURATION
Command History
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.
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 VLAN, enter the keyword
vlan followed by a number from 1 to 4094.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by the
slot/port information.
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
Version 8.3.11.1 Introduced on the Z9000.
Version 8.2.1.0 Support 4094 VLANs on E-Series ExaScale (prior limit was 2094)
Version 8.1.1.0 Introduced on E-Series ExaScale
Version 7.9.1.0 Introduced VRF on the E-Series
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.0 Introduced for E-Series