R0106-HP MSR Router Series Layer 2 - WAN Configuration Guide(V7)
72
To enable session flow control:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter L2TP group view.
l2tp-group group-number [ mode { lac
| lns } ]
N/A
3. Enable the session flow
control function.
tunnel flow-control
By default, this function is
disabled.
Configuring the DSCP value of L2TP packets
The Differentiated Services Code Point (DSCP) field is the first 6 bits of the IP ToS byte. This field marks the
priority of IP packets for forwarding. This feature sets the DSCP value for the IP packet when L2TP
encapsulates a PPP frame into an IP packet.
To configure the DSCP value of L2TP packets:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter L2TP group view.
l2tp-group group-number [ mode { lac
| lns } ]
N/A
3. Configure the DSCP value of
L2TP packets.
ip dscp dscp-value The default setting is 0.
Configuring the VPN for a tunnel peer
By default, the device transmits L2TP control messages and data messages over the public network. With
this feature, the device transmits them in a specified VPN by searching the routing table in that specified
VPN.
When one L2TP endpoint is in a VPN, you should configure this endpoint to belong to the VPN on the
peer for correct packet forwarding between the two endpoints.
To configure the VPN for a tunnel peer:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter L2TP group view.
l2tp-group group-number [ mode { lac
| lns } ]
N/A
3. Configure the VPN to which
the tunnel peer belongs.
vpn-instance vpn-instance-name
By default, a tunnel peer belongs
to the public network.
The tunnel peer and the physical
port connecting to the tunnel peer
should belong to the same VPN.
The VPN to which this physical
port belongs is configured by
using the ip binding vpn-instance
command.










