Chapter 3 Initial Configuration

Management Interface Configuration

Se 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 ck - d o c @ c i s c o . c o m

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, perform this task:

 

Command

Command

Step 1

 

 

switch# config terminal

Enters configuration mode. You can also abbreviate

 

switch(config)#

the command to config t.

Step 2

 

 

switch(config)# interface mgmt 0

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.

Step 3

 

 

switch(config)# ip address 10.1.1.0

Enters the IP address and IP subnet mask for the

 

255.255.255.0

interface specified in Step 2.

Step 4

 

 

switch(config-if)# no shutdown

Enables the interface.

Step 5

 

 

switch(config-if)# exit

Returns to configuration mode.

Step 6

 

 

switch(config)# ip default-gateway

Configures the default gateway address.

 

10.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:

Caution Do not shut down the mgmt0 port unless you have direct console access. If the management interface is shutdown, a console connection is the only way to regain access to the switch.

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.

Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference

3-14

OL-6988-02

 

 

Page 14
Image 14
Cisco Systems MDS 9020 manual Obtaining Remote Management Access, Using the force Option