|
System Configuration Commands
108
The copy command can also be used to download the following files:
•
CLI banner: See
copy
(clibanner).
•
SFTOS software (often called the "software image"):
before SFTOS 2.5:
SFTOS 2.5.1:
For example, to download the software to the location where the current backup image is
stored, assuming the backup image is stored in the "image 2" location, enter:
copy tftp://
tftp_server_ip_address/path/filename
SSH key files (sshkey-rsa, sshkey-rsa2, or sshkey-dsa)
•
SSL certificates (HTTP secure-server certificates — sslpem-dhstrong, sslpem-dhweak,
•
sslpem-root, sslpem-server) (For more on SSH and SSL, see the chapter "Providing User
Access Security" in the SFTOS Configuration Guide.)
•
startup configuration (startup-config)
Except for the SFTOS software, download files from a TFTP server with copy tftp://, followed by the
source URL and filename, and then specify the destination as nvram:
keywords listed above. For example:
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
copy tftp://
tftp_server_ip_address/path/filename
For example, to download the software to the location where the current backup image is stored,
assuming the backup image is stored in the "image 2" location, enter:
copy tftp://
tftp_server_ip_address/path/filename
Note:
Starting with SFTOS version 2.3, you can use the command
OedIuCtCd
QQ
tftp_server_ip_address/path/filename
to copy either a binary file or a text file to the startup-config file. The result is a text file.
You can also copy the SFTOS software image in a stack from the management unit to a specific
member unit or all member units:
copy
image1
image2
{
|
For
, enter a specific member number as an integer from 1 to 6.
unit
An asterisk (* ) indicates that the image should be copied to all members:
unit://*/
image1
image2
{
|
system:image
filename
filename {
image1 | image2}
rimage2
nvram:clibanner
nvram:script
nvram:sslpem-root
nvram:sslpem-server
nvram:sslpem-dhweak
nvram:sslpem-dhstrong
nvram:sshkey-rsa1
nvram:sshkey-rsa2
nvram:sshkey-dsa
nvram:startup-config
image1 | image2
{
image2
unit://
image1
image2
}
/{
|
unit
}
name
, where
name
}
nvram:startup-config
}
is one of the