Display Acl - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

Default Level
2: System level
Parameters
text: ACL description, a case-sensitive string of 1 to 127 characters.
Description
Use the description command to configure a description for an ACL.
Use the undo description command to remove the ACL description.
By default, an ACL has no ACL description.
Related commands: display acl.
Examples
# Configure a description for basic ACL 2000.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] description This acl is used on GE1/0/1

display acl

Syntax
display acl { acl-number | all | name acl-name }
View
Any view
Default Level
1: Monitor level
Parameters
acl-number: Specifies an 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 ACLs.
name acl-name: Specifies an ACL by its name. The acl-name argument takes a case insensitive string
of 1 to 32 characters. It must start with an English letter.
Description
Use the display acl command to display configuration and match statistics for the specified or all ACLs.
This command displays ACL rules in the config or depth-first order, whichever is configured.
Examples
# Display information about ACL 2001.
<Sysname> display acl 2001
1-4

Advertisement

Table of Contents
loading

Table of Contents