511

For authentication on a dial-up interface, you are recommended to configure authentication on both the physical interface and the dialer interface. When the physical interface receives a DCC call request, it first initiates PPP negotiation and authenticates the dial-in user, and then passes the call to the upper layer protocol.

Related command: local-useron page 1940, ppp chap user, ppp pap local-user, ppp pap password, and ppp chap password.

Example # Authenticate the peer device by means of PAP on interface Serial 1/0.

<Sysname> system-view

[Sysname] interface serial 1/0

[Sysname-Serial1/0] ppp authentication-mode pap domain system

ppp chap password

Syntax ppp chap password { cipher simple } password

undo ppp chap password

View Interface view

Parameter 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 the simple keyword is used, this password is in plain text. When the cipher keyword is used, this password can either be in ciphertext or in plain text. The plain text is a string of no more than 16 characters, like aabbcc. The ciphertext has a fixed length of 24 characters, like _(TT8F]Y5SQ=^Q‘MAF4<1!!.

Description Use the ppp chap password command to configure the password for CHAP authentication.

Use the undo ppp chap password command to cancel the configuration.

Related command: ppp authentication-modechap.

Example # Set the username to Sysname, which is to be displayed in plain text in CHAP authentication.

<Sysname> system-view

[Sysname] interface serial 1/0

[Sysname-Serial1/0] ppp chap password simple sysname

ppp chap user

Syntax ppp chap user username

Page 511
Image 511
3Com MSR 50 Ppp chap password, Ppp chap user, Related command ppp authentication-modechap, Syntax ppp chap user username