You can set different Hello intervals for the LNS and LAC.
Examples
# Set the Hello interval to 90 seconds.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lac
[Sysname-l2tp1] tunnel timer hello 90
ip dscp
Use ip dscp to configure the DSCP value of L2TP packets.
Use undo ip dscp to restore the default.
Syntax
ip dscp dscp-value
undo ip dscp
Default
The DSCP value of L2TP packets is 0.
Views
L2TP group view
Predefined user roles
network-admin
Parameters
dscp-value: Specifies the DSCP value of L2TP packets, in the range of 0 to 63.
Usage guidelines
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 command sets the DSCP value for the IP packet when L2TP
encapsulates a PPP frame into an IP packet.
Examples
# Configure the DSCP value of L2TP packets as 50.
<Sysname> system-view
[Sysname] l2tp-group 1 mode lac
[Sysname-l2tp1] ip dscp 50
timer-hold
Use timer-hold to set the polling interval, the interval for sending keepalive packets.
Use undo timer-hold to restore the default.
Syntax
timer-hold seconds
undo timer-hold
59