Backing Up the Running Configuration
Saving the Local Running Config
3-4
CLI Maintenance Guide
Saving the Config Off to an SCP Server
For secure sites, you can upload with the Secure Copy (SCP) protocol. The URL has a
different syntax for SCP transfers:
copy running-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.18” or “deb1.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 running config to juser’s home directory on rh1.wwmed.com:
bstnA6k(gbl)#
exit
bstnA6k#
copy running-config scp://[email protected]:oct24running
Password:
jpasswd
bstnA6k#
...
Sending the Config to an E-Mail Recipient
You can alternatively send the running-config file as an E-mail attachment. Before
you use E-mail, you must configure the Simple Mail Transfer Protocol (SMTP) on the
switch, starting with the
smtp
command in cfg mode: see the chapter on E-mail and
SMTP in the
CLI Reference Guide
.
Содержание Adaptive Resource Switch
Страница 12: ...2 xii CLI Maintenance Guide...
Страница 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Страница 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Страница 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Страница 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Страница 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Страница 318: ...Copyright 2 CLI Maintenance Guide...
Страница 324: ...Index 6 CLI Maintenance Guide...