Ipv4 Static Routes - 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

IPv4 Static Routes

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
Disable the mgmt 0 interface.
Step 1
Configure this switch using the console connection.
Note
switch_3# config t
switch_3(config)# interface mgmt 0
switch_3(config-if)# no shutdown
switch_3(config-if)# exit
switch_3(config)#
switch_3# config t
switch_3(config)# interface vsan 1
switch_3(config-if)#
Configure the IP address and subnet mask.
Step 2
switch_3(config-if)# ip address 10.1.1.3 255.0.0.0
Enable the VSAN interface and exit interface configuration submode.
Step 3
switch_3(config-if)# no shutdown
switch_3(config-if)# exit
switch_3(config)#
Enable IPv4 routing.
Step 4
switch_3(config)# ip routing
switch_3(config)# exit
switch_3#
Step 5
Display the routes.
switch_3# show ip route
Codes: C - connected, S - static
C 10.0.0.0./8 is directly connected, vsan1
Verify the connectivity to Switch_1.
Step 6
switch_3# ping 10.1.1.1
PING 10.1.1.1 (10.1.1.1) 56(84) bytes of data.
64 bytes from 10.1.1.1: icmp_seq=1 ttl=64 time=1.19 ms
64 bytes from 10.1.1.1: icmp_seq=2 ttl=64 time=0.510 ms
64 bytes from 10.1.1.1: icmp_seq=3 ttl=64 time=0.653 ms
--- 10.1.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2008 ms
rtt min/avg/max/mdev = 0.510/0.787/1.199/0.297 ms
IPv4 Static Routes
If your network configuration does not need an external router, you can configure IPv4 static routing on
your MDS switch.
Cisco MDS 9000 Family CLI Configuration Guide
43-10
Chapter 43
Configuring IP Services
OL-16184-01, Cisco MDS SAN-OS Release 3.x

Advertisement

Table of Contents
loading

Table of Contents