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:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Set the TSA ID of the LTS and enable L2TP loop detection on the LTS. | l2tp tsa-id tsa-id | By default, the TSA ID of the LTS is not configured, and L2TP loop detection is disabled on the LTS. |