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
3-22
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 3 Configuring the Switch
Using Switch File Systems
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 3-22
•
Displaying the Current Directory, page 3-23
•
Listing the Files in a Directory, page 3-23
•
Creating a Directory, page 3-23
•
Deleting an Existing Directory, page 3-23
•
Moving Files, page 3-24
•
Copying Files, page 3-24
•
Deleting Files, page 3-24
•
Displaying File Contents, page 3-25
•
Saving Command Output to a File, page 3-25
•
Compressing and Uncompressing Files, page 3-25
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
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...