Configuring Timeout
You can configure an idle or a session timeout. The values you set are the default values for PPP B-RAS users. Attributes returned by RADIUS override these default settings on a per-user basis.
aaa timeout
- Use to set either an idle or a session timeout.
- The range in seconds for an idle timeout is 30086400.
- The range in seconds for a session timeout is a minimum of 1 minute (60 seconds) through a maximum of 366 days (31622400 seconds).
- These values can also be set by RADIUS, where the range is not enforceable. PPP and L2TP will round the timeout values from RADIUS as follows:
- If the session timeout is less than the minimum (60 seconds), that value is used.
- If the idle timeout is less than the minimum (300 seconds), it is rounded up to the minimum.
- If either timeout is greater than the maximum, it is rounded down to the maximum.
- All other timeouts are rounded to the nearest minute.
host1(config)#aaa timeout idle 1200Example 2 host1(config)#aaa timeout session 3600For a session timeout, the router interprets the default value (indicated by 0) to mean that the PPP or L2TP user session should be forced to the maximum session timeout, 366 days. This means that the duration of a PPP or an L2TP user session cannot exceed 366 days; once the maximum session timeout is reached, the router terminates the user session. Use the no version to restore the idle or session timeout to its default value, 0 (seconds).