Specifications

AOS-W Commands 657
Chapter 29
(switch) #debug aaa all
(switch) #
delete
Removes the specified file name from flash. The file must exist in flash and be
correctly specified before the delete command can remove it.
Syntax
delete <filename>
where <filename> is the name of the file in flash that is to be erased.
Example
The following example removes the file named test from flash.
(switch) #delete test
dir
Displays a listing of all the files in flash. This command is the same as the DOS
dir command (similar to the Unix ls command).
Example
The following example lists all the files in the root directory of flash.
(switch) #dir
-rw-r--r-- 1 root root 50 Dec 3 18:55 db_dump.sql
-rw-r--r-- 1 root root 18383 Dec 13 09:42 default.cfg
-rw-r--r-- 1 root root 252928 Dec 13 10:49 logs.tar
-rw-r--r-- 1 root root 294896 Dec 1 14:47 rfplan.js
------xr-- 1 root root 25431 Nov 17 17:33 run2.0.8
-rw-r--r-- 1 root root 27515 Nov 18 18:11 run2.2.4
-rw-r--r-- 1 root root 28221 Nov 16 16:00 runconfig2.2.3
-rw------- 1 root root 136 Nov 17 18:04 webtrace
(switch) #
halt
Gracefully stops all processes on the switch. Uses should halt the switch
before rebooting or shutting down to avoid interrupting processes underway.