Dell S4148U-ON OS10 Enterprise Edition User Guide Release 10.4.0E R2 - Page 558
Mark Traffic, Color traffic, Modify packet fields, Traffic, fields
![]() |
View all Dell S4148U-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 558 highlights
1 Create a QoS type class-map to match the traffic flow OS10(config)# class-map cmap-cos3 OS10(config-cmap-qos)# match cos 3 2 Create a QoS type policy-map to define a policer and assign a traffic class ID for the CoS flow OS10(config)# policy-map flow-policer OS10(config-pmap-qos)# class cmap-cos3 OS10(config-pmap-c-qos)# set qos-group 3 OS10(config-pmap-c-qos)#police cir 4000 pir 6000 Mark Traffic You can select a flow and mark with a traffic class ID. The traffic flow is identified by the traffic class ID when the traffic reaches egress for queue scheduling. Mark traffic 1 Create a QoS type class-map to match the traffic flow OS10(config)# class-map cmap-cos3 OS10(config-cmap-qos)# match cos 3 2 Create a QoS type policy-map to mark with a traffic class ID and assign it for the CoS flow. OS10(config)# policy-map cos3-TC3 OS10(config-pmap-qos)# class cmap-cos3 OS10(config-pmap-c-qos)# set qos-group 3 Color traffic You can select a traffic flow and mark it with a color. You can color the traffic flow based on: • Metering. See Policing traffic. • Default trust. See Trust based classification. • DSCP , ECN capable traffic (ECT), or non-ECT. Color traffic based on DSCP, ECT, or non-ECT 1 Create a QoS type class-map to match the traffic flow. OS10(config)# class-map cmap-dscp-3-ect OS10(config-cmap-qos)# match ip dscp 3 ecn 1 2 Create a QoS type policy-map to color the traffic flow. OS10(config)# policy-map ect-color OS10(config-pmap-qos)# class cmap-dscp-3-ect OS10(config-pmap-c-qos)# set qos-group 3 OS10(config-pmap-c-qos)# set color yellow Modify packet fields You can modify the value of CoS or DSCP fields. 1 Create a QoS type class-map to match a traffic flow OS10(config)# class-map cmap-dscp-3 OS10(config-cmap-qos)# match ip dscp 3 2 Modify the policy-map to update the DSCP field. OS10(config)# policy-map modify-dscp OS10(config-pmap-qos)# class cmap-dscp-3 OS10(config-pmap-c-qos)# set qos-group 3 OS10(config-pmap-c-qos)# set dscp 10 558 Quality of service
![](/manual_guide/products/dell-s4148uon-os10-enterprise-edition-user-guide-release-1040e-r2-86f2ab4/558.png)