Reference Guide

Version Description
8.1.1.0 Introduced on the E-Series ExaScale.
7.6.1.0 Introduced on the S-Series.
7.5.1.0 Introduced on the C-Series.
6.1.1.0 Introduced on the E-Series.
Related
Commands
show ip interface — displays the interface routing status and configuration.
ip route
Assign a static route to the switch.
C9000 Series
Syntax
ip route {destination mask {ip-address | interface [slot/port]
| [tunnel tunnel-id] [distance] | [permanent] | tag tag-value}}
[vrf vrf-name ]
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 interface Enter one of the following keywords and slot/port or
number information:
For a null interface, enter the keyword null then the
slot/port information. The Null interface number is 0.
For a Management Ethernet interface, enter the keyword
managementethernet then the slot/port information.
For a Loopback interface, enter the keyword loopback
then the slot/port information. The range is from 0 to
16383.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
IPv4 Routing
1121