H3C S6550X-HI Series Command Reference Manual page 2125

Table of Contents

Advertisement

ACL commands
acl
Use
to create an ACL and enter its view, or enter the view of an existing ACL.
acl
Use
undo acl
Syntax
Command set 1:
acl [ ipv6 ] number acl-number [ name acl-name ] [ match-order { auto |
config } ]
undo acl [ ipv6 ] number acl-number
Command set 2:
acl [ ipv6 ] { advanced | basic } { acl-number | name acl-name } [ match-order
{ auto | config } ]
acl mac { acl-number | name acl-name } [ match-order { auto | config } ]
acl user-defined { acl-number | name acl-name }
undo acl [ ipv6 ] { all | { advanced | basic } { acl-number | name acl-name } }
undo acl mac { all | acl-number | name acl-name }
undo acl user-defined { all | acl-number | name acl-name }
Default
No ACLs exist.
Views
System view
Predefined user roles
network-admin
Parameters
: Specifies the IPv6 ACL type. To specify the IPv4 ACL type, do not use this keyword.
ipv6
: Specifies the basic ACL type.
basic
advanced
: Specifies the Layer 2 ACL type.
mac
user-defined
number 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.
name acl-name
string of 1 to 63 characters. It must start with an English letter and to avoid confusion, it cannot be
.
all
to delete the specified or all ACLs.
: Specifies the advanced ACL type.
: Specifies the user-defined ACL type.
: Assigns a number to the ACL. The following are available value ranges:
: Assigns a name to the ACL. The
acl-name
1
argument is a case-insensitive

Advertisement

Table of Contents
loading

Table of Contents