Users Guide
Switch Management Commands 1954
filename is extracted from the source url. If the filename has a .tar or
.tgz extension, the archive is unpacked in the user-apps directory and
deleted after unpacking. If there is an error during unpacking, the file is
deleted anyway. If the file name does not include a .tar or .tgz extension,
it is simply copied into the user-apps directory as is.
• username — The user name for logging into the remote server via SSH.
• crashlog#—Indicates the index of the log on the local or remote unit
(Range 0-4). Index 0 indicates the most recent crash log. Index 4
specifies the oldest crash log.
• unit—Indicates the stack unit number from which to retrieve the log. If
no unit is specified, the file is copied from the stack master.
• kernel—Only copies the kernel crash log.
• data—Only copies the crash summary data.
The following table lists and describes reserved keywords.
Reserved
Keyword
Description
application Represents an application.
running-config Represents the current running configuration file.
startup-config Represents the startup configuration file.
startup-log Represents the startup SYSLOG file. This can only be the source
of a copy operation.
operational-log Represents the operational SYSLOG file. This can only be the
source of a copy operation.
script scriptname Represents a CLI script file.
active|backup Represents the software image file. When “backup” is the target of
a copy command, it refers to the backup image. When “active” is
the source of a copy command, it refers to the active image. If the
switch is the destination, the file will be distributed to all units in
the stack.
ftp: Source or destination URL for an FTP network server. The syntax
for this alias is ftp://ipaddr/filepath/filename image.