EasyManua.ls Logo

Cisco mds 9124 - fabric switch

Cisco mds 9124 - fabric switch
1550 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send documentation comments to mdsfeedback-doc@cisco.com
11-56
Cisco MDS 9000 Family Command Reference
OL-16217-01, Cisco MDS SAN-OS Release 3.x
Chapter 11 I Commands
ip route
ip route
To configure a static route, use the ip route command in configuration mode.
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]
Syntax Description
Defaults None.
Command Modes Configuration mode.
Command History
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
ip-address Specifies the IP address for the route.
subnet-mask Specifies the subnet mask for the route.
nexthop_ip-address Specifies the IP address of the next hop switch.
interface Configures the interface associated with the route.
gigabitethernet slot /port Specifies a Gigabit Ethernet interface at a port and slot.
mgmt 0 Specifies the managment interface (mgmt 0).
port-channel channel-id Specifies a PortChannel interface. The range is 1 to 128.
vsan vsan-id Specifies a VSAN ID. The range is 1 to 4093.
distance distance-number Specifies the distance metric for this route. It can be from 0 to 32766.
Release Modification
1.0(2) This command was introduced.
Command Description
show ip route Displays the IP address routes configured in the system.

Table of Contents

Related product manuals