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 2017
Use the following command to turn on DSCP re‐marking globally:
RS 8264CS(config)# qos dscp re-marking
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 8264CS(config)# qos dscp re-marking
RS 8264CS(config)# qos dscp dscp-mapping <DSCP value (0‐63)> <new value>
RS 8264CS(config)# qos dscp dot1p-mapping <DSCP value (0‐63)> <802.1p value>
RS 8264CS(config)# interface port 1
RS 8264CS(config-if)# qos dscp re-marking
RS 8264CS(config-if)# exit
The following example assigns strict priority to VoIP traffic and a lower priority to
all other traffic.
RS 8264CS(config)# access-control list 2 tcp-udp source-port 5060 0xffff
RS 8264CS(config)# access-control list 2 meter committed-rate 10000000
RS 8264CS(config)# access-control list 2 meter enable
RS 8264CS(config)# access-control list 2 re-mark in-profile dscp 56
RS 8264CS(config)# access-control list 2 re-mark dot1p 7
RS 8264CS(config)# access-control list 2 action permit
RS 8264CS(config)# access-control list 3 action set-priority 1
RS 8264CS(config)# access-control list 3 action permit
RS 8264CS(config)# interface port 5
RS 8264CS(config-if)# access-control list 2
RS 8264CS(config-if)# access-control list 3 ethernet source-mac-address
00:00:00:00:00:00 00:00:00:00:00:00
RS 8264CS(config-if)# dscp-marking
RS 8264CS(config-if)# exit
Chapter 12: Quality of Service
221