Ip Route - Cisco MDS 9000 series Command Reference Manual

Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 11
I Commands
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m

ip route

To configure a static route, use the ip route command in configuration mode.
Syntax Description
ip-address
subnet-mask
nexthop_ip-address
interface
gigabitethernet slot /port
mgmt 0
port-channel channel-id
vsan vsan-id
distance distance-number
Defaults
None.
Command Modes
Configuration mode.
Command History
Release
1.0(2)
Usage Guidelines
None.
Examples
The following examples shows how to configure a static route.
switch# config terminal
switch(config)# IP route 10.0.0.0 255.0.0.0 20.20.20.10 distance 10 interface vsan 1
Related Commands
Command
show ip route
OL-8413-07, Cisco MDS SAN-OS Release 3.x
ip route ip-address subnet-mask [nexthop_ip-address] [interface {gigabitethernet slot /port |
mgmt 0 | port-channel channel-id | vsan vsan-id} | distance distance-number]
no ip route ip-address subnet-mask [nexthop_ip-address] [interface {gigabitethernet slot /port |
mgmt 0 | port-channel channel-id | vsan vsan-id} | distance distance-number]
Modification
This command was introduced.
Description
Displays the IP address routes configured in the system.
Specifies the IP address for the route.
Specifies the subnet mask for the route.
Specifies the IP address of the next hop switch.
Configures the interface associated with the route.
Specifies a Gigabit Ethernet interface at a port and slot.
Specifies the managment interface (mgmt 0).
Specifies a PortChannel interface. The range is 1 to 128.
Specifies a VSAN ID. The range is 1 to 4093.
Specifies the distance metric for this route. It can be from 0 to 32766.
Cisco MDS 9000 Family Command Reference
ip route
11-53

Advertisement

Table of Contents
loading

Table of Contents