371
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
Description
[ASPF Policy Configuration]
ASPF policy configuration information.
Policy Number
ASPF policy number.
icmp-error drop
Drop ICMP error messages.
tcp syn-check
Drop non-SYN packet that is the first packet over a
TCP connection.
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