Configuring ppp – H3C Technologies H3C SecPath F1000-E User Manual
Page 47

3
1.
A PPP link is in the Establish phase when it is about to be established. In this phase, LCP negotiation
is performed, where LCP-related settings are determined, including operating mode (SP or MP), the
authentication mode, and the Maximum Transmission Unit (MTU). If the negotiation is successful,
the link enters the Opened state, indicating that the underlying layer link has been established.
2.
If the authentication (the remote verifies the local or the local verifies the remote) is configured, the
PPP link goes to the Authenticate phase, where PAP or CHAP authentication is performed.
3.
If the authenticatee fails to pass the authentication, the link goes to the Terminate phase, where the
link is torn down and LCP goes down. If the authenticatee passes the authentication, the link goes
to the Network phase. In this phase, NCP negotiation is performed, the LCP state remains Opened,
and the state of IP Control Protocol (IPCP) is changed from Initial to Request.
4.
NCP negotiation supports the negotiation of IPCP, through which the IP addresses of both sides
can be determined. NCP negotiation also determines and configures the network layer protocol to
be used. Note that a PPP link can carry a network layer protocol only after the NCP negotiation
succeeds.
5.
After the NCP negotiation is performed, the PPP link remains active until explicit LCP or NCP
frames close the link, or until some external events take place (for example, the intervention of a
user).
Figure 3 PPP link phases
For more information about PPP, see RFC 1661.
Configuring PPP
Follow these steps to configure PPP:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a VT interface and enter VT interface view
interface virtual-template
number
—
Configure a description for the interface
description text
Optional
By default, the
description of a VT
interface is interface
name Interface.
Configure the MTU for the interface
mtu size
Optional
1500 bytes by default.
Set the polling interval
timer hold seconds
Optional
10 seconds by default.