Chapter 9 ACL Configuration
Step Command
Function
3
ZXR10(config-ext-v6acl)#
move
<
rule-no
>{
after
|
before
}<
rule-no
>
This moves a rule
4
ZXR10(config-ext-v6acl)#
attach time-range
<
Time
range name
>
to
<
rule id
>
This binds a time range to a
rule
Example
This example shows how to configure extended IPv6 ACL. It de-
fines an ACL that allows packets from network segment 3000::/16
to 4000::/16 to pass.
ZXR10(config)#ipv6 acl extended 2500
ZXR10(config-ext-v6acl)#rule 1 permit 3000::/16 4000::/16
Defining Customized ACL
To configure customized ACL, perform the following steps.
Step Command
Function
1
ZXR10(config)#
acl user-defined
{
number
<
3000-3499
>|
name
<
acl-name
>|
alias
<
alias-name
>}
This enters basic ACL
configuration mode
2
ZXR10(config-user-acl)#
rule
<
rule-id
>{
permit
|
deny
}{
any
|{
tag
<
tag-num
><
offset
><
rule-
string
><
rule-mask
>
&
<
1-4
>}}[
time-range
<
timerange-name
>]
This defines ACL rule
3
ZXR10(config-user-acl)#
move
<
rule-no
>{
after
|
before
}<
rule-no
>
This moves a rule
4
ZXR10(config-user-acl)#
attach time-range
<
Time
range name
>
to
<
rule id
>
This binds a time range to a
rule
Example
This example shows how to configure extended IPv6 ACL.
A user defines an ACL to allow packets with the following features
to pass:
�
Tag is 1.
�
Rule is 0x1111.
�
Mask is 0x000f.
�
Offset is 4 bytes.
ZXR10(config)#acl user-define number 3000
ZXR10(config-user-acl)#rule 1 permit tag 1 4 0x1111 0x000f
Configuring Time Range
To configure time range, perform the following steps.
Confidential and Proprietary Information of ZTE CORPORATION
83