On ingress, VLAN ID matching may be used to set QoS on SAP ingress. The matching rules are the same as for VID filter (See ‟VID filters” in the Filter Policies section of the 7450 ESS, 7750 SR, 7950 XRS, and VSR Router Configuration Guide) but the action allows setting of the forwarding class.
For example, to set the forwarding class of all VIDs with 6 in the lower 3 bits of the VID, a filter (as follows) could be constructed, then ingress qos 5 could be applied to any SAP that requires the policy.
qos
sap-ingress 5 create
queue 1 create
exit
queue 11 multipoint create
exit
mac-criteria
type vid
entry 1 create
match frame-type ethernet-II
outer-tag 6 7
exit
action fc "af"
exit
exit
exit
exit