14-9
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] description This acl is used in geth 1/0/1
display acl
Syntax
display
acl
{
acl-number
|
all
|
name
acl-name
}
View
Any view
Default Level
1: Monitor level
Parameters
acl-number
: IPv4 ACL number, which must be in the following ranges:
z
2000 to 2999 for basic IPv4 ACLs
z
3000 to 3999 for advanced IPv4 ACLs
z
4000 to 4999 for Ethernet frame header ACLs
all
: Specifies all IPv4 ACLs.
name acl-name
: Specifies the name of the ACL, which is a case insensitive string of 1 to 32 characters.
It must start with an English letter and cannot be the English word of all to avoid confusion.
Description
Use the
display
acl
command to display information about a specified IPv4 ACL or all IPv4 ACLs.
Note that this command displays ACL rules in the match order.
Examples
# Display information about IPv4 ACL 2001.
<Sysname> display acl 2001
Basic ACL 2001, named flow, 1 rule,
ACL's step is 5
rule 5 permit source 1.1.1.1 0 (5 times matched)
rule 5 comment This rule is used in geth 1/0/1
Table 14-3 display acl
command output description
Field
Description
Basic ACL 2001
The displayed information is about basic IPv4 ACL
2001.
named flow
The name of the ACL is flow.
1 rule
The ACL contains one rule.
ACL's step is 5
The rule numbering step is 5.
5 times matched
There have been five matches for the rule. Only ACL
matches performed by software are counted.
This field is not displayed when no match is found.
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...