OS10 Enterprise Edition User Guide Release 10.4.0E(R3)


Egress traffic classification

Egress traffic is classified into different queues based on the traffic-class ID marked on the traffic flow.

You can set the traffic class ID for a flow by enabling trust or by classifying ingress traffic and mark it with a traffic class ID using a policy map. By default, the value of traffic class ID for all the traffic is 0.

The order of precedence for qos-map is:
  1. Interface level map
  2. System-qos level map
  3. Default map
Table 1. Default mapping of traffic class ID to queue. Default mapping of traffic class ID to queue
Traffic class ID Queue ID
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7

User–defined QoS map

You can override the default mapping by creating QoS map.

Configure user–defined QoS map

  1. Create a QoS map
    OS10(config)# qos-map traffic-class tc-q-map
  2. Define the set of traffic class values mapped to a queue
     OS10(config-qos-map)# queue 3 qos-group 0-3
  3. Verify the map entries.
                                        OS10# show qos maps type tc-queue
                                        Traffic-Class to Queue Map: tc-q-map
                                        Queue        Traffic-Class
                                        3              0-3
  4. Apply the map on a specific interface or on system-qos (global) level.
    • Interface level
      OS10(conf-if-eth1/1/1)# qos-map traffic-class tc-q-map
    • System-qos level
      OS10(config-sys-qos)# qos-map traffic-class tc-q-map

Choose all traffic classified for a queue

  1. Create a class-map of type queuing to match queue 5
    OS10(config)# class-map type queuing q5
  2. Define the queue to match
    OS10(config-cmap-queuing)# match queue 5

Rate this content

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: <>()\