8
Parameters
acl-number
: Specifies an IPv4 ACL by its number:
•
2000 to 2999 for basic ACLs
•
3000 to 3999 for advanced ACLs
•
4000 to 4999 for Ethernet frame header ACLs
all
: Displays information for all IPv4 ACLs.
name
acl-name
: Specifies an IPv4 ACL by its name. The
acl-name
argument takes a case insensitive
string of 1 to 63 characters. It must start with an English letter.
slot
slot-number
: Displays ACL rule match statistics on an IRF member switch. The
slot-number
argument
represents the member ID of the device in the IRF virtual device. Available values for the
slot-number
argument are member IDs already assigned in the IRF virtual device. You can use the
display irf
command to display information about the member switches in an IRF virtual device.
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see the
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
acl
command to display configuration and match statistics for the specified IPv4 ACL or
all IPv4 ACLs.
This command displays ACL rules in config or depth-first order, whichever is configured.
Examples
# Display the configuration and match statistics for all IPv4 ACLs.
<Sysname> display acl all
Basic ACL 2000, named flow, 3 rules,
Statistics is enabled
ACL's step is 5
rule 0 permit
rule 5 permit source 1.1.1.1 0 (5 times matched)
rule 10 permit vpn-instance mk
Basic ACL 2001, named -none-, 3 rules, match-order is auto,
ACL's step is 5
rule 10 permit vpn-instance rd
rule 10 comment This rule is used in VPN rd.
rule 5 permit source 2.2.2.2 0
rule 0 permit
Table 1
Output description
Field
Description
Basic ACL 2000
Category and number of the ACL. The following field information is
about IPv4 basic ACL 2000.