Command Manual – User Access
H3C SecPath Series Security Products
Chapter 1 PPP Configuration Commands
1-4
1.1.4 link-protocol ppp
Syntax
link-protocol ppp
View
Interface view
Parameter
None
Description
Use the
link-protocol ppp
command to configure the link-layer protocol encapsulated
on the interface as PPP.
By default, the link-layer protocol for interface encapsulation is PPP.
PPP is a link-layer protocol bearing network-layer packets over the point-to-point link. It
defines a whole set of protocols including LCP (link control protocol), NCP
(network-layer control protocol), PAP (Password Authentication Protocol) and CHAP
(Challenge Handshake Authentication Protocol). It is widely used for it supports user
authentication, easy scalability and synchronization/asynchronization.
Related command:
display interface
.
Example
# Configure PPP encapsulation on interface Dialer1.
[H3C-Dialer1] link-protocol ppp
1.1.5 ppp authentication-mode
Syntax
ppp authentication-mode
{
chap
|
pap
} [ [
call-in
]
domain
isp-name
]
undo ppp authentication-mode
View
Interface view
Parameter
chap
,
pap
: Authentication mode. You must specify either option, but not both of them.
call-in
: Authenticates the peer only when the remote user calls in.
domain
: Domain name in user authentication.