Chapter 44
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
Configuring an IPv4 Address in a VSAN
To create a VSAN interface and configure an IPv4 address for that interface, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# interface vsan 10
switch(config-if)#
Step 3
switch(config-if)# ip address 10.0.0.12 255.255.255.0
Step 4
switch(config-if)# no shutdown
Verifying the VSAN Interface Configuration
Use the show interface vsan command to verify the configuration of the VSAN interface.
You can see the output for this command only if you have previously configured a VSAN interface.
Note
switch# show interface vsan 1
vsan1 is down (Administratively down)
Enabling IPv4 Routing
By default, the IPv4 routing feature is disabled in all switches.
To enable the IPv4 routing feature, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# ip routing
Step 3
switch(config)# no ip routing
Verifying the IPv4 Routing Configuration
Use the show ip routing command to verify the IPv4 routing configuration.
switch(config)# show ip routing
ip routing is enabled
OL-18084-01, Cisco MDS NX-OS Release 4.x
WWPN is 10:00:00:0c:85:90:3e:85, FCID not assigned
Internet address is 10.0.0.12/24
MTU 1500 bytes, BW 1000000 Kbit
0 packets input, 0 bytes, 0 errors, 0 multicast
0 packets output, 0 bytes, 0 errors, 0 dropped
Purpose
Enters configuration mode.
Enables IPv4 routing (disabled by default).
Disables IPv4 routing and reverts to the factory settings.
Cisco MDS 9000 Family CLI Configuration Guide
Purpose
Enters configuration mode.
Configures the interface for the
specified VSAN (10).
Configures the IPv4 address and
netmask for the selected interface.
Enables the interface.
IPFC
44-7