The 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12 support SAP-based marking for access SAPs and port-based egress marking on access ports. SAP-based marking is only supported for Layer 2 SAPs, that is, SAPs configured in Epipe and VPLS service. If user enables remarking in the SAP egress policy attached to the SAP, the remark policy configured is used to mark the packets sent out of the SAP. If remarking is disabled in the SAP egress policy attached to the SAP, remark policy configured under the access-egress policy associated with the egress access port is used to mark all packets sent out of the Layer 2 SAP configured on the access port. This is known as port-based marking.
Port-based marking is supported primarily for Layer 3 SAPs (that is, SAPs configured in VPRN services and IES services). In other words, SAP-based marking is not supported for Layer 3 SAPs.
On 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12, no explicit CLI command is provided to choose between port-based marking and SAP-based marking for Layer 2 SAPs. The user can choose SAP-based marking by enabling remarking in the SAP egress policy attached to the Layer 2 SAP or choose port-based marking by disabling remarking in the SAP egress policy attached to the SAP and enabling remarking in the access-egress policy associated with the access port on which the Layer 2 SAP is configured.
A remarking policy can be defined for each access egress policy and remarking is disabled by default. Only remarking policy of type dot1p, dot1p-lsp-exp-shared, dscp or dot1p-dscp can be used with access-egress policy. The following is the marking behavior with different remark policy types:
If remark policy type is dot1p or dot1p-lsp-exp-shared, then all traffic sent out of Layer 2 SAPs and Layer 3 SAPs configured on that port will have its Dot1p bits marked.
If remark policy type is dscp, then all traffic sent out of Layer 2 SAPs and Layer 3 SAPs configured on that port will have its IP DSCP bits marked (assuming Layer 2 SAPs are carrying IP traffic).
If remark policy type is of type dot1p-dscp, then all traffic sent out of Layer 2 SAPs and Layer 3 SAPs configured on that port will have its IP DSCP bits (assuming Layer 2 SAPs are carrying IP traffic) and dot1p bits marked.
On the 7210 SAS-Mxp, for Layer 2 SAPs, if remarking is enabled in the SAP egress policy and port-based marking is disabled, the dot1p values configured in the SAP egress policy are used. For Layer 3 SAPs no marking is done.
On the 7210 SAS-Mxp, Layer 2 SAPs, if remarking is enabled in the SAP egress policy and port-based marking is enabled, the dot1p values configured in the SAP egress policy are used. For Layer 3 SAPs, the dot1p and DSCP values configured in the access-egress policy are used. In addition, the DSCP values configured in the access-egress policy are used to mark the IP traffic sent out of Layer 2 SAPs.
On the 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12, if remarking is disabled for the SAP egress policy and port-based marking is enabled, IP DSCP values are marked, including for the traffic egressing from the Layer 2 SAPs configured on the port. To avoid this, it is recommended to use only FC-to-dot1p values when both Layer 2 and Layer 3 SAPs are configured on the same access port.
On the 7210 SAS-R6 and 7210 SAS-R12, if remarking is enabled for the SAP egress policy and port based marking is enabled, the values configured in the SAP egress policy are used. For L3 SAPs the values configured in the access-egress policy are used.