L2TP dial-out configuration tasks include the following sets of tasks:
You can define an L2TP dial-out target by using the l2tp dial-out target command. When the router receives packets destined for the target, it creates a dial-out session.
To create a dial-out session:
When you create a target, you must specify the following:
Use the default version to remove the L2TP dial-out route. Use the no version to remove the L2TP dial-out route or target.
You can optionally set the maximum time allowed for successful establishment of an L2TP dial-out session.
To set the maximum time allowed for attempts to establish L2TP dial-out sessions:
If the session fails to be established before the connecting timer expires, subsequent attempts to establish the dial-out session to the same destination are inhibited temporarily. The range is 30–3600 seconds.
Use the no version to set the connecting timer to the default, 30 seconds.
You can optionally specify the duration for which the dial-out session stays in the dormant state waiting for a new trigger after the associated L2TP outgoing call ends.
To set how long the dial-out session waits in the dormant state for a new trigger after the associated L2TP outgoing call ends:
If no trigger is received before the dormant timer expires, the dial-out session is deleted. The range is 0–3600 seconds.
Use the no version to set the dormant timer to the default, 300 seconds (5 minutes).
You can optionally set the maximum number of buffered trigger packets held for any dial-out session pending the successful establishment of the L2TP session. Once the session is established, the buffered trigger packets are transmitted.
To set the maximum number of trigger packets held in buffer while the dial-out session is being established:
If the configured maximum number of buffered trigger packets is exceeded, any new trigger packets received are discarded. The range of values is 0–50.
Use the no version to set the number of trigger buffers to the default, 0.
You can manually delete a dial-out session to close any L2TP outgoing call associated with the dial-out session.
To delete a dial-out session:
There is no no version.
You can reset a dial-out session by forcing it to the dormant state. After you reset a dial-out session, any L2TP outgoing call associated with that session is closed.
To force the dial-out session to the dormant state where it remains until the dormant timer expires or it receives a new trigger:
There is no no version.