Dscp Re-Marking Configuration Example - Lenovo Flex System Fabric CN4093 Application Manual

10gb converged scalable switch
Hide thumbs Also See for Flex System Fabric CN4093:
Table of Contents

Advertisement

DSCP Re-Marking Configuration Example

Example 1
1. Turn DSCP re‐marking on globally, and define the DSCP‐DSCP‐802.1p mapping. 
2. Enable DSCP re‐marking on a port.
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.
192
CN4093 Application Guide for N/OS 8.2
Use the following command to turn on DSCP re‐marking globally:  
CN4093(config)# qos dscp re­marking
Then you must enable DSCP re‐marking on any port that you wish to perform this 
function.
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.
You can use the default mapping.  
CN4093(config)# qos dscp re­marking
CN4093(config)# qos dscp dscp­mapping <DSCP value (0‐63)> <new value>
CN4093(config)# qos dscp dot1p­mapping <DSCP value (0‐63)> <802.1p value>
CN4093(config)# interface port 1
CN4093(config­if)# qos dscp re­marking
CN4093(config­if)# exit
The following example assigns strict priority to VoIP traffic and a lower priority to 
all other traffic.
CN4093(config)# access­control list 2 tcp­udp source­port 5060 0xffff
CN4093(config)# access­control list 2 meter committed­rate 10000000
CN4093(config)# access­control list 2 meter enable
CN4093(config)# access­control list 2 re­mark in­profile dscp 56
CN4093(config)# access­control list 2 re­mark dot1p 7
CN4093(config)# access­control list 2 action permit
CN4093(config)# access­control list 3 action set­priority 1
CN4093(config)# access­control list 3 action permit
CN4093(config)# interface port 5
CN4093(config­if)# access­control list 2
CN4093(config­if)# access­control list 3 ethernet source­mac­address 
00:00:00:00:00:00 00:00:00:00:00:00
CN4093(config­if)# dscp­marking
CN4093(config­if)# exit

Advertisement

Table of Contents
loading

Table of Contents