Using Switch File Systems
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
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.
The write erase command erases the entire startup configuration with the exception of any
Caution
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
The cd command changes the current directory level to a specified directory level. The CLI defaults to
the volatile: file system. This command expects a directory name input.
Any file saved in the volatile: file system is erased when the switch reboots.
The syntax for this command is cd directory name.
This command exchanges the current directory to the root directory on the bootflash: file system:
switch# cd bootflash:
This example changes the current directory to a mystorage directory that resides in the current directory:
switch# cd mystorage
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
3-22
Setting the Current Directory, page 3-22
Chapter 3
Configuring the Switch
OL-16597-01