display aspf policy
Use display aspf policy to view information about an ASPF policy.
Syntax
display aspf policy aspf-policy-number [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
aspf-policy-number: Specifies an ASPF policy number in the range of 1 to 99.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display ASPF policy 1
<Sysname> display aspf policy 1
[ASPF Policy Configuration]
Policy Number 1:
icmp-error drop
tcp syn-check
Table 58 Command output
Field
[ASPF Policy Configuration]
Policy Number
icmp-error drop
tcp syn-check
display port-mapping
Use display port-mapping to view port mapping information.
Syntax
display port-mapping [ application-name | port port-number ] [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Description
ASPF policy configuration information.
ASPF policy number.
Drop ICMP error messages.
Drop non-SYN packet that is the first packet over a
TCP connection.
371