Users Guide

Table Of Contents
ACL-based classification consumes significant amount of network processor resources. Trust-based classification (CoS and
DSCP) classifies traffic in a predefined way without using network processor resources.
OS10 implicitly classifies all control traffic such as STP, OSPF, ICMP, and so on, and forwards the traffic to control plane
applications. See Control-plane policing for more information.
Data traffic classification
You can classify the data traffic based on ACL or trust.
ACL-based classification consumes significant amount of network processor resources. Trust-based classification classifies
traffic in a pre-defined way without using network processor resources.
Trust based classification
OS10 supports classification based on the 802.1p CoS field (L2) or DSCP field (L3).
802.1p CoS trust map:
Trust the 802.1p CoS field to mark with a traffic-class ID and color for the CoS flow. Weighted random early detection (WRED)
uses color to define drop-probabilities and thresholds for egress traffic. See Color traffic for more information. By default,
802.1p priority level 0 is assigned traffic class (TC) ID 1 and 802.1p priority level 1 is assigned TC 0. The rest of the 802.1p
priority levels (2 through 7) are assigned the respective TC IDs.
Table 135. Default 802.1p CoS trust map
CoS Traffic class ID Color
0 1 G
1 0 G
2 2 G
3 3 G
4 4 G
5 5 G
6 6 G
7 7 G
NOTE: You cannot modify the default CoS trust map.
Userdefined 802.1p CoS trust map
You can override the default mapping by creating a dot1p trust map. All the unspecified dot1p entries map to the default traffic
class ID 0.
Configure userdefined 802.1p CoS trust map
1. Create a dot1p trust map.
OS10(config)# trust dot1p-map example-dot1p-trustmap-name
OS10(config-tmap-dot1p-map)#
2. Define the set of dot1p values mapped to traffic-class, the qos-group ID.
OS10(config-tmap-dot1p-map)# qos-group 3 dot1p 0-4
OS10(config-tmap-dot1p-map)# qos-group 5 dot1p 5-7
3. Verify the map entries.
OS10# show qos maps type trust-map-dot1p example-dot1p-trustmap-name
DOT1P Priority to Traffic-Class Map : example-dot1p-trustmap-name
Traffic-Class DOT1P Priority
-------------------------------
Quality of service
1517