Configuring Management Interfaces; Displaying Management Interface Configuration - Cisco MDS 9000 Series Configuration Manual

Nx-os interfaces multilayer switches
Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

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

Configuring Management Interfaces

To configure the mgmt0 Ethernet interface to connect over IPv4, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface mgmt0
switch(config-if)#
Step 3
switch(config-if)# ip address 10.16.1.2
255.255.255.0
Step 4
switch(config-if)# no shutdown
Step 5
switch(config-if)# exit
switch(config)#
Step 6
switch(config)# ip default-gateway 1.1.1.4
Step 7
switch(config)# exit
switch#
Step 8
switch# copy running-config startup-config
To configure the mgmt0 Ethernet interface to connect over IPv6, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface mgmt0
switch(config-if)#
Step 3
switch(config-if)# ipv6 enable
Step 4
switch(config-if)# ipv6 address ipv6
address 2001:0db8:800:200c::417a/64
Step 5
switch(config-if)# no shutdown
Step 6
switch(config-if)# end
switch#
Step 7
switch# copy running-config startup-config

Displaying Management Interface Configuration

To display the management interface configuration, use the show interface mgmt 0 command.
switch# show interface mgmt 0
mgmt0 is up
Cisco MDS 9000 Family NX-OS Interfaces Configuration Guide
2-48
Hardware is FastEthernet
Chapter 2
Purpose
Enters configuration mode.
Selects the management Ethernet interface on the
switch and enters interface configuration submode.
Configures the IPv4 address and IPv4 subnet mask.
Enables the interface.
Returns to configuration mode.
Configures the default gateway IPv4 address.
Returns to EXEC mode.
(Optional) Saves your configuration changes to the
file system.
If you wish to save your configuration, you
Note
can issue this command at any time.
Purpose
Enters configuration mode.
Selects the management Ethernet interface on the
switch and enters interface configuration submode.
Enables IPv6 and assigns a link-local address on
the interface.
Specifies an IPv6 unicast address and prefix length
on the interface.
Enables the interface.
Returns to EXEC mode.
(Optional) Saves your configuration changes to the
file system.
If you wish to save your configuration, you
Note
can issue this command at any time.
OL-19445-02, Cisco MDS NX-OS Release 4.2(x)
Configuring Interfaces

Advertisement

Table of Contents
loading

Table of Contents