R3303-HP HSR6800 Routers Layer 2 - WAN Configuration Guide

31
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Enable PPP encapsulation on
the interface.
link-protocol ppp
Optional.
By default, all interfaces except
Ethernet interfaces and VLAN
interfaces use PPP as the link layer
protocol.
Configuring PPP authentication
You can configure several authentication modes simultaneously. In LCP negotiation, the authenticator
negotiates with the supplicant in the sequence of configured authentication modes until the LCP
negotiation succeeds. If the response packet from the supplicant carries a recommended authentication
mode, the authenticator directly uses the authentication mode if it finds the mode configured.
Configuring PAP authentication
1. Configuring the authenticator
Ste
p
Command Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A
3. Configure the local device to
authenticate the supplicant by
using PAP.
ppp authentication-mode pap
[ [ call-in ] domain isp-name ]
By default, PPP authentication is
disabled.
4. Configure local or remote
AAA authentication.
For local AAA
authentication, the
username and password of the
supplicant must be configured on
the authenticator.
For remote AAA
authentication,
the username and password of the
supplicant must be configured on
the remote AAA server.
For more information about AAA
authentication, see Security
Configuration Guide.
The username and password
configured for the supplicant must
be the same as those configured on
the supplicant.
2. Configuring the supplicant
Ste
p
Command Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type
interface-number
N/A