369
Usage guidelines
A defined ASPF policy can be applied through its policy number.
Examples
# Create an ASPF policy and enter the corresponding ASPF policy view.
<Sysname> system-view
[Sysname] aspf-policy 1
[Sysname-aspf-policy-1]
display aspf all
Use
display
aspf
all
to view information about all ASPF policies.
Syntax
display
aspf
all
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Views
Any view
Default command level
1: Monitor level
Parameters
|
: 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 information about all ASPF policies.
<Sysname> display aspf all
[ASPF Policy Configuration]
Policy Number 1:
icmp-error drop
tcp syn-check
Policy Number 2:
undo icmp-error drop
undo tcp syn-check
[Interface Configuration]
Interface InboundPolicy OutboundPolicy
---------------------------------------------------------------
GigabitEthernet3/0/1 1 2
Table 56 Command output
Field
Description
[ASPF Policy Configuration]
ASPF policy configuration information.
Policy Number
ASPF policy number.