Wireless Access Point
The Command Line Interface 461
file
The file command [MyAP(config-file)#] is used to manage files.
Command Description
active-image Validate and commit a new AP software image.
backup-image Validate and commit a new backup software image.
cat List file contents.
check-image Validate a new AP software image.
chkdsk Check flash file system.
copy
cp
Copy a file to another file.
FORMAT:
file copy [sourcefile destinationfile]
create-text Create a text file on the flash file system, <EOF> to
finish.
dir List the contents of a directory.
FORMAT:
file dir [directory]
erase Delete a file from the FLASH file system.
FORMAT:
file erase [filename]
format Format flash file system.
ftp Open an FTP connection with a remote server. Files
will be transferred in binary mode.
FORMAT:
file ftp host {<hostname> |<ip>} [port <port_#>] ï€
[user {anonymous | <username> password
<passwd> } ] { put <source_file> [<dest_file>] |
get <source_file> [<dest_file>] }
Note: Any time you transfer any kind of software
image file for the AP, it must be transferred in binary
mode, or the file may be corrupted.