OcNOS-RON : Quality of Service Guide : Quality of Service Configuration Guide : Dscp-to-queue Map Profile Configuration
Dscp-to-queue Map Profile Configuration
This chapter contains a complete sample of configuring Dscp-to-queue map profile.
Topology
Simple configuration of Dscp-to-queue map
Configuration of dcsp-to-queue Map Profile on configuration mode
The following steps describe how to configure dscp-to-queue map on configuration mode.
 
#configure terminal
Enter configure mode.
(config)#qos enable
Enable QoS globally.
(config)#qos statistics
Enable QoS statistics.
(config)#qos profile dscp-to-queue Profile1
Enter Dscp to queue map profile configuration mode
(config)#qos profile dscp-to-queue Dscp2queue
Enter dscp-to-queue profile configuration mode
(config-ingress-dscp-map)#dscp 10 queue 5
Map dscp 10 to queue 5
(config-ingress-dscp-map)#exit
Exit dscp-to-queue profile configure mode.
(config)#qos profile dscp-to-queue Profile3
Enter Dscp to queue map profile configuration mode
(config-ingress-dscp-map)#dscp 24 queue 6 color green
Map dscp 24 to queue 6 for green packets
(config-ingress-dscp-map)#exit
Exit dscp-to-queue profile configure mode
(config)#commit
Committing the configured line
(config)#exit
Exit configure mode.
Validation
Enter the commands below to confirm the configurations.
#show running-config qos
qos enable
qos statistics
!
qos profile dscp-to-queue Profile1
dscp 10 queue 5
!
qos profile dscp-to-queue Profile3
dscp 24 queue 6 color green
 
Configuration of dscp-to-queue Map Profile on Interface mode
The following steps describe how to configure dscp-to-queue map profile on interface mode.
 
#configure terminal
Enter configure mode.
(config)#qos enable
Enable QoS globally.
(config)#qos statistics
Enable QoS statistics.
(config)#interface xe2
Enter interface mode.
(config-if)#qos map-profile dscp-to-queue Profile1
Map dscp-to-queue profile to the interface
(config-if)#exit
Exit interface mode.
(config)#exit
Exit configure mode.
(config)#interface xe3
Enter interface mode,
(config-if)#qos map-profile dscp-to-queue Profile3
Map dscp-to-queue profile to the interface
(config)#commit
Committing the configured line
(config-if)#exit
Exit interface mode
Validation
Enter the commands below to confirm the configurations.
#show running-config qos
qos enable
qos statistics
!
qos profile dscp-to-queue Profile1
dscp 10 queue 5
!
!
!
interface xe2
qos map-profile dscp-to-queue Profile1
!
interface xe3
qos map-profile dscp-to-queue Profile3
!
 
#show qos-profile type dscp-to-queue Profile1
profile name: Profile1
profile type: dscp-to-queue
profile attached to 1 instances
configured mapping:
dscp 10 queue 5
Detailed mapping:
Ingress map for dscp to queue-color
-------+----------------- | -------+----------------- | -------+----------------- | -------+-----------------
INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT | INPUT | OUTPUT
-------+----------------- | -------+----------------- | -------+----------------- | -------+-----------------
DSCP | Queue | Color | DSCP | Queue | Color | DSCP | Queue | Color | DSCP | Queue | Color
-------+-------+--------- | -------+-------+--------- | -------+-------+--------- | -------+-------+---------
0 0 green | 16 2 green | 32 4 green | 48 6 green
1 0 green | 17 2 green | 33 4 green | 49 6 green
2 0 green | 18 2 green | 34 4 green | 50 6 green
3 0 green | 19 2 green | 35 4 green | 51 6 green
4 0 green | 20 2 yellow | 36 4 yellow | 52 6 green
5 0 green | 21 2 green | 37 4 green | 53 6 green
6 0 green | 22 2 red | 38 4 red | 54 6 green
7 0 green | 23 2 green | 39 4 green | 55 6 green
8 1 green | 24 3 green | 40 5 green | 56 7 green
9 1 green | 25 3 green | 41 5 green | 57 7 green
10 5 green | 26 3 green | 42 5 green | 58 7 green
11 1 green | 27 3 green | 43 5 green | 59 7 green
12 1 yellow | 28 3 yellow | 44 5 green | 60 7 green
13 1 green | 29 3 green | 45 5 green | 61 7 green
14 1 red | 30 3 red | 46 5 green | 62 7 green
15 1 green | 31 3 green | 47 5 green | 63 7 green