timeout


Set the maximum idle time duration. (Configuration mode.)


   timeout [xlate [hh:mm:ss]] 
           [conn [hh:mm:ss]] 
           [half-closed [hh:mm:ss]] 
           [udp [hh:mm:ss]] 
           [rpc [hh:mm:ss]] 
           [h323 [hh:mm:ss]] 
           [sip [hh:mm:ss]] 
           [sip_media [hh:mm:ss]]
           [uauth [hh:mm:ss] 
           [absolute | inactivity]]

   clear timeout

   show timeout


Syntax Description

xlate hh:mm:ss Idle time until a translation slot is freed. This duration must be at least 1 minute. The default is 3 hours.
conn hh:mm:ss Idle time until a connection slot is freed. Use 0:0:0 for the time value to never time out a connection. This duration must be at least 5 minutes. The default is 1 hour.
half-closed hh:mm:ss Idle time until a TCP half-close connection is freed. The default is 10 minutes. Use 0:0:0 to never time out a half-closed connection. The minimum is 5 minutes.
udp hh:mm:ss Idle time until a UDP slot is freed. This duration must be at least 1 minute. The default is 2 minutes.
rpc hh:mm:ss Idle time until an RPC slot is freed. This duration must be at least 1 minute. The default is 10 minutes.
sip hh:mm:ss Modifies the SIP timer. SIP signalling port is set to a default of 30 minutes.
sip_media hh:mm:ss Modifies the media timer, which is used for SIP RTP/RTCP with SIP UDP media packets, instead of the UDP inactivity timeout. SIP media port is set to 2 minutes in the list of protocol timers.
h323 hh:mm:ss Duration for H.323 inactivity timer. When this time elapses, the port used by the H.323 service closes. This duration must be at least 5 minutes. The default is 5 minutes.
uauth hh:mm:ss Duration before authentication and authorization cache times out and user has to re authenticate next connection. This duration must be shorter than the xlate values. Set to 0 to disable caching. Do not set to zero if passive FTP is used on the connections.
absolute Run uauth timer continuously, but after timer elapses, wait to reprompt the user until the user starts a new connection, such as clicking a link in a web browser. The default uauth timer is absolute. To disable absolute, set the uauth timer to 0 (zero).
inactivity Start uauth timer after a connection becomes idle.


Usage Guidelines

The timeout command sets the idle time for connection, translation UDP RPC, and H.323 slots. If the slot has not been used for the idle time specified, the resource is returned to the free pool. TCP connection slots are freed approximately 60 seconds after a normal connection close sequence.

The clear timeout command sets the durations to their default values.

Do not use the timeout uauth 0:0:0 command if passive FTP is used for the connection, or if the virtual command is used for Web authentication.

The connection timer takes precedence over the translation timer, such that the translation timer only works after all connections have timed out.


uauth inactivity and absolute Qualifiers

The uauth inactivity and absolute qualifiers cause users to have to reauthenticate after either a period of inactivity or an absolute duration.

If you set the inactivity timer to a duration, but the absolute timer to zero, then users are only reauthenticated after the inactivity timer elapses. If you set both timers to zero, then users have to reauthenticate on every new connection.

The inactivity timer starts after a connection becomes idle. If a user establishes a new connection before the duration of the inactivity timer, the user is not required to reauthenticate. If a user establishes a new connection after the inactivity timer expires, the user must reauthenticate. The default durations are zero for the inactivity timer and 5 minutes for the absolute timer; that is, the default behavior is to cause the user to reauthenticate every 5 minutes.

The absolute timer runs continuously, but waits to reprompt the user when the user starts a new connection, such as clicking a link and the absolute timer has elapsed, then the user is prompted to reauthenticate. The absolute timer must be shorter than the xlate timer; otherwise, a user could be reprompt after their session already ended.

Inactivity timers give users the best Web access because they are not prompted to regularly reauthenticate. Absolute timers provide security and manage the firewall connections better. By being prompted to reauthenticate regularly, users manage their use of the resources more efficiently. Also by being reprompted, you minimize the risk that someone will attempt to use another user's access after they leave their workstation, such as in a college computer lab. You may want to set an absolute timer during peak hours and an inactivity timer thereafter.

Both an inactivity timer and an absolute timer can operate at the same time, but you should set the absolute timer duration longer than the inactivity timer. If the absolute timer is less than the inactivity timer, the inactivity timer never occurs. For example, if you set the absolute timer to 10 minutes and the inactivity timer to an hour, the absolute timer reprompts the user every 10 minutes; therefore, the inactivity timer will never be started.

Use the show timeout command to display the current timeout command settings.

RPC and NFS are very unsecure protocols and should be used with caution.


Examples

The following is sample output from the show timeout command:

    show timeout
    timeout  xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 
     sip 0:30:00  sip_media 0:02:00
    timeout  uauth 0:05:00 absolute
 

The following is sample output from the timeout command in which variables are changed and then displayed with the show timeout command:

    timeout  uauth 0:5:00 absolute  uauth 0:4:00 inactivity
    show timeout
    timeout  xlate 3:00:00
    timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 
     sip 0:30:00  sip_media 0:02:00
    timeout  uauth 0:05:00 absolute  uauth 0:04:00 inactivity

Delete all authorization caches for a user. (Privileged mode.)

uauth [username]
uauth [username]


Syntax

username Clear or view user authentication information by username.