Sending The Information Securely, Through Scp - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

Troubleshooting Tools
Collecting Diagnostic Information
bstnA6k(cfg)# exit
bstnA6k# collect diag-info ftp://juser@ftp.acopia.com/acopia-diags.tgz
Password: jpasswd
Collect diagnostic information? [yes/no] yes
% INFO: Transferred 0 megabytes; still copying . . .
% INFO: Transferred 14 megabytes; still copying . . .
% INFO: The copy command completed successfully.
bstnA6k# ...

Sending the Information Securely, through SCP

6-38
For example, the following command exits from cfg mode to priv-exec mode, then
sends diagnostic data to ftp.acopia.com:
For secure sites, you can upload the diagnostic data with the Secure Copy (SCP)
protocol. The URL has a different syntax for SCP transfers:
collect diag-info scp://username@server:file.tgz [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.tgz is the file name for the diagnostics data. 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.
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. Then the CLI prompts for confirmation before collecting diagnostics;
enter yes to continue. As mentioned above, you should allow at least one minute for
the collection process to complete.
CLI Maintenance Guide

Advertisement

Table of Contents
loading

Related Products for Acopia Adaptive Resource Switch

Table of Contents