Hewlett-Packard GbE2c - Blc Layer 2/3 Fiber SFP Option Application Manual
Download Application manual of HP Xw460c - ProLiant - Blade Workstation Desktop, Enclosure for Free or View it Online on All-Guides.com.
Brand: HP
Category: Desktop , Enclosure , Other , Printer , Server , Software , Switch
Type: Application manual
Model: HP Xw460c - ProLiant - Blade Workstation , HP GbE2c - Blc Layer 2/3 Fiber SFP Option
Pages: 165 (7.93 Mb)
Download HP Xw460c - ProLiant - Blade Workstation Application manual
Accessing the switch 27
Using SSH and SCP client commands
The following shows the format for using some client commands. The examples below use 205.178.15.157 as the IP
address of a sample switch.
Logging in to the switch
Enter the following command to log in to the switch:
ssh <user>@<switch IP address>
For example:
>> # ssh [email protected]
Downloading configuration from the switch using SCP
Enter the following command to download the switch configuration using SCP. You will be prompted for a password:
scp <user>@<switch IP address>:getcfg <local filename>
For example:
>> # scp [email protected]:getcfg ad4.cfg
The switch prompts you for the scpadmin password.
Uploading configuration to the switch using SCP
Enter the following command to upload configuration to the switch. You will be prompted for a password.
scp <local filename> <user>@<switch IP address>:putcfg
For example:
>> # scp ad4.cfg [email protected]:putcfg
Applying and saving configuration
Enter the apply and save commands after the command above (scp ad4.cfg 205.178.15.157:putcfg), or use the
following commands. You will be prompted for a password.
>> # scp <local_filename> <user>@<switch IP addr>:putcfg_apply
>> # scp <local_filename> <user>@<switch IP addr>:putcfg_apply_save
For example:
>> # scp ad4.cfg [email protected]:putcfg_apply
>> # scp ad4.cfg [email protected]:putcfg_apply_save
Note the following:
• The 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.