Managing flash files

The Extreme device provides a set of tools for removing, renaming, and displaying files you create in the device flash memory. You can use the display commands with any file, including the system configuration files. The rename and delete commands only apply to copies of configuration files you create in the flash memory. You cannot rename or delete any of the system configuration files.

Listing the contents of the flash memory

To list the contents of the flash memory, enter the dir command in privileged EXEC mode.

device# dir
total 572
drwxr-xr-x 2  251 1011   4096 Jun  5 07:08 .
drwxr-xr-x 3  251 1011   4096 Mar 11 00:00 ..
-rw-r--r-- 1 root sys     410 Jun  3 00:56 defaultconfig.standalone
-rw-r--r-- 1 root sys     695 Jun  3 00:56 defaultconfig.cluster
-rw-r--r-- 1 root root 185650 Jun  5 09:38 startup-config

Deleting a file from the flash memory

To delete a file from the flash memory, enter the delete command with the file name in privileged EXEC mode.

device# delete myconfig
Note

Note

You cannot delete a system configuration file in flash memory.

Renaming a flash memory file

To rename a file in the flash memory, enter the rename command with the source and destination file names in privileged EXEC mode.

device# rename myconfig myconfig_20101010
Note

Note

You cannot rename a system configuration file in flash memory.