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:
Step
1.
Enter system view.
2.
Enter L2TP group view.
3.
Set the DSCP value of
L2TP packets.
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 VPN by searching the routing table in the 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 assign the tunnel peer to a VPN:
Step
1.
Enter system view.
2.
Enter L2TP group view.
3.
Assign the tunnel peer to
a VPN.
Setting the TSA ID of the LTS
To detect loops, the LTS compares the configured TSA ID with each TSA ID AVP in a received ICRQ
packet.
•
If a match is found, a loop exists. The LTS immediately tears down the session.
•
If no match is found, the LTS performs the following operations:
Encapsulates the configured TSA ID into a new TSA ID AVP.
Appends it to the packet.
Sends the packet to the next hop LTS.
To avoid loop detection errors, make sure the TSA ID of each LTS is unique.
To set the TSA ID of the LTS:
Command
system-view
l2tp-group group-number [ mode
{ lac | lns } ]
ip dscp dscp-value
Command
system-view
l2tp-group group-number [ mode
{ lac | lns } ]
vpn-instance vpn-instance-name
84
Remarks
N/A
N/A
The default setting is 0.
Remarks
N/A
N/A
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
ip
using
the
vpn-instance command.
binding
Need help?
Do you have a question about the FlexNetwork MSR series and is the answer not in the manual?