ZXR105250SeriesCommandReference
Guidelines
Otherrulecanmatchnon-IP/ARPpacketswithether-typeelds,dsap-ssapelds,cos
elds,VLANelds,speciedsourceMAC,anysourceMAC,specieddestinationMAC,
oranydestinationMAC.
4.13.23ingress-acllinkruletype-any
Purpose
Thiscommandsetstherulethatthelayer–2ingressACLmatchesspeciedcosandVLAN
ID.
CommandMode
Layer2ingressACLcongurationmode
Syntax
rule<1-500>{permit|deny}any[<vlan-id>[<vlan-mask>]][cos<0-7>][<source-mac><smac-ma
sk>|any][<dest-mac><dmac-mask>|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.
Guidelines
AnyrulecanmatchVLANeldandcoseld.
4.13.24clearingress-acllink
Purpose
Thiscommandclearsalayer–2ingressACLinstance.
4-232
SJ-20131111172707-003|2013-11-27(R1.0)ZTEProprietaryandCondential