Developers Guide

Table Of Contents
Sample configuration to mark non-ecn packets as
yellow with Multiple traffic class
Consider the example where there are no different traffic classes that is all the packets are egressing on the default queue0.
Dell EMC Networking OS can be configured as below to mark the non-ecn packets as yellow packets.
!
ip access-list standard ecn_0
seq 5 permit any ecn 0
class-map match-any ecn_0_cmap
match ip access-group ecn_0 set-color yellow
!
policy-map-input ecn_0_pmap
service-queue 0 class-map ecn_0_cmap
Applying this policy-map ecn_0_pmap will mark all the packets with ecn == 0 as yellow packets on queue0 (default queue).
Sample configuration to mark non-ecn packets as
yellow with single traffic class
Consider the use case where the packet with DSCP value 40 need to be enqueued in queue#2 and packets with DSCP value
as 50 need to be enqueued in queue#3. And all the packets with ecn value as 0 must be marked as yellow.
The above requirement can be achieved using either of the two approaches.
The above requirement can be achieved using either of the two approaches.
Approach without explicit ECN match qualifiers for ECN packets:
!
ip access-list standard dscp_50
seq 5 permit any dscp 50
!
ip access-list standard dscp_40
seq 5 permit any dscp 40
!
ip access-list standard dscp_50_non_ecn
seq 5 permit any dscp 50 ecn 0
!
ip access-list standard dscp_40_non_ecn
seq 5 permit any dscp 40 ecn 0
!
class-map match-any class_dscp_40
match ip access-group dscp_40_non_ecn set-color yellow
match ip access-group dscp_40
!
class-map match-any class_dscp_50
match ip access-group dscp_50_non_ecn set-color yellow
match ip access-group dscp_50
!
policy-map-input pmap_dscp_40_50
service-queue 2 class-map class_dscp_40
service-queue 3 class-map class_dscp_50
Approach with explicit ECN match qualifiers for ECN packets:
!
ip access-list standard dscp_50_ecn
seq 5 permit any dscp 50 ecn 1
seq 10 permit any dscp 50 ecn 2
seq 15 permit any dscp 50 ecn 3
676
Quality of Service (QoS)