HP MSR2000/3000/4000 Router Series Layer 2 - WAN Configuration Guide
48
Enabling session flow control
The L2TP session flow control function adds sequence numbers to transmitted packets, and uses them to
reorder packets arriving out of order and to detect lost packets.
This function takes effect on both sent and received L2TP data messages. The L2TP sessions support this
function if either the LAC or LNS is enabled with this function.
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