Login methods

Login methods

You can log in to the switch by using the following methods.

Table 7 Login methods

Login method

Default state

 

Logging in

By default, you can log in to a device through the console port, the

 

through the

authentication mode is None (no username or password required),

 

console port

and the user privilege level is 3.

 

 

 

 

 

By default, you cannot log in to a device through Telnet. To do so, log

 

 

in to the device through the console port, and complete the following

 

 

configuration:

 

 

Enable the Telnet function.

 

Logging in

Configure the IP address of the VLAN interface, and make sure that

 

through

your device and the Telnet client can reach each other (by default,

 

 

the device does not have an IP address.).

 

 

Configure the authentication mode of VTY login users (password

 

 

by default).

CLI login

Configure the user privilege level of VTY login users (0 by default).

 

 

By default, you cannot log in to a device through SSH. To do so, log

 

 

in to the device through the console port, and complete the following

 

 

configuration:

 

 

Enable the SSH function and configure SSH attributes.

 

Logging in

Configure the IP address of the VLAN interface, and make sure that

 

through SSH

your device and the SSH client can reach each other (by default,

 

 

your device does not have an IP address.).

 

 

Configure the authentication mode of VTY login users as scheme

 

 

(password by default).

 

 

Configure the user privilege level of VTY login users (0 by default).

 

 

 

 

Logging in

By default, you can log in to a device through modems. The default

 

through modems

user privilege level of modem login users is 3.

 

 

 

 

 

By default, you cannot log in to a device through web. To do so, log

 

 

in to the device through the console port, and complete the following

 

 

configuration:

 

 

Configure the IP address of the VLAN interface (by default, your

 

 

device does not have an IP address.).

Web login

Configure a username and password for web login (not configured

 

 

by default).

 

 

Configure the user privilege level for web login (not configured by

 

 

default).

 

 

Configure the Telnet service type for web login (not configured by

 

 

default).

 

 

 

21