Nortel Networks 212777 Network Router User Manual


 
Web OS 10.0 Application Guide
112
Chapter 5: Secure Switch Management
212777-A, February 2002
To save the current configuration to FLASH, use this command:
Usually, there will be no need to generate manually the RSA host and server keys. However,
you may still do so by using the following commands:
NOTE These two commands will take effect immediately without the need of an apply
command being issued.
Some Supported Client Commands
Up to four simultaneous Telnet/SSH/SCP connections are supported on a switch.
n To log in to the switch:
ssh <switch IP address> or ssh -l <username> <switch IP address>
n To download the switch configuration using SCP:
scp <switch IP address>:getcfg <local filename>
n To upload the configuration to the switch:
scp <local filename> <switch IP address>:putcfg
Some examples are listed below:
where 205.178.15.157 is the IP address of the example switch.
Please also note that apply and save commands are still needed after the last command
(scp ad4.cfg 205.178.15.157:putcfg) is issued. Or, instead, you can use the fol-
lowing commands:
>> # save
>> # /cfg/sys/sshd/hkeygen (Generates the host key)
>> # /cfg/sys/sshd/skeygen (Generates the server key)
>> # ssh 205.178.15.157
>> # ssh -l dleu 205.178.15.157
>> # scp 205.178.15.157:getcfg ad4.cfg
>> # scp ad4.cfg 205.178.15.157:putcfg
>> # scp ad4.cfg 205.178.15.157:putcfg_apply
>> # scp ad4.cfg 205.178.15.157:putcfg_apply_save