Adding Color-Aware Policing Attribute - D-Link DWS-3000 Series Configuration Manual

Unified wired & wireless access system
Hide thumbs Also See for DWS-3000 Series:
Table of Contents

Advertisement

Configuration Guide
queue attribute. It is presumed that the switch will forward this traffic to interface 0/5
based on a normal destination address lookup for internet traffic.

Adding Color-Aware Policing Attribute

Policing in the DiffServ feature uses either "color blind" or "color aware" mode. Color blind
mode ignores the coloration (marking) of the incoming packet. Color aware mode takes into
consideration the current packet marking when determining the policing outcome. An
auxiliary traffic class is used in conjunction with the policing definition to specify a value for
one of the DSCP or IP Precedence fields designating the incoming color value to be used as
the conforming color.
The following commands show how to add a color aware policing attribute to the finance_dept
class.
1. Add a new class to serve as the auxiliary traffic class. The match condition for the class
must be either IP Precedence or IP DSCP. In this example, the match condition is IP Prece-
dence with a value of 2.
2. Before adding the color aware mode, you must configure policing for the finance_dept
class.
The following commands first configure simple policing with a conforming data rate of
10000 Kbps, a burst size of 100, a conform action of send, and a violate action of drop.
After the policing is configured, the color aware attribute is configured. The color-aware
attribute cannot be configured before policing.
150
© 2001- 2011 D-Link Corporation. All Rights Reserved.
interface 0/5
cos-queue min-bandwidth 0 25 25 25 25 0 0 0
exit
exit
class-map match-all color_class
match ip precedence 2
exit
policy-map internet_access
class finance_dept
police-simple 100000 100 conform-action transmit
violate-action drop
conform-color color_class

Advertisement

Table of Contents
loading

Table of Contents