H3C S6550X-HI Series Command Reference Manual page 2129

Table of Contents

Advertisement

Examples
# Configure a description for IPv4 basic ACL 2000.
<Sysname> system-view
[Sysname] acl basic 2000
[Sysname-acl-ipv4-basic-2000] description This is an IPv4 basic ACL.
Related commands
display acl
display acl
Use
display acl
Syntax
display acl [ ipv6 | mac | user-defined ] { acl-number | all | name acl-name }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
: Specifies the IPv6 ACL type.
ipv6
: Specifies the Layer 2 ACL type.
mac
user-defined
acl-number
2000 to 2999 for basic ACLs.
3000 to 3999 for advanced ACLs.
4000 to 4999 for Layer 2 ACLs.
5000 to 5999 for user-defined ACLs.
: Specifies all ACLs of the specified type.
all
name acl-name
string of 1 to 63 characters.
Usage guidelines
This command displays ACL rules in
To specify the IPv4 ACL type, do not specify the
Examples
# Display configuration and match statistics for IPv4 basic ACL 2001.
<Sysname> display acl 2001
Basic IPv4 ACL 2001 named test, 2 rules, match-order is auto,
This is an IPv4 basic ACL.
ACL's step is 5, start ID is 0
rule 5 permit source 1.1.1.1 0
rule 5 comment This rule is used on Twenty-FiveGigE1/0/1.
rule 10 deny source 10.0.0.101 0 counting time-range a3 (Active)
to display ACL configuration and match statistics.
: Specifies the user-defined ACL type.
: Specifies an ACL by its number. The following are available value ranges:
: Specifies an ACL by its name. The
acl-name
or
order, whichever is configured.
config
auto
keyword.
ipv6
5
argument is a case-insensitive

Advertisement

Table of Contents
loading

Table of Contents