22
Login methods
Login methods
You can log in to the switch in the following ways.
Table 7
Login methods
Login method
Default state
Logging in
through the
console port
By default, you can log in to a device through the console port, the
authentication mode is None (no username or password required), 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.
•
Configure the IP address of the VLAN interface, and make sure that 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).
•
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.
•
Configure the IP address of the VLAN interface, and make sure that 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).
By default, you can log in to a device through modems. The default 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.).
•
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 web service type for web login (not configured by default).