186 Operation
Chapter 5 - Command Line Interface
Syntax
copy <ftp | tftp> file
copy config <ftp | tftp>
• ftp - Keyword that allows you to copy to/from an FTP server.
• tftp - Keyword that allows you to copy to/from a TFTP server.
• file - Keyword that allows you to copy to/from a flash memory file.
• config - Keyword that allows you to upload the configuration file from flash memory.
Default Setting
None
Command Mode
Exec
Command Usage
• The system prompts for data required to complete the copy command.
• Only a configuration file can be uploaded to an FTP/TFTP server, but every type of file can be
downloaded to the AP.
•
The destination file name should not contain slashes (\ or /),
the leading letter of the file name
should not be a period (.), and the maximum length for file names on the FTP/TFTP server is 255
characters or 32 characters for files on the AP. (Valid characters: A-Z, a-z, 0-9, “.”, “-”, “_”)
• Due to the size limit of the flash memory, the AP supports only two operation code files.
• The system configuration file must be named “syscfg” in all copy commands.
Example
The following example shows how to upload the configuration settings to a file on
the TFTP server:
The following example shows how to download a configuration file:
5.10.3 delete
This command deletes a file or image.
Syntax
delete <filename>
filename - Name of the configuration file or image name.
Enterprise AP#copy config tftp
TFTP Source file name:syscfg
TFTP Server IP:192.168.1.19
Enterprise AP#
Enterprise AP#copy tftp file
1. Application image
2. Config file
3. Boot block image
Select the type of download<1,2,3>: [1]:2
TFTP Source file name:syscfg
TFTP Server IP:192.168.1.19
Enterprise AP#