Obtaining Remote Management Access; Using The Force Option - Cisco MDS 9020 Configuration Manual

Fabric switch
Hide thumbs Also See for MDS 9020:
Table of Contents

Advertisement

Management Interface 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

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
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface mgmt 0
Step 3
switch(config)# ip address 10.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
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
You need to explicitly configure a default gateway to connect to the switch and send IP packets or add a
Note
route for each subnet.
Cisco MDS 9020 Fabric Switch Configuration Guide and Command Reference
3-14
Chapter 3
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.
Initial Configuration
OL-6988-02

Advertisement

Table of Contents
loading

Table of Contents