44 CHAPTER 2: LOGGING INTO AN ETHERNET SWITCH
# Enter VTY 0 user interface view.
[4210] user-interface vty 0
# Configure to authenticate users logging into VTY 0 using the password.
[4210-ui-vty0] authentication-mode password
# Set the local password to 123456 (in plain text).
[4210-ui-vty0] set authentication password simple 123456
# Specify commands of level 2 are available to users logging into VTY 0.
[4210-ui-vty0] user privilege level 2
# Configure Telnet protocol is supported.
[4210-ui-vty0] protocol inbound telnet
# Set the maximum number of lines the screen can contain to 30.
[4210-ui-vty0] screen-length 30
# Set the maximum number of commands the history command buffer can store
to 20.
[4210-ui-vty0] history-command max-size 20
# Set the timeout time to 6 minutes.
[4210-ui-vty0] idle-timeout 6
Telnet Configuration
with Authentication
Mode Being Scheme
Configuration Procedure
Tabl e 22 Telnet configuration with the authentication mode being scheme
Operation Command Description
Enter system view system-view -