Command Line Reference Guide

For a Loopback interface, enter the keyword loopback
followed by a number from 0 to 16383.
For a Null interface, enter the keywords null 0.
For a Port Channel interface, enter the keywords port-
channel followed by a number from 1 to 128.
For a VLAN interface, enter the keyword vlan followed by a
VLAN id 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 9.0(1.3) Introduced on the S5000.
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 tengigabitethernet 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.
ip source-route
Enable FTOS to forward IP packets with source route information in the header.
S5000
Syntax
ip source-route
To drop packets with source route information, use the no ip route-source command.
578