Example: Color-Marking Non-Ecn Packets In One Traffic Class - Dell C9000 Series Networking Configuration Manual

Hide thumbs Also See for C9000 Series:
Table of Contents

Advertisement

match ip dscp
match ip precedence
match ip vlan
By default, all packets are marked for green handling if the rate-police and trust-diffserv commands are not
used in an ingress policy map. All packets marked for red handling or "violate" are dropped.
In the class map, in addition to color-marking matching packets for yellow handling, you can also configure a
DSCP value for matching packets.
When you use ECN to classify and color-mark packets in an ingress class map, take into account:
When all matching packets are marked for yellow treatment, policer-based coloring is not supported at
the same time.
If a single-rate two-color policer is configured at the same time as ECN-matched packets are set for
yellow handling, by default all packets less than PIR are marked for "green" handling. All green packets
selected by ECN match criteria and color-marked yellow are over-written and marked for yellow
handling.
If a two-rate three-color policer is configured at the same time as ECN-matched packets are set for
yellow handling:
x < CIR is marked as green.
CIR < x< PIR is marked as yellow.
PIR < x is marked as red.
Green packets matching the ECN criteria for which yellow color-marking is configured are overwritten
and marked as yellow.
Example: Color-marking non-ECN Packets in
One Traffic Class
The following example shows how to mark non-ECN packets for "yellow" handling when all packets egress
on the default queue 0. Non-ECN-capable packets have the ECN field in their packet headers set to 0.
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
policy-map-input ecn_0_pmap
service-queue 0 class-map ecn_0_cmap
Applying the policy map "ecn_0_pmap" marks all incoming packets with the ECN field set to 0 for "yellow"
handling on queue 0 (default queue).
yellow
Quality of Service (QoS)
931

Advertisement

Table of Contents
loading

Table of Contents