
Chapter 9 ACL Configuration
When the following commands are configured on a port, ACL 10 is
effective on this port in “in” direction and ACL 100 is effective on
this port in “out” direction.
ZXR10(config-if)#ip access-group 10 in
ZXR10(config-if)#ip access-group 100 out
Applying ACL to Virtual Port
To apply ACL to virtual port, perform the following steps.
Step Command
Function
1
ZXR10(config)#
vlan
<
vlan-number
>
This enters VLAN
configuration mode
2
ZXR10(config-vlan)#
ip access-group
<
acl-number
>
in
This applies ACL to a virtual
port
Configuring Event Linkage
ACL Rule
After event linkage ACL rule is configured, when two interfaces on
a device are connected to an upper layer device, only enable one
interface. If one interface status turns to down, the other interface
is enabled automatically.
To configure linkage ACL rule, perform the following steps.
Step Command
Function
1
ZXR10(config)#
event-list
<
name
>
This creates an event list.
2
ZXR10(config-event)#
interface
<
interface-name
>{
ad
min
|
physical
|
protocol
}{
down
|
up
}
This sets the conditions of
triggering event, where port
management state, physical
state and protocol state can
be set.
3
ZXR10(config-event)#
exit
This exits event list.
4
ZXR10(config)#
acl standard number
<
number
>
This enters standard access
list.
5
ZXR10(config-std-acl)#
rule 1 permit
<
source-address
><
source-wildcard
>
event
<
name
>
This associates the ACL rule
with the event.
Example
As shown in
Figure 25
, Switch A and Switch B back up for each
other. Switch C receives two same data flows. To avoid this phe-
nomenon, an event linkage ACL rule is configured.
Confidential and Proprietary Information of ZTE CORPORATION
85