API Guide

View CoPP statistics
OS10# show control-plane statistics
Queue Packets Bytes Dropped Packets
Dropped Bytes
0 26 1768 0 0
1 0 0 0 0
2 0 0 0 0
3 0 0 0 0
4 36 3816 0 0
5 36 3096 0 0
6 919 58816 0 0
7 67 4288 0 0
8 0 0 0 0
9 0 0 0 0
10 0 0 0 0
11 80662 5539376 0 0
12 2779 462189 0 0
13 0 0 0 0
14 1265 108790 0 0
15 422 36075 0 0
16 0 0 0 0
17 0 0 0 0
18 0 0 0 0
19 0 0 0 0
Egress traffic classification
Egress traffic is classified into different queues based on the traffic-class ID marked on the traffic flow.
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 a qos-map is:
1. Interface-level map
2. System-qos-level map
3. Default map
Table 118. 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
Userdefined QoS map
You can override the default mapping by creating a QoS map.
Configure userdefined QoS map
1. Create a QoS map.
OS10(config)# qos-map traffic-class tc-q-map
Quality of service
1199