511For authentication on a dial-up interface, you are recommended to configureauthentication on both the physical interface and the dialer interface. When thephysical interface receives a DCC call request, it first initiates PPP negotiation andauthenticates the dial-in user, and then passes the call to the upper layer protocol.Related command: local-user on page 1940, ppp chap user, ppp pap local-user, ppp pappassword, and ppp chap password.Example # Authenticate the peer device by means of PAP on interface Serial 1/0. system-view[Sysname] interface serial 1/0[Sysname-Serial1/0] ppp authentication-mode pap domain systemppp chap passwordSyntax ppp chap password { cipher | simple } passwordundo ppp chap passwordView Interface viewParameter cipher: Indicates to display the password in ciphertext.simple: Indicates to display the password in plain text.password: Default CHAP password, a string of 1 to 16 characters. When thesimple keyword is used, this password is in plain text. When the cipher keywordis used, this password can either be in ciphertext or in plain text. The plain text is astring of no more than 16 characters, like aabbcc. The ciphertext has a fixedlength of 24 characters, like _(TT8F]Y5SQ=^Q‘MAF4<1!!.Description Use the ppp chap password command to configure the password for CHAPauthentication.Use the undo ppp chap password command to cancel the configuration.Related command: ppp authentication-mode chap.Example # Set the username to Sysname, which is to be displayed in plain text in CHAPauthentication. system-view[Sysname] interface serial 1/0[Sysname-Serial1/0] ppp chap password simple sysnameppp chap userSyntax ppp chap user username