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

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.