27 system-view[Sysname] interface serial 2/1/0[Sysname-Serial2/1/0] ppp lqm lcp-echo packet 1400 interval 1ppp pap local-userUse ppp pap local-user to set the local username and password for PAP authenticationon aninterface.Use undo ppp pap local-user to restore the default.Syntaxppp pap local-user username password { cipher | simple } stringundo ppp pap local-userDefaultThe local username and password for PAP authentication are blank on an interface.ViewsInterface viewPredefined user rolesnetwork-adminParametersusername: Specifies the username of the local device for PAP authentication, a case-sensitive stringof 1 to 80 characters.cipher: Specifies a password in encrypted form.simple: Specifies a password in plaintext form. For security purposes, the password specified inplaintext form will be stored in encrypted form.string: Specifies the password. Its plaintext form is a case-sensitive string of 1 to 255 characters. Itsencrypted form is a case-sensitive string of 1 to 373 characters.Usage guidelinesFor the local device to pass PAP authentication on the peer, make sure the username and passwordconfigured for the local device are also configured on t hepeer. You can configure the peer'susername and password by using the local-user username and password { cipher | simple } stringcommands, respectively.Examples# Set the local username and password for PAP authenticationto user1 and plaintext pass1 onSerial 2/1/0. system-view[Sysname] interface serial 2/1/0[Sysname-Serial2/1/0] ppp pap local-user user1 password simple pass1Related commandslocal-user (Security Command Reference)password (Security Command Reference)