94
18 0
19 0
20 0
CoS-Queue Mapping
Format
Switch(config)# qos cos-map
PRIORITY Assign an priority (7 highest)
Switch(config)# qos cos-map 1
QUEUE Assign an queue (0-7)
Note: Format: qos cos-map priority_value queue_value
Map CoS 0 to Queue 1
Switch(config)# qos cos-map 0 1
The CoS to queue mapping is set ok.
Map CoS 1 to Queue 0
Switch(config)# qos cos-map 1 0
The CoS to queue mapping is set ok.
Map CoS 2 to Queue 0
Switch(config)# qos cos-map 2 0
The CoS to queue mapping is set ok.
Map CoS 3 to Queue 1
Switch(config)# qos cos-map 3 1
The CoS to queue mapping is set ok.
Map CoS 4 to Queue 2
Switch(config)# qos cos-map 4 2
The CoS to queue mapping is set ok.
Map CoS 5 to Queue 2
Switch(config)# qos cos-map 5 2
The CoS to queue mapping is set ok.
Map CoS 6 to Queue 3
Switch(config)# qos cos-map 6 3
The CoS to queue mapping is set ok.
Map CoS 7 to Queue 3
Switch(config)# qos cos-map 7 3
The CoS to queue mapping is set ok.
Display
– CoS-Queue
mapping
Switch# sh qos cos-map
CoS to Queue Mapping :
CoS Queue
---- + ------
0 1
1 0
2 0
3 1
4 2
5 2
6 3
7 3
DSCP-Priority Mapping
Format
Switch(config)# qos dscp-map
DSCP DSCP code point in binary format (000000-111111)
Switch(config)# qos dscp-map 0
PRIORITY 802.1p priority bit (0-7)
Format: qos dscp-map priority_value queue_value
Map DSCP 0 to Queue
1
Switch(config)# qos dscp-map 0 1
The TOS/DSCP to queue mapping is set ok.
Display
– DSCO-Queue
mapping
Switch# show qos dscp-map
DSCP to Queue Mapping : (dscp = d1 d2)
d2| 0 1 2 3 4 5 6 7 8 9
d1 |
-----+----------------------
0 | 1 0 0 0 0 0 0 0 1 1