HP VPN Firewall Appliances Network Management Command Reference

123
Examples
# Configure interface Virtual-Template 1 to authenticate the peer device by using PAP.
<Sysname> system-view
[Sysname] interface Virtual-Template 1
[Sysname-Virtual-Template1] ppp authentication-mode pap domain system
# Configure interface Virtual-Template 1 to authenticate the peer device by using PAP, CHAP, and
MS-CHAP.
<Sysname> system-view
[Sysname] interface Virtual-Template 1
[Sysname-Virtual-Template1] ppp authentication-mode pap chap ms-chap domain system
Related commands
domain default (Access Control Command Reference)
local-user (Access Control Command Reference)
ppp chap password
ppp chap user
ppp pap local-user
ppp chap password
Use ppp chap password to set the password for CHAP authentication.
Use undo ppp chap password to cancel the configuration.
Syntax
ppp chap password { cipher | simple } password
undo ppp chap password
Views
Interface view
Default command level
2: System level
Parameters
cipher: Sets a ciphertext password.
simple: Sets a plaintext password.
password: Specifies the password string for CHAP authentication. This argument is case sensitive. If
simple is specified, it must be a string of 1 to 48 characters. If cipher is specified, it must be a ciphertext
string of 1 to 97 characters.
Usage guidelines
For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
Examples
# Set the password for CHAP authentication to a plaintext password sysname.
<Sysname> system-view
[Sysname] interface Virtual-Template 1
[Sysname-Virtual-Template1] ppp chap password simple sysname