Dot1p remarking can be performed on egress for all services and with respect to the profile of the packet and the VLAN tag.
The following commands can be used to remark the dot1p values at a SAP egress:
configure qos sap-egress policy-id create
fc fc-name create
dot1p {dot1p-value | in-profile dot1p-value out-
profile dot1p-value [exceed-profile dot1p-value]}
dot1p-inner {dot1p-value | in-profile dot1p-value
out-profile dot1p-value}
dot1p-outer {dot1p-value | in-profile dot1p-value
out-profile dot1p-value [exceed-profile dot1p-
value]}
exit
All inplus-profile traffic is marked with the same value as in-profile traffic.
The precedence of these commands is summarized as follows, from highest to lowest precedence:
dot1p-outer used for outer tag markings
dot1p-inner used for inner tag markings
existing dot1p used for marking both tags
markings taken from packet received at ingress
The configuration of qinq-mark-top-only under the SAP egress takes precedence over the use of the dot1p-inner in the policy, that is, the inner VLAN tag is not remarked when qinq-mark-top-only is configured. The marking used for the inner VLAN tag is based on the current default, which is governed by the marking of the packet received at the ingress to the system. If qinq-mark-top-only is omitted, both the inner and outer VLAN tags are remarked.
Remarking the inner dot1p is not supported based on the profile result of egress policing.
The egress remarking occurs after any egress classification.