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)#
Step 4
Enable IPv4 routing.
switch_3(config)# ip routing
switch_3(config)# exit
switch_3#
Display the routes.
Step 5
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
44-10
Chapter 44
Configuring IP Services
OL-18084-01, Cisco MDS NX-OS Release 4.x
Need help?
Do you have a question about the AP776A - Nexus Converged Network Switch 5020 and is the answer not in the manual?
Questions and answers