Login overview

The first time you access the device, you can log in to the CLI through the console port. After login, you can change console login parameters or configure other access methods, including Telnet, SSH, modem, and SNMP.

Telnet login is not supported in FIPS mode.

Table 6: Login methods at a glance

Login method

Default settings and minimum configuration requirements

Logging in to the CLI:

By default, login through the console port is enabled, no username or password is required, and the user role network-admin is assigned. After login, configure password or scheme authentication mode to improve device security.

By default, Telnet login is disabled.

To enable Telnet login, perform the following tasks:

  • Enable the Telnet server feature.

  • Assign an IP address to a Layer 3 interface and make sure the interface and the Telnet client can reach each other.

  • Configure an authentication mode for VTY login users. By default, password authentication is used but no password is configured.

  • Assign a user role to VTY login users. By default, a VTY login user is assigned the network-operator user role.

By default, SSH login is disabled.

To enable SSH login, perform the following tasks:

  • Enable the SSH server feature and configure SSH attributes.

  • Assign an IP address to a Layer 3 interface and make sure the interface and the SSH client can reach each other.

  • Configure scheme authentication for VTY login users. By default, password authentication is used.

  • Assign a user role to VTY login users. By default, a VTY login user is assigned the network-operator user role.

By default, modem dial-in is enabled, and you can dial in to the switch. The default user role is network-admin.

Accessing the device through SNMP

By default, SNMP access is disabled.

To enable SNMP access, perform the following tasks:

  • Assign an IP address to a Layer 3 interface, and make sure the interface and the NMS can reach each other.

  • Configure SNMP basic parameters.