To Enable or Disable SCP Apply and Save
Configuring the SCP Administrator Password
Using SSH and SCP Client Commands
To Log Into the Switch
To Copy the Switch Configuration File to the SCP Host
© Copyright Lenovo 2016
Enter the following command from the switch CLI to enable the SCP
putcfg_apply and putcfg_apply_save commands:
RS G8264(config)# [no] ssh scpenable
To configure the SCP‐only administrator password, enter the following command
(the default password is admin):
RS G8264(config)# [no] ssh scppassword
Changing SCPonly Administrator password; validation required...
Enter current administrator password: <password>
Enter new SCPonly administrator password: <new password>
Reenter new SCPonly administrator password: <new password>
New SCPonly administrator password accepted.
This section shows the format for using some client commands. The following
examples use 205.178.15.157 as the IP address of a sample switch.
Syntax:
>> ssh [4|6] <switch IP address>
‐or‐
>> ssh [4|6] <login name>@<switch IP address>
Note: The 4 option (the default) specifies that an IPv4 switch address will be
used. The 6 option specifies IPv6.
Example:
>> ssh scpadmin@205.178.15.157
Syntax:
>> scp [4|6] <username>@<switch IP address>:getcfg <local filename>
Example:
>> scp scpadmin@205.178.15.157:getcfg ad4.cfg
Chapter 4: Securing Administration
97