T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
84
login
Description
The
login
command is used to configure the login mode of a switch which uses
connection password to login. At this situation, a connection password must be
set for virtual terminal connection.
Syntax
login
Command Mode
Line Configuration Mode
Example
Configure the login of Console port connection 0 as login mode:
T2700G-28TQ(config)#line console
0
T2700G-28TQ(config-line)#login
Configure the login of virtual terminal connection 0-5 as login mode:
T2700G-28TQ(config)#line vty
0 5
T2700G-28TQ(config-line)#login
login local
Description
The
login local
command is used to configure the login mode of the switch
which uses the user name and password to login.
Syntax
login local
Command Mode
Line Configuration Mode
Example
Configure the login of virtual terminal connection 0-5 as login local mode:
T2700G-28TQ(config)#line vty
0 5
T2700G-28TQ(config-line)#login local