A basic IPv6 ACL filters traffic only by source IP address and time range.
Table 1 describes the matching conditions of basic IPv6 ACL rules.
Matching Condition |
Parameter |
Description |
|---|---|---|
Source IP address |
source |
|
Time range |
time-range time-name |
For details of time ranges, see Schedule. |
acl ipv6 [ number ] ipv6-acl-number [ vpn-instance vpn-instance-name ]
acl-number determines the type of an IPv6 ACL. The basic IPv6 ACL number ranges from 2000 to 2999.
step step
The default step is 5.
After you set a step for the ACL, the system can automatically assign rule IDs if you do not specify the rule IDs. The automatically assigned rule IDs are multiple of the step in ascending order. The step allows you to insert rules between two rules.
You can set a step for an ACL only when no rule is configured for the ACL. After you configure an ACL rule, you cannot change the step.
rule [ rule-id ] { permit | deny } [ logging | source { source-ipv6-address prefix-length | source-ipv6-address/prefix-length | any } | time-range time-name ] *
When you configure an IPv6 ACL rule, note the following points:
Parameter logging specifies that matched packets are logged.