Dell N1100-ON Reference Manual page 671

Table of Contents

Advertisement

Color conforming classes must be one of the following types:
Primary COS
Secondary COS
DSCP
IP Precedence
This includes both the input and color aware classes. The conform color class
may not be the same as the input class, nor may the match criteria be of the
same type. The input class map may have a match type of "any."
The exceed color class may only be specified for the two-rate police
algorithm.
Example
The following example uses a simple policer to color TCP packets that exceed
an average rate of 1000 Kbps or a burst size of 16 Kbytes as red. Conforming
packets (those in CoS queue 1) are pre-colored green prior to metering. After
metering, non-conforming packets are colored red. Both green and red
packets are transmitted, but may be subject to further color-based action on
egress. The example configuration below also shows the configuration of
WRED drop thresholds and probabilities for colored traffic.
console(config)#class-map match-all class-ipv4 ipv4
console(config-classmap)#match any
console(config-classmap)#exit
console(config)#class-map match-all class-cos1 ipv4
console(config-classmap)#match cos 1
console(config-classmap)#exit
console(config)#policy-map color in
console(config-policy-map)#class class-ipv4
console(config-policy-classmap)#police-simple 1000 16 conform-action
transmit violate-action transmit
console(config-policy-classmap)#conform-color class-cos1
console(config-policy-classmap)#exit
console(config-policy-map)#exit
Layer 2 Switching Commands
671

Advertisement

Table of Contents
loading

This manual is also suitable for:

N1500N3100-onN4000N2100-onN2000N3000

Table of Contents