< Home

acl ipv6 (upgrade-compatible command)

Function

The acl ipv6 command creates an ACL6 and enters the ACL6 view.

The undo acl ipv6 command deletes an ACL.

Format

acl ipv6 [ number ] acl6-number [ name acl6-name ] [ match-order { auto | config } ]

undo acl ipv6 { all | [ number ] acl6-number | name acl6-name }

Parameters

Parameter

Description

Value

number acl6-number

Indicates the ID of an ACL6.

The value of acl6-number is an integer that ranges from 2000 to 3999. In these options,
  • ACL6s numbered from 2000 to 2999 are basic ACL6s.

  • ACL6s numbered from 3000 to 3999 are advanced ACL6s.

name acl6-name

Specifies a named ACL6.

The value of acl6-name is a string of 1 to 64 case-sensitive characters without spaces. The name starts with a letter (case-sensitive) and can contain letters, digits, and symbols such as the number sign (#), percentage symbol (%), and hyphen (-).

all

Deletes all ACL6s.

-

match-order { auto | config }

Indicates the matching order of ACL6 rules.

  • auto:

    indicates that ACL6 rules are matched based on the depth first principle.

    If the ACL rules are of the same depth first order, they are matched in ascending order of rule IDs.

  • config: indicates that ACL6 rules are matched based on the configuration order.

    The ACL6 rules are matched based on the configuration order only when the rule ID is not specified. If rule IDs are specified, the ACL6 rules are matched in ascending order of rule IDs.

If the match-order parameter is not specified when you create an ACL6, the default match order config is used.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

An ACL6 is a set of rules composed of permit or deny clauses. ACL6s are mainly used in QoS. ACL6s can limit data flows to improve network performance. For example, ACL6s are configured on an enterprise network to limit video data flows, which lowers the network load and improves network performance.

Follow-up Procedure

Run the rule command to configure ACL6 rules and apply the ACL6 to services which packets need to be filtered.

Example

# Create an ACL6 named test and numbered 3100.

<HUAWEI> system-view
[HUAWEI] acl ipv6 number 3100 name test
[HUAWEI-acl6-adv-test]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >