Configuring L2TP Dial-Out
L2TP dial-out configuration tasks include the following sets of tasks:
- Creating an L2TP Dial-Out Session
- Specifying the Maximum Timeout Period for Establishing an L2TP Dial-Out Session
- Specifying the Duration for an L2TP Dial-Out Session to Remain in Dormant State
- Specifying the Maximum Triggers to Buffer for an L2TP Dial-Out Session
- Deleting an L2TP Dial-Out Session
- Resetting an L2TP Dial-Out Session
Creating an L2TP Dial-Out Session
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:
- Issue the l2tp dial-out target command in Global Configuration mode.host1(config)#l2tp dial-out target 10.10.0.0 255.255.0.0 L2TP-dial-out.de.dt profile dialOut
When you create a target, you must specify the following:
- ipAddress—IP address of the target
- ipAddressMask—IP address mask of the target
- domainName—Domain name used in the outgoing call Access-Request message
- profileName—Name of profile used to create the interface stack
Use the default version to remove the L2TP dial-out route. Use the no version to remove the L2TP dial-out route or target.
Specifying the Maximum Timeout Period for Establishing an L2TP Dial-Out Session
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:
- Issue the l2tp dial-out connecting-timer-value command in Global Configuration mode.host1(config)#l2tp dial-out connecting-timer-value 30
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.
Specifying the Duration for an L2TP Dial-Out Session to Remain in Dormant State
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:
- Issue the l2tp dial-out dormant-timer-value command in Global Configuration mode.host1(config)#l2tp dial-out dormant-timer-value 300
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).
Specifying the Maximum Triggers to Buffer for an L2TP Dial-Out Session
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:
- Issue the l2tp dial-out max-buffered-triggers command in Global Configuration mode.host1(config)#l2tp dial-out max-buffered-triggers 50
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.
Deleting an L2TP Dial-Out Session
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:
- Issue the l2tp dial-out session delete command in Global Configuration mode.host1#l2tp dial-out session delete 10.10.0.0
There is no no version.
Resetting an L2TP Dial-Out Session
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:
- Issue the l2tp dial-out session reset command in Global Configuration mode.host1#l2tp dial-out session reset 10.10.0.0
There is no no version.
Related Documentation
- L2TP Dial-Out Network Model
- L2TP Dial-Out Process
- L2TP Dial-Out Outgoing Call Setup Details
- Monitoring Chassis-wide Configuration for L2TP Dial-out
- Monitoring Status of Dial-out Sessions
- Monitoring Dial-out Targets within the Current VR Context
- Monitoring Operational Status within the Current VR Context
- l2tp dial-out connecting-timer-value
- l2tp dial-out dormant-timer-value
- l2tp dial-out max-buffered-triggers
- l2tp dial-out session delete
- l2tp dial-out session reset
- l2tp dial-out target