beautypg.com

Some supported client commands – Nortel Networks WEB OS 212777 User Manual

Page 112

background image

Web OS 10.0 Application Guide

112

n

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:

N

OTE

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

or

ssh

-l

n

To download the switch configuration using SCP:

scp

:getcfg

n

To upload the configuration to the switch:

scp

: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