3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2091
<Sysname> system-view
[Sysname] acl number 5000
[Sysname-acl-user-5000] description This acl is used in eth 0
display acl
Syntax display acl { acl-number | all | name acl-name }
View Any view
Parameter acl-number: IPv4 ACL number in the range 2000 to 5999, where:
2000 to 2999 for basic IPv4 ACLs
3000 to 3999 for advanced IPv4 ACLs
4000 to 4999 for Ethernet frame header ACLs
5000 to 5999 for user-defined ACLs
all: 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.
n
The MSR 20 Series Routers do not support the last range, that 5000 to 5999.
Description Use the
display acl command to display information about the specified or all
IPv4 ACLs.
This command displays ACL rules in the order in which the system compares a
packet against them.
Example # 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 eth 1
Table 545 Description on the fields of the display acl command
Field Description
Basic acl 2001 The displayed information is about the 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 rules in this ACL are numbered in steps of 5.
5 times matched Five matches for the rule. Only ACL matches performed by
software are counted.
This field appears as long as one match is found.