About The Mgmt0 Interface; Configuring The Management Interface; Displaying Management Interface Configuration - Cisco AJ732A - MDS 9134 Fabric Switch Configuration Manual

Cisco nexus 5000 series switch cli software configuration guide, nx-os 4.0(1a)n1 (ol-16597-01, january 2009)
Hide thumbs Also See for AJ732A - Cisco MDS 9134 Fabric Switch:
Table of Contents

Advertisement

Management Interface Configuration
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

About the mgmt0 Interface

The mgmt0 interface on Cisco NX-OS devices provides out-of-band management, which enables you to
manage the device by its IPv4 or IPv6 address. The mgmt0 interface uses 10/100/1000 Ethernet.
Note
Before you begin to configure the management interface manually, obtain the switch's IP address and
subnet mask. Also make sure that the console cable is connected to the console port.

Configuring the Management Interface

To configure the management (mgmt0) Ethernet interface to connect over IP, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface mgmt 0
Step 3
switch(config-if)# ip address
ipv4-address[/length]
switch(config-if)# ip address
ipv4-address [subnet-mask]
switch(config-if)# ipv6 address
ipv6-address[/length]
Step 4
switch(config-if)# no shutdown
Step 5
switch(config-if)# exit
Step 6
switch(config)# vrf context
management
Step 7
switch(config-vrf)# ip route
ipv4-prefix[/length]
ipv4-nexthop-address
switch(config-vrf)# ipv6 route
ipv6-prefix[/length]
ipv6-nexthop-address
Step 8
switch(config-vrf)# exit
Step 9
switch# copy running-config
startup-config
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.

Displaying Management Interface Configuration

To display the management interface configuration, use the show interface mgmt 0 command.
switch# show interface mgmt0
mgmt0 is up
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
3-20
Hardware is GigabitEthernet, address is 000d.ec8f.cb00 (bia 000d.ec8f.cb00)
Internet Address is 172.16.131.202/24
MTU 1500 bytes, BW 0 Kbit, DLY 0 usec,
Purpose
Enters configuration mode.
Selects the management Ethernet interface on the switch
and enters interface configuration submode.
Configures the IPv4 address and its subnet mask.
An alternative method that configures the IPv4 address
and its subnet mask.
Configures the IPv6 address and its subnet mask.
Enables the interface.
Returns to configuration mode.
Enters VRF context management configuration mode.
Configures the IPv4 address of the next hop.
Configures the IPv6 address of the next hop.
Returns to EXEC mode.
(Optional) Saves your configuration changes to the file
system.
Chapter 3
Configuring the Switch
OL-16597-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents