Cisco Nexus 5000 Series Switch CLI Software Configuration Guide, NX-OS 4.0(1a)N1 (OL-16597-01, January 2009)

Send feedback to nx5000-docfeedback@cisco.com
3-21
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 3 Configuring the Switch
Managing the Switch Configuration
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 3-21
Saving a Configuration, page 3-22
Clearing a Configuration, page 3-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
version of the current startup configuration that was used to boot the switch if a copy running-config
startup-config command was not entered after the reboot. Use the show startup-config command to
view the contents of the current startup configuration.
You can also gather specific information on the entire switch configuration by entering the relevant show
commands. Configurations are displayed based on a specified feature, interface, module, or VSAN.
Available show commands for each feature are briefly described in this section and listed at the end of
each chapter.