Comware CLI Commands in Provision Software 2013/06

2 Display Commands
display acl <acl-number> | name <acl-name>>
Related ProvisionComware
show access-list <number | name>display acl <acl-number> | name <acl-name>>
Displays configuration and match statistics for the specified or all IPv4 ACLs. This command displays
ACL rules in config or depth-first order, whichever is configured.
HP Switch# display acl 2001
Basic ACL 2001, named -flow-, 2 rules,
Statistics enabled
ACL's step is 5
rule 1 permit source 1.1.1.1 0 (5 times matched)
rule 2 permit source 1.1.1.2 0 (No statistics resource)
Field Descriptions
Basic ACL 2001: Category and number of the ACL. The following field information is about IPv4
basic ACL 2001.
named flow: The name of the ACL is flow. "-none-" means the ACL is not named.
2 rules: The ACL contains two rules.
Statistics enabled: The rule match counting is enabled for this ACL.
ACL's step is 5: The rule numbering step is 5.
5 times matched: There have been five matches for the rule. The statistic counts only ACL matches
in the packet filter. This field is not displayed when no packets have matched the rule.
No statistics resource: Resources are not enough for counting matches for the IPv4 rules.
This information indicates that the switch failed to allocate resources for counting matches for the
rule when you applied the packet-filter command to an interface. Even if resources have become
available after that, the switch does not change the information or count matches for the rule. To
count matches for the rule, you must delete and then add the rule.
Uncompleted: Applying the rule to hardware failed because no sufficient resources were available
or the hardware does not support the rule. This event might occur when you modify a rule in an
ACL that has been applied.
Operating Notes
For more information, see the “Access Control Lists (ACLs)” chapter in the latest Access Security
Guide for your switch.
Minimum Software Version: 15.11.
Example of Related ProVision Software Command Output.
HP Switch(config)# show access-list 1
Access Control Lists
Name: 1
Type: Standard
Applied: No
SEQ Entry
-----------------------------------------------------------------------------
18 Display Commands