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
5-26
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 5 Initial Configuration
Default Gateway Configuration
To obtain remote management access using IPv6 addressing parameters, follow these steps:
Using the force Option During Shutdown
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.
Default Gateway Configuration
The supervisor module sends IP packets with unresolved destination IPv4 addresses to the default
gateway (see
Figure 5-4
).
Command
Command
Step 1
switch#
config terminal
switch(config)#
Enters configuration mode. You can also abbreviate
the command to
config t
.
Step 2
switch(config)#
interface mgmt 0
switch(config-if)#
Enters the interface configuration mode on the
specified interface (mgmt0).
You can use the console interface on the switch to
configure the management Ethernet interface.
Step 3
switch(config-if)#
ipv6 address
2001:0DB8:800:200C::417A/64
Specifies the IPv6 address and prefix length.
switch(config-if)#
ipv6 address autoconfig
Specifies IPv6 autoconfiguration.
Step 4
switch(config-if)#
switchport speed 100
Configures the port speed in Mbps. Valid values are
10
,
100
, and
1000
(Supervisor-2 module only).
Step 5
switch(config-if)#
no shutdown
Enables the interface.
Step 6
switch(config-if)#
exit
switch(config)#
Returns to configuration mode.