Configuring the L2TP Destination Lockout Timeout
When multiple sets of tunneling parameters are available, L2TP uses a selection process to choose the best tunnel for subscriber traffic. As part of this selection process, L2TP locks out destinations it cannot connect to when a subscriber tries to reach a domain. L2TP places the destination on the destination lockout list and excludes the destination from consideration for a configurable period called the destination lockout timeout.
By default, the destination lockout timeout is 300 seconds (5 minutes). You can configure a value from 60 through 3600 seconds (1 minute through 1 hour). When the lockout timeout expires, L2TP assumes that the destination is now available and includes the destination when performing the tunnel selection process. The destination lockout period is a global value and is not individually configurable for particular destinations, tunnels, or tunnel groups.
![]() | Best Practice: Configure the lockout timeout to be equal to or shorter than the destruct timeout. Otherwise, the destruct timeout expires before the lockout timeout. In this event, the locked-out destination is destroyed and can be subsequently returned to service before the lockout timeout expires, thus negating the effectiveness of the lockout timeout. |
To configure the destination lockout timeout:
- Specify the period in seconds.[edit services l2tp destination]user@host# set lockout-timeout seconds
The show services l2tp destination lockout command displays the destination lockout list and for each destination indicates how much time remains before its timeout expires. The show services l2tp destination detail command indicates for each destination whether it is locked and waiting for the timeout to expire or not locked.
