H3C IE4300 Command Reference Manual page 1671

Industrial switch series
Hide thumbs Also See for IE4300:
Table of Contents

Advertisement

config
higher priority. If you do not specify a match order, the
: Specifies all ACLs of the specified type.
all
Usage guidelines
If you create a numbered ACL, you can enter the view of the ACL by using either of the following
commands:
The
acl [ ipv6 ] number acl-number
The
acl { [ ipv6 ] { advanced | basic } | mac } acl-number
If you create a ACL by using the
you can enter the view of the ACL by using either of the following commands:
acl [ ipv6 ] name acl-name
acl [ ipv6 ] number acl-number [ name acl-name ]
acl { [ ipv6 ] { advanced | basic } | mac ] } name acl-name
If you create a named ACL by using the
acl-name
acl [ ipv6 ] name acl-name
acl { [ ipv6 ] { advanced | basic } | mac } name acl-name
You can change the match order only for ACLs that do not contain any rules.
Examples
# Create IPv4 basic ACL 2000 and enter its view.
<Sysname> system-view
[Sysname] acl basic 2000
[Sysname-acl-ipv4-basic-2000]
# Create IPv4 basic ACL flow and enter its view.
<Sysname> system-view
[Sysname] acl basic name flow
[Sysname-acl-ipv4-basic-flow]
# Create IPv4 advanced ACL 3000 and enter its view.
<Sysname> system-view
[Sysname] acl advanced 3000
[Sysname-acl-ipv4-adv-3000]
# Create IPv6 basic ACL 2000 and enter its view.
<Sysname> system-view
[Sysname] acl ipv6 basic 2000
[Sysname-acl-ipv6-basic-2000]
# Create IPv6 basic ACL flow and enter its view.
<Sysname> system-view
[Sysname] acl ipv6 basic name flow
[Sysname-acl-ipv6-basic-flow]
# Create IPv6 advanced ACL abc and enter its view.
<Sysname> system-view
[Sysname] acl ipv6 advanced name abc
[Sysname-acl-ipv6-adv-abc]
# Create Layer 2 ACL 4000 and enter its view.
: Compares ACL rules in ascending order of rule ID. The rule with a smaller ID has a
acl [ ipv6 ] number acl-number name acl-name
command, you can enter the view of the ACL by using either of the following commands:
config
command.
(for only basic ACLs and advanced ACLs).
acl { [ ipv6 ] { advanced | basic } | mac } name
(for only basic ACLs and advanced ACLs).
2
order applies by default.
command.
command,
.
.
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ie4300-mIe4320

Table of Contents