Upgrading Software
Copying a Release File to the Switch
4-6
CLI Maintenance Guide
test4.rel May 20 12:22 456M
test5.rel May 20 13:24 456M
bstnA6k#
...
Downloading from an SCP Server
For secure sites, you can download the release file with the Secure Copy (SCP)
protocol. The URL has a different syntax for SCP transfers:
copy scp://
username
@
server
:
file
releases
dest-file
[accept-host-key]
where
username
@
is a valid username at the remote host,
server
identifies the SCP server with an IP address or FQDN (for example,
“172.16.100.18” or “deb1.mynet.com”), and
file
is the release-file name. Lead with a slash (
scp-server
:/
file
) if the file
path is absolute. Without the slash, the path is presumed to start in the home
directory for
username
.
dest-file
is the name you choose for the downloaded copy of the release file.
accept-host-key
(optional) tells the CLI to accept an unknown host key if
offered by the SCP server. The host key authenticates the server; if the key is
unknown, it is possible that an attacker has taken the server’s hostname
and/or IP address. Note that any SCP server is “unknown” if the switch has
not had an SCP exchange with it since the switch’s last reboot.
The CLI prompts for the
username
’s password. Enter a password that is valid at the
remote site. For example, the following command exits from gbl mode to priv-exec
mode, then downloads a release file through SCP:
bstnA6k(gbl)#
exit
bstnA6k#
copy scp://[email protected]:/var/rels/acopia-ac1-dev.rel releases test.rel
Password:
jpasswd
% INFO: Copying 328 megabytes from the specified source . . .
Summary of Contents for Adaptive Resource Switch
Page 12: ...2 xii CLI Maintenance Guide...
Page 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Page 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Page 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Page 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Page 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Page 318: ...Copyright 2 CLI Maintenance Guide...
Page 324: ...Index 6 CLI Maintenance Guide...