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
12-38
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 12 Configuring Interfaces
Management Interfaces
About Management Interfaces
Before you begin to configure the management interface manually, obtain the switch’s IPv4 address and
subnet mask, or the IPv6 address.
The management port (mgmt0) is autosensing and operates in full duplex mode at a speed of
10/100/1000 Mbps. Autosensing supports both the speed and the duplex mode. On a Supervisor-1
module, the default speed is 100 Mbps and the default duplex mode is auto. On a Supervisor-2 module,
the default speed is auto and the default duplex mode is auto.
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.
Configuring Management Interfaces
To configure the mgmt0 Ethernet interface to connect over IPv4, follow these steps:
To configure the mgmt0 Ethernet interface to connect over IPv6, follow these steps:
Command
Purpose
Step 1
switch#
config terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
interface mgmt0
switch(config-if)#
Selects the management Ethernet interface on the
switch and enters interface configuration submode.
Step 3
switch(config-if)#
ip address 10.16.1.2
255.255.255.0
Configures the IPv4 address and IPv4 subnet mask.
Step 4
switch(config-if)#
no shutdown
Enables the interface.
Step 5
switch(config-if)#
exit
switch(config)#
Returns to configuration mode.
Step 6
switch(config)#
ip default-gateway 1.1.1.4
Configures the default gateway IPv4 address.
Step 7
switch(config)#
exit
switch#
Returns to EXEC mode.
Step 8
switch#
copy running-config startup-config
(Optional) Saves your configuration changes to the
file system.
Note
If you wish to save your configuration, you
can issue this command at any time.
Command
Purpose
Step 1
switch#
config terminal
switch(config)#
Enters configuration mode.
Step 2
switch(config)#
interface mgmt0
switch(config-if)#
Selects the management Ethernet interface on the
switch and enters interface configuration submode.
Step 3
switch(config-if)#
ipv6 enable
Enables IPv6 and assigns a link-local address on
the interface.
Step 4
switch(config-if)#
ipv6 address ipv6
address 2001:0db8:800:200c::417a/64
Specifies an IPv6 unicast address and prefix length
on the interface.
Step 5
switch(config-if)#
no shutdown
Enables the interface.