Hierarchy of Classification Rules

Table: Access Ingress Traffic Classification for SAPs per Service Type  shows classification options for various access entities (SAP identifiers) and service types. For example, traffic from a TDM port using a TDM (Cpipe) PW maps to one FC (all traffic has the same CoS). Traffic from an Ethernet port using a Epipe PW can be classified to as many as eight FCs based on DSCP classification rules, while traffic from a SAP with dot1q or qinq encapsulation can be classified to up to eight FCs based on dot1p or DSCP rules.

For Ethernet traffic, dot1p-based classification for dot1q or QinQ SAPs takes precedence over DSCP-based classification. For null-encapsulated Ethernet ports, only DSCP-based classification applies. In either case, when defining classification rules, a more specific match rule is always preferred to a general match rule.

For additional information on hierarchy rules, see Table: Forwarding Class and Enqueuing Priority Classification Hierarchy Based on Rule Type in the Service Ingress QoS Policies section.

Table: Access Ingress Traffic Classification for SAPs per Service Type 

Access Type (SAP)

Service Type

TDM PW

ATM PW

FR PW

HDLC PW

Ethernet PW

IP PW

VPLS

VPRN

TDM port

1 FC

Channel group

1 FC

ATM virtual connection identifier

1 FC

1 FC

FR

1 FC

DSCP, up to 8 FCs

HDLC

1 FC

PPP / MLPPP

DSCP, up to 8 FCs

DSCP, up to 8 FCs

cHDLC

DSCP, up to 8 FCs

Ethernet port

DSCP, up to 8 FCs

DSCP, up to 8 FCs

DSCP, up to 8 FCs

DSCP, up to 8 FCs

Dot1q encapsulation

Dot1p or DSCP, up to 8 FCs

Dot1p or DSCP, up to 8 FCs

Dot1p or DSCP, up to 8 FCs

Dot1p or DSCP, up to 8 FCs

QinQ encapsulation

Dot1p or DSCP, up to 8 FCs

Dot1p or DSCP, up to 8 FCs

Dot1p or DSCP, up to 8 FCs

Dot1p or DSCP, up to 8 FCs