Reference Guide

Related
Commands
show ip interface – displays the interface routing status and configuration.
ip route
Assign a static route to the switch.
S5000
Syntax
ip route {[ destination | mask | ip-address | interface-type
slot/port | distance ]} [permanent] [tag tag-value]
To delete a specific static route, use the no ip route destination mask
{address | interface-type slot/port [ip-address]} 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 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-type
slot/port
Enter the interface type and slot/port or number information.
Valid slot numbers are 0-11. The valid port numbers for each
interface type are listed below.
For a 10-Gigabit Ethernet interface, enter the keyword
tengigabitethernet followed by slot/port numbers.
The port range is 0 to 63.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE followed by slot/port numbers. The ports are
48, 52, 56, and 60.
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
622
IPv4 Routing