Saving The Config Off To An Scp Server; Sending The Config To An E-Mail Recipient - Acopia Adaptive Resource Switch Cli Maintenance Manual

Table of Contents

Advertisement

Backing Up the Running Configuration
Saving the Global Config

Saving the Config Off to an SCP Server

bstnA6k(gbl)# exit
bstnA6k# copy global-config scp://juser@rh1.wwmed.com:/var/oct24gbl
Password: jpasswd
bstnA6k# ...

Sending the Config to an E-Mail Recipient

3-8
As with the running-config, you can also use the Secure Copy (SCP) protocol to
upload the global config:
copy global-config scp://username@server: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.12" or "host.mynet.com"), and
file is the chosen 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.
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
sends the global config to the /var directory on rh1.wwmed.com:
You can alternatively send the global-config file as an E-mail attachment, as shown
above for the running-config. Before you use E-mail, you must configure the Simple
Mail Transfer Protocol (SMTP) on the switch, starting with the
mode: see the chapter on E-mail and SMTP in the
command in cfg
smtp
CLI Reference
Guide.
CLI Maintenance Guide

Advertisement

Table of Contents
loading

Related Products for Acopia Adaptive Resource Switch

Table of Contents