
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
1-21
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring the Switch
Managing the Switch Configuration
Displaying Management Interface Configuration
To display the management interface configuration, use the
show interface mgmt 0
command.
switch#
show interface mgmt0
mgmt0 is up
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,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
full-duplex, 1000 Mb/s
Input flow-control is off, output flow-control is off
8540 packets input, 2835036 bytes
5202 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun, 0 fifo
570 packets output, 85555 bytes
0 underrun, 0 output errors, 0 collisions
0 fifo, 0 carrier errors
switch#
Shutting Down the Management Interface
To shut down the management interface (mgmt0), you use the
shutdown
command. A system prompt
requests you confirm your action before it executes the command. You can use the
force
option to bypass
this confirmation. The following example shuts down the interface without using the
force
option:
switch#
configure terminal
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#
configure terminal
switch(config)#
interface mgmt 0
switch(config-if)#
shutdown force
Managing the Switch Configuration
This section includes the following topics:
•
Displaying the Switch Configuration, page 1-21
•
Saving a Configuration, page 1-22
•
Clearing a Configuration, page 1-22
Displaying the Switch Configuration
You can view the ASCII form of the configuration file when required. To view the current configuration
tree from the EXEC prompt, enter the
show running-config
command. If the running configuration is
different from the startup configuration, enter the
show startup-config
command to view the ASCII