52 CHAPTER 3: L OGGING IN THROUGH TELNETTelnet Configurationwith AuthenticationMode Being PasswordConfiguration ProcedureTo do… Use the command… RemarksEnter system view system-view -Enable the Telnet serverfunctiontelnet server enable RequiredEnter one or more VTY userinterface viewsuser-interface vtyfirst-number[ last-number ]-Configure to authenticateusers logging in to VTY userinterfaces using the localpasswordauthentication-modepasswordRequiredSet the local password set authenticationpassword { cipher |simple } passwordRequiredConfigure the command levelavailable to users logging into the user interfaceuser privilege level level OptionalBy default, commands of level 0are available to users logging in toVTY user interface.Configure the protocol to besupported by the userinterfaceprotocol inbound { all |ssh | telnet }OptionalBy default, both Telnet protocoland SSH protocol are supported.Set the command that isautomatically executed whena user logs into the userinterfaceauto-execute commandtextOptionalBy default, no command isautomatically executed when auser logs into a user interface.Define a shortcut key foraborting tasksescape-key { default |character }OptionalThe default shortcut keycombination for aborting tasks is <Ctrl+C >.Make terminal servicesavailableshell OptionalBy default, terminal services areavailable in all user interfaces.Set the maximum number oflines the screen can containscreen-lengthscreen-lengthOptionalBy default, the screen can containup to 24 lines.You can use the screen-length 0command to disable the functionto display information in pages.Set the history commandbuffer sizehistory-commandmax-size valueOptionalThe default history commandbuffer size is 10. That is, a historycommand buffer can store up to10 commands by default.