User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 465
5.16.2.2. copy <url> destination
This command downloads files to the switch. The parameter url can be specified using FTP, TFTP, SCP, or SFTP. If
FTP, SCP, or SFTP are used, a password is required
Format copy <url> destination
Mode Privileged EXEC
Example: The following shows an example of downloading and applying as users file.
(M4500-32C) #
copy tftp://172.20.0.1/id_dsa.pub sshkey-user-public-key dsa
Mode........................................... TFTP
Set Server IP.................................. 172.20.0.1
Path........................................... ./
fastpath.cfg
Uploads Binary Config file.
log
Uploads Log file.
operational-log
Uploads Operational Log file.
running-config
Copies system config file.
script <sourcefilename>
Uploads sourcefilename Configuration Script file.
startup-config
Uploads Startup Config file.
startup-log
Uploads Startup Log file.
tech-support
Uploads Tech Support file.
traplog
Uploads Trap log file.
Parameter
Definition
url
Downloads file using
{tftp://<ipaddress|ipv6address[%scopeid]|hostname>/<filepath>/<filename>|
ftp://<user>@<ipaddr|ipv6address[%scopeid]|hostname>/<path>/<filename>|
scp://<user>@<ipaddr|ipv6address[%scopeid]|hostname>/<path>/<filename> |
sftp://<user>@<ipaddr|ipv6address[%scopeid]|hostname>/<path>/<filename>}
Destination Parameter
Definition
application <destfilename>
Downloads the application file as destfilename file name.
backup-config
Downloads the Backup Config file.
clibanner
Downloads the Pre-login Banner file.
openflow-ssl-ca-cert
Downloads the OpenFlow CA certificate file.
openflow-ssl-cert
Downloads the OpenFlow switch certificate file.
openflow-ssl-priv-key
Downloads the OpenFlow private key file.
publickey-config
Downloads the Public Key for Config Script validation.
publickey-image
Downloads the Public Key for image.
script <destfilename>
Downloads the Configuration Script file as destfilename file name.
sshkey-dsa
Downloads the SSH DSA Key file.
sshkey-rsa2
Downloads the SSH RSA2 Key file.
sshkey-user-public-key
{dsa | rsa}
Downloads the SSH user Public Key file for the current user. It supports the DSA
or RSA Key file of the OpenSSH key format.
sslpem-root
Downloads the SSL root certificate file for the SSL feature of the RESTFul API. If
both the root certificate and the server key exist, two keys are merged as an
ssl.pem file.
sslpem-server
Download the SSL server key file for the SSL feature of the RESTFul API. If both
the root certificate and the server key exist, the two keys are merged as an
ssl.pem file.
startup-config
Downloads the Config file as the startup configuration file.