Chapter 36
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 .
Instead of the ip default-gateway command, use the ip default-network command when IP routing is
enabled on the switch. Use the show ip route command to verify if the IP address for the default gateway
is configured.
To configure default networks, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# ip default-network 190.10.1.0
switch(config)# ip route 10.0.0.0 255.0.0.0 131.108.3.4
switch(config)# ip default-network 10.0.0.0
IPFC Configuration
Once the VSAN interface is created, you can specify the IP address for that VSAN.
Configuring an IP Address in a VSAN
To configure a VSAN interface and an IP address for that interface, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# interface vsan 1
switch(config-if)#
Step 3
switch(config-if)# ip address 10.0.0.12 255.255.255.0
switch(config-if)#
Enabling IP Routing
By default, the IP routing feature is disabled in all switches.
To enable the IP routing feature, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# ip routing
switch(config)#
Step 3
switch(config)# no ip routing
switch(config)#
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Purpose
Enters configuration mode.
Enables IP routing (disabled by default).
Disables IP routing and reverts to the factory settings.
Cisco MDS 9000 Family Configuration Guide
IPFC Configuration
Purpose
Enters configuration mode.
Configures the IP address for the
default network (190.10.1.0).
Defines a static route to network
10.0.0.0 as the static default route.
Purpose
Enters configuration mode.
Configures the interface for the
specified VSAN (1).
Configures the IP address and netmask
for the selected interface.
36-5