• 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. The range is 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.
tag
tag-value
(OPTIONAL) Enter the keyword tag followed by a number to assign
to the route. The range is 1 to 4294967295.
Defaults Not configured.
Command Modes CONFIGURATION
Command History
Version 8.3.11.1 Introduced on the Z9000.
Version 8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
Version 8.3.7.0 Introduced on the S4810.
Version 8.2.1.0 Added support for 4094 VLANs on the E-Series ExaScale (the prior
limit was 2094).
Version 8.1.1.0 Introduced on the E-Series ExaScale.
Version 7.9.1.0 Introduced VRF on the E-Series.
Version 7.6.1.0 Introduced on the S-Series.
Version 7.5.1.0 Introduced on the C-Series.
pre-Version
6.1.1.0
Introduced on the E-Series.
Usage
Information
Using the following example of a static route: ip route 33.33.33.0 /24 gigabitethernet 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, FTOS installs the static route.
• When the interface goes down, FTOS withdraws the route.
• When the interface comes up, FTOS re-installs the route.
• When recursive resolution is “broken,” FTOS withdraws the route.
• When recursive resolution is satisfied, FTOS re-installs the route.
Related
Commands
show ip route – views the switch routing table.
795