Configuration and Image File Commands
257
OL-32830-01 Command Line Interface Reference Guide
10
Use the copy
source-url
running-config command to load a configuration
file from a network server to the running configuration file of the device.
The commands in the loaded configuration file are added to those in the
running configuration file as if the commands were typed in the
command-line interface (CLI). The resulting configuration file is a
combination of the previous running configuration and the loaded
configuration files, with the loaded configuration file taking precedence.
•
Copying a Configuration File from a Server to the Startup Configuration
Use the copy
source-url
startup-config command to copy a configuration
file from a network server to the device startup configuration file. The
startup configuration file is replaced by the copied configuration file.
•
Storing the Running Config or Startup Config on a Server
Use the copy running-config
destination-url
command to copy the current
configuration file to a network server using TFTP.
Use the copy startup-config
destination-url
command to copy the startup
configuration file to a network server.
•
Saving the Running Configuration to the Startup Configuration
Use the copy running-config startup-config command to copy the running
configuration to the startup configuration file.
•
Restoring the Mirror Configuration File.
Use copy mirror-config startup-config or copy mirror-config running-config
to copy the mirror configuration file to one of the configuration files being
used.
SCP Copy Authentication Options
The following options are possible for using the SCP copy feature:
•
scp://
host/[directory]
/
filename
In this option, the SSH authentication method (either by password or by
key) and the credentials are specified by the CLI commands for ip ssh client
(ip ssh-client authentication, ip ssh-client key-type or ip ssh-client
password/username, and also the server authentication configuration
commands),.
•
scp://
username
:
password@
.
host/[directory]
/
filename
..
This option specifies SSH authentication by password, and the user name
and password for this specific SCP session (one-time only).
Содержание 300 Series
Страница 2: ......