Ip Route - Cisco MDS 9124 - Fabric Switch Reference

Cisco mds 9000 family command reference - cisco mds san-os release 3.0(1) through 3.3(1a) (ol-16217-01, april 2008)
Hide thumbs Also See for Cisco MDS 9124 - Fabric Switch:
Table of Contents

Advertisement

ip route

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
Cisco MDS 9000 Family Command Reference
11-56
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.
Chapter 11
OL-16217-01, Cisco MDS SAN-OS Release 3.x
I Commands

Advertisement

Table of Contents
loading

Table of Contents