![H3C SR8800-F Скачать руководство пользователя страница 281](http://html2.mh-extra.com/html/h3c/sr8800-f/sr8800-f_configuration-manual_4025863281.webp)
265
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.
Enable L2TP tunnel
authentication.
tunnel authentication
By default, L2TP tunnel
authentication is enabled.
4.
Set the tunnel
authentication key.
tunnel password
{
cipher
|
simple
}
string
By default, no key is set.
Setting the Hello interval
To check the connectivity of a tunnel, the LAC and LNS periodically send each other Hello packets.
At receipt of a Hello packet, the LAC or LNS returns a response packet. If the LAC or LNS receives
no response packets from the peer within the Hello interval, it retransmits the Hello packet. If it
receives no response packets from the peer after transmitting the Hello packet eight times, it
considers the L2TP tunnel to be down.
To set the Hello interval:
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 Hello interval.
tunnel timer hello
hello-interval
The default setting is 60 seconds.
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.
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.