F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
123
Usage guidelines
If you run the ppp authentication-mode command with the domain keyword specified, you must
configure an address pool in the corresponding domain. You can use the display domain command to
display the domain configuration.
If you configure the ppp authentication-mode command without specifying the domain name, the system
checks the username for domain information. If the username contains a domain name, the domain will
be used for authentication. If the domain does not exist, the user's access request will be denied. If the
username does not contain a domain name, the default domain is used. You can use the domain default
command to configure the default domain. If no default domain is configured, the default domain system
is used by default.
PPP authentication falls into the following categories:
PAP—Two-way handshake authentication. The password used is in plain text.
CHAP—Three-way handshake authentication. The password is in cipher text.
MS-CHAP—Three-way handshake authentication. The password is in cipher text.
MS-CHAP-V2—Three-way handshake authentication. The password is in cipher text.
You can configure several authentication modes simultaneously. In addition, you can also use the AAA
authentication algorithm list (if defined) to authenticate users.
In any PPP authentication mode, AAA determines whether a user can pass the authentication through a
local authentication database or an AAA server. For more information about AAA authentication, see
Access Control Configuration Guide.
For authentication on a dialup interface, configure authentication on both the physical interface and the
dialer interface. When a 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.
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.