© Copyright IBM Corp. 2011
Chapter 4. Securing Administration
57
To Copy the Switch Configuration File to the SCP Host
Syntax
:
Example:
To Load a Switch Configuration File from the SCP Host
Syntax:
Example:
To Apply and Save the Configuration
When loading a configuration file to the switch, the
apply
and
save
commands are
still required for the configuration commands to take effect. The
apply
and
save
commands may be entered manually on the switch, or by using SCP commands.
Syntax:
Example:
•
The CLI
diff
command is automatically executed at the end of
putcfg
to notify
the remote client of the difference between the new and the current
configurations.
•
putcfg_apply
runs the
apply
command after the
putcfg
is done.
•
putcfg_apply_save
saves the new configuration to the flash after
putcfg_apply
is done.
•
The
putcfg_apply
and
putcfg_apply_save
commands are provided
because extra
apply
and
save
commands are usually required after a
putcfg
;
however, an SCP session is not in an interactive mode.
>>
scp
[
-4
|
-6
]
<username>
@
<switch IP address>
:getcfg
<local filename>
>>
scp [email protected]:getcfg ad4.cfg
>>
scp
[
-4
|
-6
]
<local filename>
<username>
@
<switch IP address>
:putcfg
>>
scp ad4.cfg [email protected]:putcfg
>>
scp
[
-4
|
-6
]
<local filename>
<username>
@
<switch IP address>
:putcfg_apply
>>
scp
[
-4
|
-6
]
<local filename>
<username>
@
<switch IP address>
:putcfg_apply_save
>>
scp ad4.cfg [email protected]:putcfg_apply
>>
scp ad4.cfg [email protected]:putcfg_apply_save
Summary of Contents for RackSwitch G8000
Page 1: ...RackSwitch G8000 Application Guide...
Page 2: ......
Page 3: ...RackSwitch G8000 Application Guide...
Page 16: ...16 RackSwitch G8000 Application Guide...
Page 22: ...20 RackSwitch G8000 Application Guide...
Page 23: ...Copyright IBM Corp 2011 21 Part 1 Getting Started...
Page 24: ...22 RackSwitch G8000 Application Guide...
Page 54: ...52 RackSwitch G8000 Application Guide...
Page 55: ...Copyright IBM Corp 2011 53 Part 2 Securing the Switch...
Page 56: ...54 RackSwitch G8000 Application Guide...
Page 92: ...90 RackSwitch G8000 Application Guide...
Page 94: ...92 RackSwitch G8000 Application Guide...
Page 144: ...142 RackSwitch G8000 Application Guide...
Page 145: ...Copyright IBM Corp 2011 143 Part 4 Advanced Switch ing Features...
Page 146: ...144 RackSwitch G8000 Application Guide...
Page 148: ...146 RackSwitch G8000 Application Guide...
Page 182: ...180 RackSwitch G8000 Application Guide...
Page 184: ...182 RackSwitch G8000 Application Guide...
Page 212: ...210 RackSwitch G8000 Application Guide...
Page 258: ...256 RackSwitch G8000 Application Guide...
Page 286: ...284 RackSwitch G8000 Application Guide...
Page 294: ...292 RackSwitch G8000 Application Guide...
Page 298: ...296 RackSwitch G8000 Application Guide...
Page 310: ...308 RackSwitch G8000 Application Guide...
Page 311: ...Copyright IBM Corp 2011 309 Part 7 Network Management...
Page 312: ...310 RackSwitch G8000 Application Guide...
Page 320: ...318 RackSwitch G8000 Application Guide...
Page 332: ...330 RackSwitch G8000 Application Guide...
Page 334: ...332 RackSwitch G8000 Application Guide...
Page 345: ...Copyright IBM Corp 2011 343 Part 9 Appendices...
Page 346: ...344 RackSwitch G8000 Application Guide...
Page 357: ...Copyright IBM Corp 2011 Appendix C Notices 355 Taiwan Class A compliance statement...