Chapter 4
Initial Configuration
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 .
By default, the management port (mgmt0) operates at a speed of 100 Mbps and in full duplex mode.
Configuring the speed to auto will internally map to100 Mbps, and configuring the duplex mode to auto
will internally map to full duplex. If the duplex mode is configured as auto or full, then the peer device
should not be configured as full duplex.
Before you begin to configure the management interface manually, obtain the switch's IP address and IP
Note
subnet mask. Also make sure the console cable is connected to the console port.
Obtaining Remote Management Access
In some cases, a switch interface might be administratively shut down. You can check the status of an
interface at any time by using the show interface mgmt 0 command.
To obtain remote management access, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface mgmt 0
Step 3
switch(config)# ip address 1.1.1.0
255.255.255.0
Step 4
switch(config-if)# no shutdown
Step 5
switch(config-if)# exit
Step 6
switch(config)# ip default-gateway 1.1.1.1
Using the force Option
When you try to shut down a management interface (mgmt0), a follow-up message confirms your action
before performing the operation. You can use the force option to bypass this confirmation. The following
example shuts down the interface without using the force option:
switch# config t
switch(config)# interface mgmt 0
switch(config-if)# shutdown
Shutting down this interface will drop all telnet sessions.
Do you wish to continue (y/n)? y
The following example shuts down the interface using the force option:
switch# config t
switch(config)# interface mgmt 0
switch(config-if)# shutdown force
Note
You need to explicitly configure a default gateway to connect to the switch and send IP packets or add a
route for each subnet.
OL-6973-03, Cisco MDS SAN-OS Release 2.x
Management Interface Configuration
Command
Enters configuration mode. You can also abbreviate
the command to config t.
Enters the interface configuration mode on the
specified interface (mgmt0).
You can use the management Ethernet interface on
the switch to configure the management interface.
Enters the IP address and IP subnet mask for the
interface specified in Step 2.
Enables the interface.
Returns to configuration mode.
Configures the default gateway address.
Cisco MDS 9000 Family Configuration Guide
4-23