OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

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.

Table 1. Default 802.1p CoS trust map . 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

User–defined 802.1p CoS trust map

You can override the default mapping by creating dot1p trust map. All the unspecified dot1p entries are mapped to the default traffic class ID 0.

Configure user–defined 802.1p CoS trust map

  1. Create a dot1p trust map.
    OS10(config)# trust dot1p-map dot1p-trust-map
                                        OS10(config-tmap-dot1p-map)#
                                     
  2. Define the set of dot1p values mapped to traffic-class (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 dot1p-trust-map
                                        
                                        DOT1P Priority to Traffic-Class Map : dot1p-trust-map
                                        
                                        Traffic-Class    DOT1P Priority
                                        
                                        -------------------------------
                                        
                                        3                   0-4
                                        
                                        5                   5-7
                                        
                                     
  4. Apply the map on a specific interface or on system-qos (global) level.
    • Interface level
      OS10(conf-if-eth1/1/1)# trust-map dot1p dot1p-trust-map
                                                
                                             
      • NOTE: In the interface level, the no version of the command returns the configuration to system-qos level. If there is no configuration available at the system-qos level, then the configuration returns to default mapping.
    • System-qos level
      OS10(config-sys-qos)# trust-map dot1p dot1p-trust-map

Configure default CoS trust map

  1. Create a default dot1p trust map.
    OS10(config)# trust dot1p-map default
                                        OS10(config-tmap-dot1p-map)#
                                     
  2. Apply the map on a specific interface or on system-qos (global) level.
    • Interface level
      OS10(conf-if-eth1/1/1)# trust-map dot1p default
                                                
                                             
      • NOTE: In the interface level, the no version of the command returns the configuration to system-qos level. If there is no configuration available at the system-qos level, then the configuration returns to default mapping.
    • System-qos level
      OS10(config-sys-qos)# trust-map dot1p default

DSCP trust map:

Trust the DSCP field to mark with a traffic-class ID and color for the DSCP flow.

Table 2. Default DSCP trust map . Default DSCP trust map

DSCP values

TC id

Color

0-3

0

G

4-7

0

Y

8-11

1

G

12-15

1

Y

16-19

2

G

20-23

2

Y

24-27

3

G

28-31

3

Y

32-35

4

G

36-39

4

Y

40-43

5

G

44-47

5

Y

48-51

6

G

52-55

6

Y

56-59

7

G

60-62

7

Y

63

7

R

User–defined DCSP trust map

You can override the default mapping by creating a user defined DSCP trust map. All the unspecified DSCP entries are mapped to the default traffic class ID 0.

Configure user–defined DSCP trust map

  1. Create a DSCP trust map.
    OS10(config)# trust dscp-map dscp-trust-map 
                                        OS10(config-tmap-dscp-map)#
                                     
  2. Define the set of dscp values mapped to traffic-class(qos-group) ID
    OS10(config-tmap-dscp-map)# qos-group 3 dscp 0-15 
                                        OS10(config-tmap-dscp-map)# qos-group 5 dscp 16-30
                                     
  3. Verify the map entries.
    OS10# show qos maps type trust-map-dscp dscp-trust-map
                                        
                                        DSCP Priority to Traffic-Class Map  : dscp-trust-map
                                        
                                        Traffic-Class    DSCP Priority
                                        
                                        -------------------------------
                                        
                                        3                   0-15
                                        
                                        5                   16-30
                                     
  4. Apply the map on a specific interface or on system-qos (global) level.
    • Interface level
      OS10(conf-if-eth1/1/1)# trust-map dscp dscp-trust-map
    • System-qos level
      OS10(config-sys-qos)# trust-map dscp dscp-trust-map

Configure default DSCP trust map

  1. Create a default DSCP trust map.
    OS10(config)# trust dscp-map default
                                        OS10(config-tmap-dscp-map)#
                                     
  2. Apply the map on a specific interface or on system-qos (global) level.
    • Interface level
      OS10(conf-if-eth1/1/1)# trust-map dscp default
    • System-qos level
      OS10(config-sys-qos)# trust-map dscp default

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\