Reference Guide
ip route
Assign a static route to the switch.
S4820T
Syntax
ip route {destination mask {ip-address | interface [slot/port] 
| [tunnel tunnel-id] [distance] | [permanent] | tag tag-value}}
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 
slot/port
Enter the keyword interface then the slot/port number.
tunnel 
tunnel-id
Enter the keyword tunnel then the tunnel ID.
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.
bfd Enter the keyword bfd to use bidirectional forwarding detection.
Defaults Not configured.
Command Modes CONFIGURATION
Command History
This guide is platform-specific. For command information about other platforms, refer to the 
relevant 
FTOS Command Line Reference Guide
.
The following is a list of the FTOS version history for this command.
Version 9.2.(0.0) Added support for tunnel interface type.
Version 8.3.19.0 Introduced on the S4820T.
Version 8.3.11.1 Introduced on the Z9000.
Version 8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
672










