< Home

display acl

Function

The display acl command displays ACL rules.

Format

display acl { acl-number | all }

Parameters

Parameter Description Value

all

Indicates all ACLs.

-

acl-number

Specifies the number of an ACL.

It is a configured ACL number.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the rules in ACL 2001.

<sysname> display acl 2001
Basic ACL  2001, 1 rule ( Reference counter 0 )
Acl's step is 5
 rule 5 permit source 10.1.1.1 0 (0 times matched)
Table 1 Description of the display acl command output

Item

Description

Basic ACL 2001, 1 rule ( Reference counter 0 )

This basic ACL is numbered 2001 and contains only one rule. It is not bound to any VPN instances. Reference counter indicates the number of times this ACL is referenced.

Acl's step is 5

Indicates that the ACL step is 5.

rule 5 permit source 10.1.1.1 0 (0 times matched)

Indicates the configuration of rule 5 and matched times.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >