R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

88
Usage guidelines
By default, to establish a NAS-initiated tunnel, the user performs LCP negotiation with the LAC. If the
negotiation succeeds, the LAC initiates a tunneling request and sends the negotiation results (including
authentication information) to the LNS. Then, the LNS determines whether the user is valid based on the
information received instead of performing LCP renegotiation with the user.
If you do not expect the LNS to accept LCP negotiation parameters, configure this command to perform
a new round of LCP negotiation between the LNS and the user. In this case, the information sent by the
LAC will be ignored.
Some users might not support LCP renegotiation. In this case, do not configure this command because
LCP renegotiation will fail.
This command is available only to L2TP groups in LNS mode.
This command is effective only on NAS-initiated L2TP tunnels.
This command takes precedence over the mandatory-chap command. If both commands are configured
for an L2TP group, the LNS performs LCP renegotiation with the user.
Examples
# Force an LNS to perform LCP renegotiation with users.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lns
[Sysname-l2tp1] mandatory-lcp
Related commands
mandatory-chap
reset counters interface virtual-ppp
Use reset counters interface virtual-ppp to clear the statistics for virtual PPP interfaces.
Syntax
reset counters interface [ virtual-ppp [ interface-number ] ]
Views
User view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a virtual PPP interface by its number in the range of 0 to 255.
Usage guidelines
Clear the existing statistics before collecting traffic statistics regularly on an interface.
If you specify neither virtual-ppp nor interface-number, this command clears the statistics for all
interfaces.
If you specify virtual-ppp but not interface-number, this command clears the statistics for all virtual PPP
interfaces.
If you specify both virtual-ppp and interface-number, this command clears the statistics for the specified
virtual PPP interface.