3-7# Specify commands of level 2 are available to users logging in to VTY 0.[Sysname-ui-vty0] user privilege level 2# Configure Telnet protocol is supported.[Sysname-ui-vty0] protocol inbound telnet# Set the maximum number of lines the screen can contain to 30.[Sysname-ui-vty0] screen-length 30# Set the maximum number of commands the history command buffer can store to 20.[Sysname-ui-vty0] history-command max-size 20# Set the timeout time to 6 minutes.[Sysname-ui-vty0] idle-timeout 6Telnet Configuration with Authentication Mode Being SchemeConfiguration ProcedureFollow these steps to configure Telnet with the authentication mode being scheme:To do… Use the command… RemarksEnter system view system-view —Enter thedefault ISPdomain viewdomain domain-nameConfigure theAAA scheme tobe applied tothe domainscheme { local | none |radius-schemeradius-scheme-name [ local ] |hwtacacs-schemehwtacacs-scheme-name[ local ] }Configure theauthentication schemeQuit to systemview quitOptionalBy default, the local AAA scheme isapplied. If you specify to apply the localAAA scheme, you need to perform theconfiguration concerning local user aswell.If you specify to apply an existingscheme by providing theradius-scheme-name argument, youneed to perform the followingconfiguration as well:Perform AAA&RADIUS configuration onthe switch. (Refer to the AAA part formore.)Configure the user name and passwordaccordingly on the AAA server. (Refer tothe user manual of AAA server.)Create a local user and enterlocal user view local-user user-name No local user exists by default.Set the authentication passwordfor the local userpassword { simple | cipher }password RequiredSpecify the service type for VTYusersservice-type telnet [ levellevel ] RequiredQuit to system view quit —Enter one or more VTY userinterface viewsuser-interface vty first-number[ last-number ] —Configure to authenticate userslocally or remotelyauthentication-mode scheme[ command- authorization ]RequiredThe specified AAA scheme determineswhether to authenticate users locally orremotely.Users are authenticated locally bydefault.