87
This feature takes effect on both sent and received L2TP data messages. The L2TP sessions support this
feature if either the LAC or LNS is enabled with this feature.
To enable session flow control:
Ste
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 feature.
tunnel flow-control By default, this feature is disabled.
Setting the DSCP value of L2TP packets
The 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 set the DSCP value of L2TP packets:
Ste
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. Set the DSCP value of L2TP
packets.
ip dscp dscp-value The default setting is 0.
Assigning a tunnel peer to a VPN
By default, the device transmits L2TP control messages and data messages over the public network. With
this feature, the device transmits them in a specific VPN by searching the routing table in that specified
VPN.
When one L2TP endpoint is in a VPN, assign the peer endpoint to the VPN for correct packet forwarding
between the two endpoints.
To configure the VPN for a tunnel peer:
Ste
Command
Remarks
1. Enter system view.
system-view
N/A
2. Enter L2TP group view.
l2tp-group group-number [ mode { lac
| lns } ]
N/A