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
1-19
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 1 CLI Overview
Navigating Through CLI Commands
Note
The
show running interface
command is different from the
show interface
command.
Example 1-9
Displays the Configuration for all Interfaces in a 16-Port Module
switch#
show running interface fc2/10 - 12
interface fc2/10
switchport mode E
no shutdown
interface fc2/11
switchport mode E
no shutdown
interface fc2/12
switchport mode FL
no shutdown
Example 1-10
Displays the Configuration Per VSAN
switch#
show runnning vsan 1
Building Configuration ...
zone name m vsan 1
member pwwn 21:00:00:20:37:60:42:5c
member pwwn 21:00:00:20:37:4b:00:a2
zoneset name m vsan 1
member m
zoneset activate name m vsan 1
Saving a Configuration
To save the configuration, enter the
copy running-config startup-config
command from the EXEC
mode prompt to save the new configuration into nonvolatile storage. Once this command is issued, the
running and the startup copies of the configuration are identical.
Refer to the
Cisco MDS 9000 Family CLI Configuration Guide
for further information.
Clearing a Configuration
To clear a startup configuration, enter the
write erase
command from the EXEC mode prompt. Once this
command is issued, the switch’s startup configuration reverts to factory defaults. The running
configuration is not affected. The
write erase
command erases the entire startup configuration with the
exception of any configuration that affects the loader functionality.
The
write erase boot
command only erases the configuration that affects the loader functionality. The
loader functionality configuration includes the boot variables and the mgmt0 IP configuration
information (IP address, netmask and default gateway).
switch#
write erase boot
This command will erase the boot variables and the ip configuration of interface mgmt 0