Use the copy command to transfer files between the Wireless Appliance and an external server.
Available filenames and platform information can be retrieved by invoking the respective show commands. For more information, see show.
server | Specifies the IP address of the FTP or SCP server. The IP address can be either IPv4 A.B.C.D or IPv6 A:B:C:D:E:F:G:H format. |
user | Specifies the user name of an account on the FTP or SCP server. |
dir | Specifies the name of a directory on the FTP or SCP server. |
file | Specifies the name of a file on the Wireless Appliance. |
platform | Specifies the platform of the Wireless AP. |
cdr_dir/file | Specifies the location of a file on the Wireless Appliance. |
#file | The sequence in which the files are listed in the corresponding list. For more information, see list. |
scp | Sets the file transfer protocol to SCP rather than the default setting of FTP. |
scp password | The scp password to use with scp for the ssh connection. |
ftp password | The ftp password to use with ftp. |
to-local | Specifies the local drive as the location the configuration is copied to |
to-flash | Specifies the flash drive as the location the configuration is copied to |
to-remote | Specifies the configuration is copied to the specified device or server |
from-local | Specifies the configuration to be copied is located on the local drive |
from-flash | Specifies the configuration to be copied is located on the flash drive |
from-remote | Specifies the configuration to be copied is located on the specified remote device or server |
flash | This option is available only when a flash device is plugged in |
floor-plan show | Displays a list of all locally-stored floor plans |
The following example copies the certificate request (.csr) file for a Wireless AP:
EWC.extremenetworks.com# copy ap_certreq 192.168.1.131 jdoe /jdoe/OrlandoAP.csr
The following command copies the Call Detail Records from the Wireless Appliance onto the specified server location:
EWC.extremenetworks.com.com# copy cdrs 192.168.3.108 test mycdr 20110824wed/20110824173358.dat Please input password: Attempting to upload file using ftp SUCCESS: Upload completed.
The following command copies an upgrade image for the C25 platform from a server to the Wireless Appliance:
EWC.extremenetworks.com# copy apup 192.168.16.21 test new/ap/ C25-0x.xx.xx.000x.img C25 Please input password: Attempting to download file using ftp ... SUCCESS: FTP Download completed. EWC.extremenetworks.com#
The following command copies the Wireless Appliance‘s upgrade image from a specific FTP server location onto the Wireless Appliance:
EWC.extremenetworks.com# copy upgrade 192.168.16.21 test new/ac/rpm/build07.41.03.0003 AC-MV-07.41.03.0003-1.rue Please input password: Attempting to download file using ftp ... SUCCESS: FTP Download completed. EWC.extremenetworks.com#
The following example copies the upgrade file to the flash device, mounted on the Wireless Appliance, from a specific FTP server:
EWC.extremenetworks.com# copy upgrade 192.168.16.21 test new/ac/rpm/build07.41.03.0003 AC-MV-07.41.03.0003-1.rue flash Please input password: Attempting to download file using ftp ... SUCCESS: FTP Download completed. EWC.extremenetworks.com#
In the following example, the CLI command states that the upgrade file will be downloaded from the SCP server to the flash card:
EWC.extremenetworks.com# copy upgrade 192.168.4.10 test system/images AC-MV-08.21.01.2222-1.rue flash scp TestPassword
In the following example, the CLI command states that the upgrade file will be downloaded from the SCP server to the Wireless Appliance local drive:
EWC.extremenetworks.com# copy upgrade 192.168.4.10 test system/images AC-MV-08.21.01.2222-1.rue scp TestPassword
The following example copies the TCPDump file to the FTP server:
EWC.extremenetworks.com# copy tcpdump 192.168.4.10 mnj /TCPDump/April_2008 mgmt_traffic_capture.cap 1
The following example copies the fsh_1.zip configuration file located in the backup directory for user tester with password SECRET on the remote FTP server 132.152.1.3 to the local drive:
EWC.extremenetworks.com# copy configuration to-local from-remote 132.152.1.3 tester backup fsh_1.zip ftp SECRET
The following example copies the my_conf.zip export file located on a flash drive to bak_dir directory of the remote SCP server 132.152.1.3 for user tester with password SECRET:
EWC.extremenetworks.com# copy configuration to-remote 132.152.1.3 tester bak_dir scp SECRET from-flash my_conf.zip
The following example copies the local export file with index 2 to a flash drive:
EWC.extremenetworks.com# copy configuration to-flash from-local 2
The following example lists all locally-stored floor plans:
EWC.extremenetworks.com# copy floor-plan show Locally stored floor-plan files: 1. 1.fxml 2. 10.fxml 3. 101.fxml 4. 12.fxml 5. 12_export.fxml