Chapter4ServiceConguration
4.13.60egress-acllinkruletype-any
Purpose
Thiscommandsetstherulethatthelayer–2egressACLmatchesspeciedcosandVLAN
ID.
CommandMode
Layer2egressACLcongurationmode
Syntax
rule<1-500>{permit|deny}any[cos<0-7>][<vlan-id>[<vlan-mask>]][<dest-mac><dmac-mas
k>|any]
ParameterDescription
ParameterParameter
<1-500>Rulenumber.
permitIftheconditionmatches,accessispermitted.
denyIftheconditionmatches,accessisdenied.
anyThisrulecanmatchanypacket.
cos<0-7>
Thisruleisonlyvalidforthecos-speciedmessage.Ignorethis
ruleforothermessages.Therangeofcosis0to7.
<vlan-id>
ThisruleisonlyvalidformessageswiththespeciedVLANID.
Ignorethisruleforothermessages.TheruleofVLANIDis1
to4094.
<vlan-mask>OptionalVLANmask.Thedefaultvalueis0xfff.
<dest-mac>DestinationMACaddressofthetransmittedpacket.
<dmac-mask>DestinationMACmask.Comparetheresultofthedestination
MACaddress&themaskofthepacketwiththeresultof
<dest-mac>&themasktoseewhethertheACLruleismatched.
anyTheanykeywordisusedastheabbreviationofthedestination
MACaddress00.00.00.00.00.00andthemask00.00.00.00.00.00.
Guidelines
AnyrulecanmatchpacketswithVLANelds,coselds,specieddestinationMAC,orany
destinationMAC.
4-273
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential