377
Session management commands
application aging-time
Use
application aging-time
to set the aging timer for the sessions of an application layer protocol.
Use
undo application aging-time
to restore the default.
Syntax
application aging-time
{
dns
|
ftp
|
msn
|
|
sip
}
time-value
undo application aging-time
[
dns
|
ftp
|
msn
|
|
sip
]
Default
The default session aging times for the application layer protocols vary with device models.
Views
System view
Default command level
2: System level
Parameters
dns
: Specifies the aging time for DNS sessions.
ftp
: Specifies the aging time for FTP sessions.
msn
: Specifies the aging time for MSN sessions.
: Specifies the aging time for QQ sessions.
sip
: Specifies the aging time for SIP sessions.
time-value
: Specifies the aging time in seconds, in the range of 5 to 100000.
Usage guidelines
If no application layer protocol type is specified, the command restores the session aging timers for
the application layer protocols to the defaults.
The default session aging times for the application layer protocols are as follows:
•
DNS: 60 seconds
•
FTP: 3600 seconds
•
MSN: 3600 seconds
•
QQ: 60 seconds
•
SIP: 300 seconds
Examples
# Set the aging timer for FTP sessions to 1800 seconds.
<Sysname> system-view
[Sysname] application aging-time ftp 1800
display application aging-time
Use
display application aging-time
to display the session aging timers for the application layer
protocols.