Display Acl - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

You can give ACLs descriptions to provide relevant information such as their application purposes and
the ports they are applied to, so that you can easily identity and distinguish ACLs by their descriptions.
By default, no description string is assigned for an ACL.
Examples
# Assign description string "This ACL is used for filtering all HTTP packets" to ACL 3000.
<Sysname> system-view
[Sysname] acl number 3000
[Sysname-acl-adv-3000] description This ACL is used for filtering all HTTP packets
# Use the display acl command to view the configuration information of ACL 3000.
[Sysname-acl-adv-3000] display acl 3000
Advanced ACL
3000, 0 rule
This acl is used for filtering all HTTP packets
Acl's step is 1
# Remove the description string of ACL 3000.
[Sysname-acl-adv-3000] undo description

display acl

Syntax
display acl { all | acl-number }
View
Any view
Parameters
all: Displays all ACLs.
acl-number: Number of the ACL to be displayed, in the range of 2000 to 5999.
Description
Use the display acl command to display the configuration information of a specified or all ACLs.
Note that if you specify the match order of an ACL when configuring the ACL, this command will display
the rules of the ACL in the specified match order.
Examples
# Display information about ACL 2000.
<Sysname> display acl 2000
Basic ACL
2000, 3 rules, match-order is auto
This acl is used in eth 1/0/1
Acl's step is 1
rule 3 permit source 3.3.3.0 0.0.0.255
rule 2 permit source 2.2.0.0 0.0.255.255
rule 1 permit source 1.0.0.0 0.255.255.255
1-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents