7
display acfp rule-info
Syntax
display acfp rule-info
{
in-interface
[
interface-type interface-number
] |
out-interface
[
interface-type
interface-number
] |
policy
[
client-id policy-index
] } [
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
in-interface
: Displays ACFP rule information in order of inbound interface. The ACFP rule information
which does not include the inbound interface is not displayed.
out-interface
: Displays ACFP rule information in order of outbound interface. The ACFP rule information
which does not include the outbound interface is not displayed.
interface-type interface-number
: Specifies an interface by its type and number.
policy
: Displays the ACFP rule information in order of policy.
client-id
: ACFP client ID, in the range of 1 to 2147483647.
policy-index
: Policy index, in the range of 1 to 2147483647.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see CLI configuration in the
Configuration 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, which is a case sensitive string of 1 to 256 characters.
Description
Use the
display acfp rule-info
command to display ACFP rule information.
NOTE:
•
When you use this command to display ACFP rule information in order of policy, if you specify neither
client ID nor policy index, the rule information of all the policies is displayed.
•
When you use this command to display ACFP rule information in order of outbound/inbound interface,
if you specify no interface, the rule information for all the inbound interfaces or outbound interfaces is
displayed.
Examples
# Display ACFP rule information in order of inbound interface.
<Sysname> display acfp rule-info in-interface gigabitethernet 1/0/1
In-Interface: GigabitEthernet1/0/1
ACFP rule total number: 1
ClientID:2 Policy-Index:2 Rule-Index:5
SMAC:00-01-02-03-04-05 DMAC:01-02-03-04-05-06
StartVLAN:2000 EndVLAN:2004