Configuring an ASPF policy
Follow these guidelines when you configure an ASPF policy:
If you enable TCP or UDP inspection without configuring application layer protocol inspection, some packets might fail to get a response. Therefore, enable application layer protocol inspection together with TCP/UDP inspection.
In the case of a Telnet application, you only need to configure TCP inspection.
The timeout value specified in the detect command takes precedence to that specified in the aging-time command.
To configure an ASPF policy:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create an ASPF policy and enter its view. | aspf-policy aspf-policy-number | N/A |
3. Set the TCP/UDP session timeout periods. | aging-time { fin | syn | tcp | udp } seconds | Optional. The defaults are as follows:
|
4. Configure ASPF inspection for application layer and transport layer protocols. | detect protocol [ java-blocking acl-number ] [ aging-time seconds ] | Optional. The default timeouts are as follows:
|