Example: Color-marking non-ECN Packets inDifferent Traffic ClassesThe following examples both show how to mark non-ECN packets for “yellow” handling when packets withDCSP 40 egress on queue 2 and packets with DSCP 50 egress on queue 3. Non-ECN-capable packets havethe ECN field in their packet headers set to 0.The first example shows how to achieve the desired configuration without specifying ECN match criteria toclassify ECN-capable packets:ip access-list standard dscp_50seq 5 permit any dscp 50ip access-list standard dscp_40seq 5 permit any dscp 40ip access-list standard dscp_50_non_ecnseq 5 permit any dscp 50 ecn 0ip access-list standard dscp_40_non_ecnseq 5 permit any dscp 40 ecn 0class-map match-any class_dscp_40match ip access-group dscp_40_non_ecn set-color yellowmatch ip access-group dscp_40class-map match-any class_dscp_50match ip access-group dscp_50_non_ecn set-color yellowmatch ip access-group dscp_50policy-map-input pmap_dscp_40_50service-queue 2 class-map class_dscp_40service-queue 3 class-map class_dscp_50The second example shows how to achieve the desired configuration by specifying ECN match criteria toclassify ECN-capable packets:ip access-list standard dscp_50_ecnseq 5 permit any dscp 50 ecn 1seq 10 permit any dscp 50 ecn 2seq 15 permit any dscp 50 ecn 3ip access-list standard dscp_40_ecnseq 5 permit any dscp 40 ecn 1seq 10 permit any dscp 40 ecn 2seq 15 permit any dscp 40 ecn 3ip access-list standard dscp_50_non_ecnseq 5 permit any dscp 50 ecn 0ip access-list standard dscp_40_non_ecnseq 5 permit any dscp 40 ecn 0class-map match-any class_dscp_40match ip access-group dscp_40_non_ecn set-color yellowmatch ip access-group dscp_40_ecnclass-map match-any class_dscp_50match ip access-group dscp_50_non_ecn set-color yellowQuality of Service (QoS) 932