388
<Sysname> reset session statistics
session aging-time
Use
session aging-time
to set the aging timer for sessions of a specified protocol that are in a
specified state.
Use
undo session aging-time
to restore the default. If no keyword is specified, the command
restores the session aging timers for all protocol states to the defaults.
Syntax
session aging-time
{
accelerate
|
fin
|
icmp-closed
|
icmp-open
|
rawip-open
|
rawip-ready
|
syn
|
tcp-est
|
udp-open
|
udp-ready
}
time-value
undo session aging-time
[
accelerate
|
fin
|
icmp-closed
|
icmp-open
|
rawip-open
|
rawip-ready
|
syn
|
tcp-est
|
udp-open
|
udp-ready
]
Default
The defaults vary with device models.
Views
System view
Default command level
2: System level
Parameters
accelerate
: Specifies the aging timer for the sessions in the accelerate queue.
fin
: Specifies the aging timer for the TCP sessions in the FIN_WAIT state.
icmp-closed
: Specifies the aging timer for the ICMP sessions in the CLOSED state.
icmp-open
: Specifies the aging timer for the ICMP sessions in the OPEN state.
rawip-open
: Specifies the aging timer for the sessions in the RAWIP_OPEN state.
rawip-ready
: Specifies the aging timer for the sessions in the RAWIP_READY state.
syn
: Specifies the aging timer for the TCP sessions in the SYN_SENT or SYN_RCV state.
tcp-est
: Specifies the aging timer for the TCP sessions in the ESTABLISHED state.
udp-open
: Specifies the aging timer for the UDP sessions in the OPEN state.
udp-ready
: Specifies the aging timer for the UDP sessions in the READY state.
time-value
: Aging time in seconds, in the range of 5 to 100000.
Usage guidelines
If no keyword is specified, the command restores the session aging times for all protocol states to the
defaults.
The defaults as follows:
•
ACCELERATE state: 10 seconds.
•
TCP FIN_WAIT state: 30 seconds.
•
ICMP CLOSED state: 30 seconds.
•
ICMP OPEN state: 60 seconds.
•
RAWIP_OPEN state: 30 second.
•
RAWIP_READY state: 60 seconds.
•
TCP SYN_SENT and SYN_RCV state: 30 seconds.