ZXR108900SeriesUserManual(BasicCongurationVolume)
FIGURE25CONFIGURINGEVENTLINKAGEACLRULE
Howtocongure?
1.Deneoneeventlist.Theprerequisiteofeventtriggeristhat
interfacegei_1/1isdown;
2.DeneonestandardACL,whererule1permitsallpacketsto
passthrough,rule2deniesallpackets.Byassociatingrule1
withevent,executerule1whenprotocoloninterfacegei_1/1
isdown;
3.ApplyACLon“in”directionofinterfacegei_1/2.
CongurationofSwitchC:
ZXR10(config)#event-listzte
ZXR10(config-event)#interfacegei_1/1protocoldown
ZXR10(config-event)#exit
ZXR10(config)#aclstandardnumber1
ZXR10(config-std-acl)#rule1permitanyeventzte
ZXR10(config-std-acl)#rule2denyany
ZXR10(config-std-acl)#exit
ZXR10(config)#interfacegei_1/2
ZXR10(config-if)#ipaccess-group1in
Whenprotocolongei_1/1isdown,rule1becomeseffective.Traf-
ccanaccessgei_1/2.Whenprotocolongei_1/1isup,rule1is
noteffective.Trafcfailstoaccessgei_1/2andcanonlyaccess
interfacegei_1/1.Inabovecases,thereisonlyonedataowcan
bereceivedonSwitchC.
86CondentialandProprietaryInformationofZTECORPORATION