DSCP Re-Marking Configuration Examples
DSCP Re-Marking Configuration Example 1
1. Turn DSCP re‐marking on globally, and define the DSCP‐DSCP‐802.1p mapping.
You can use the default mapping.
2. Enable DSCP re‐marking on a port.
DSCP Re-Marking Configuration Example 2
1. Create an ACL to re‐mark DSCP value and COS queue for all VoIP packets.
2. Create an ACL to set a low priority to all other traffic.
3. Apply the ACLs to a port and enable DSCP marking.
© Copyright Lenovo 2016
Use the following command to turn on DSCP re‐marking globally:
RS G8264(config)# qos dscp remarking
Then you must enable DSCP re‐marking on any port that you wish to perform this
function (Interface Port mode).
Note: If an ACL meter is configured for DSCP re‐marking, the meter function
takes precedence over QoS re‐marking.
The following example includes the basic steps for re‐marking DSCP value and
mapping DSCP value to 802.1p.
RS G8264(config)# qos dscp remarking
RS G8264(config)# qos dscp dscpmapping <DSCP value (0‐63)> <new value>
RS G8264(config)# qos dscp dot1pmapping <DSCP value (0‐63)> <802.1p value>
RS G8264(config)# interface port 1
RS G8264(configif)# qos dscp remarking
RS G8264(configif)# exit
The following example assigns strict priority to VoIP traffic and a lower priority to
all other traffic.
RS G8264(config)# accesscontrol list 2 tcpudp sourceport 5060 0xffff
RS G8264(config)# accesscontrol list 2 meter committedrate 10000000
RS G8264(config)# accesscontrol list 2 meter enable
RS G8264(config)# accesscontrol list 2 remark inprofile dscp 56
RS G8264(config)# accesscontrol list 2 remark dot1p 7
RS G8264(config)# accesscontrol list 2 action permit
RS G8264(config)# accesscontrol list 3 action setpriority 1
RS G8264(config)# accesscontrol list 3 action permit
RS G8264(config)# interface port 5
RS G8264(configif)# accesscontrol list 2
RS G8264(configif)# accesscontrol list 3 ethernet sourcemacaddress
00:00:00:00:00:00 00:00:00:00:00:00
RS G8264(configif)# dscpmarking
RS G8264(configif)# exit
Chapter 13: Quality of Service
243