A SERVICE OF

logo

2000 CHAPTER 131: ASPF CONFIGURATION COMMANDS
# Set the SYN wait timeout period of the TCP session to 20 seconds.
[Sysname-aspf-policy-1] aging-time syn 20
# Set the FIN wait timeout period of the TCP session to 10 seconds.
[Sysname-aspf-policy-1] aging-time fin 10
# Set the TCP idle timeout period to 3000 seconds.
[Sysname-aspf-policy-1] aging-time tcp 3000
# Set the UDP idle timeout period to 110 seconds.
[Sysname-aspf-policy-1] aging-time udp 110
aspf-policy
Syntax aspf-policy aspf-policy-number
undo aspf-policy aspf-policy-number
View System view
Parameter aspf-policy-number: ASPF policy number, in the range of 1 to 99
Description Use the
aspf-policy command to create an ASPF policy and enter its view.
Use the undo aspf-policy command to remove an ASPF policy.
A defined ASPF policy can be applied through its policy number.
Example # Create an ASPF policy and enter the corresponding ASPF policy view.
<Sysname> system-view
[Sysname] aspf-policy 1
[Sysname-aspf-policy-1]
detect
Syntax detect protocol [ java-blocking acl-number ] [ aging-time seconds ]
undo detect protocol
View ASPF policy view
Parameter protocol: Name of a protocol supported by the ASPF. Application layer protocols
include FTP, HTTP, H.323, SMTP, and RTSP, and transport layer protocols include
TCP and UDP.