38

Session Timeout

Use these commands to modify and display the session timeout values. You must use the configure terminal command before you can use these commands.

Table 149 Session Timeout Commands

COMMAND

DESCRIPTION

session timeout {udp-connect <1..300> udp-

Sets the timeout for UDP sessions to connect or

deliver <1..300> icmp <1..300>}

deliver and for ICMP sessions.

session timeout { tcp-close <1..300> tcp-

Sets the timeout for TCP sessions in the

closewait <1..300> tcp-established

ESTABLISHED, SYN_RECV, FIN_WAIT,

<1..432000> tcp-finwait <1..300> tcp-

SYN_SENT, CLOSE_WAIT, LAST_ACK, or

lastack <1..300> tcp-synrecv <1..300> tcp-

TIME_WAIT state.

synsent <1..300> tcp-timewait <1..300> }

 

show session timeout {icmp tcp udp}

Displays ICMP, TCP, and UDP session timeouts.

The following example sets the UDP session connect timeout to 10 seconds, the UDP deliver session timeout to 15 seconds, and the ICMP timeout to 15 seconds.

Router(config)# session timeout udp-connect 10

Router(config)# session timeout udp-deliver 15

Router(config)# session timeout icmp 15

Router(config)# show session timeout udp

UDP session connect timeout: 10 seconds

UDP session deliver timeout: 15 seconds

Router(config)# show session timeout icmp

ICMP session timeout: 15 seconds

 

255

NXC CLI Reference Guide