About Ipv4 Static Routes; Configuring Ipv4 Static Routes; Verifying Ipv4 Static Route Information - HP Cisco MDS 9020 - Fabric Switch Configuration Manual

Cisco mds 9000 family cli configuration guide, release 3.x (ol-16184-01, april 2008)
Hide thumbs Also See for Cisco MDS 9020 - Fabric Switch:
Table of Contents

Advertisement

Chapter 43
Configuring IP Services
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
For information about IPv6 static routing, see the
Note
section on page
This section includes the following topics:

About IPv4 Static Routes

Static routing is a mechanism to configure IPv4 routes on the switch. You can configure more than one
static route.
If a VSAN has multiple exit points, configure static routes to direct traffic to the appropriate gateway
switch. IPv4 routing is disabled by default on any gateway switch between the out-of-band management
interface and the default VSAN, or between directly connected VSANs.

Configuring IPv4 Static Routes

To configure an IPv4 static route, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# ip route <network IP
address> <netmask> <next hop IPv4 address>
distance <number> interface <vsan number>
For example:
switch(config)# ip route 10.0.0.0 255.0.0.0
20.20.20.10 distance 10 interface vsan 1
switch(config)#

Verifying IPv4 Static Route Information

Use the show ip route command to verifying the IPv4 static route configuration.
switch# show ip route configured
Destination
Use the show ip route command to verifying the active and connected IPv4 static route.
switch# show ip route
Codes: C - connected, S - static
OL-16184-01, Cisco MDS SAN-OS Release 3.x
46-1.
About IPv4 Static Routes, page 43-11
Configuring IPv4 Static Routes, page 43-11
Verifying IPv4 Static Route Information, page 43-11
Displaying and Clearing ARPs, page 43-12
Gateway
default
172.22.95.1
10.1.1.0
0.0.0.0
172.22.95.0
0.0.0.0
"Configuring IPv6 for Gigabit Ethernet Interfaces"
Purpose
Enters configuration mode.
Configures the static route for the specified IPv4
address, subnet mask, next hop, distance, and
interface.
Mask Metric
0.0.0.0
0
255.255.255.0
0
255.255.255.0
0
Cisco MDS 9000 Family CLI Configuration Guide
IPv4 Static Routes
Interface
mgmt0
vsan1
mgmt0
43-11

Advertisement

Table of Contents
loading

Table of Contents