Command Reference Guide
Device Location, System Utility, and Clear Commands
CLI Command Reference
September 2014 Page 197
HP Moonshot Switch Module CLI Command Reference
Replace the source and destination parameters with the options in Table 9 on page 197. For the url source or
destination, use one of the following values:
{xmodem | ftp://user@ipaddr|hostname/path/filename | tftp://ipaddr|hostname/filepath/filename
[noval]| sftp|scp://username@ipaddr/filepath/filename}
The keyword ias-users supports the downloading of the IAS user database file. When the IAS users file is
downloaded, the switch IAS user’s database is replaced with the users and its attributes available in the
downloaded file. In the command
copy url ias-users, for url one of the following is used for IAS users file:
{{ftp://user@ipaddr|hostname/path/filename} | {tftp://ipaddr | hostname /filepath/filename} | {sftp
| scp://username@ipaddress/filepath/filename}}
For FTP, TFTP, SFTP and SCP, the ipaddr|hostname parameter is the IP address or host name of the server,
filepath is the path to the file, and filename is the name of the file you want to upload or download. For SFTP
and SCP, the
username parameter is the username for logging into the remote server via SSH.
T
Note: The maximum length for the file path is 160 characters, and the maximum length for the file
name is 31 characters.
Table 9: Copy Parameters
Source Destination Description
nvram:tech-support url
Copies the Technical Support file from the switch to a
remote server.
nvram:backup-config nvram:startup-config
Copies the backup configuration to the startup
configuration.
nvram:backup-config url
Copies the backup configuration to a server.
nvram:clibanner url
Copies the CLI banner to a server.
nvram:cpu-pkt-
capture.pcap
url
Copies the CPU packet capture file from the switch to
a server.
nvram:crash-log url
Copies the crash log to a server.
nvram:errorlog url
Copies the error log file to a server.
nvram:factory-defaults url
Uploads factory defaults file.
nvram:log url
Copies the log file to a server.
nvram:operational-log url
Copies the operational log file to a server.
nvram:script scriptname url
Copies a specified configuration script file to a server.
nvram:startup-config nvram:backup-config
Copies the startup configuration to the backup
configuration.
nvram:startup-config url
Copies the startup configuration to a server.
nvram:startup-log url
Copies the startup log file to a server.
nvram:traplog url
Copies the trap log file to a server.
system:running-config nvram:startup-config
Saves the running configuration to nvram.
system:running-config nvram:factory-defaults
Saves the running configuration to nvram to the
factory-defaults file.
url nvram:backup-config
Downloads a backup configuration file to the system.