
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-22
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring the Switch
Using Switch File Systems
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.
Saving a Configuration
Use the
copy running-config startup-config
command to save the new configuration into nonvolatile
storage. Once this command is entered, the running and the startup copies of the configuration are
identical.
Clearing a Configuration
Use the
write erase
command to clear a startup configuration. Once this command is executed, the
switch’s startup configuration reverts to factory defaults. The running configuration is not affected.
Caution
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.
Using Switch File Systems
This section includes the following topics:
•
Setting the Current Directory, page 1-23
•
Displaying the Current Directory, page 1-23
•
Listing the Files in a Directory, page 1-23
•
Creating a Directory, page 1-23
•
Deleting an Existing Directory, page 1-24
•
•
•
•
Displaying File Contents, page 1-25
•
Saving Command Output to a File, page 1-25
•