D-Link DGS-6600-48T Product Manual - Page 489
Command Mode, Usage Guideline, violate-action, exceed-action
View all D-Link DGS-6600-48T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 489 highlights
DGS-6604 m Command Mode Usage Guideline violate-action: equals exceed-action police cir Policy map class configuration As a packet arrives at a port, the packet will be initialized with a color. This color will be used in control of congestion. If the policer is operated in color blind mode, the packet is re-colored and the actions are taken based on the policer metering result. If the policer is operated in color aware mode, the packet is re-colored and the actions are taken based on the policer metering result and the initial color of the packet. The actions configured by the set command for the traffic class will be applied to the conforming packet. They will not be applied to the exceeding packet and the violating packet. Note: Either one of police command and police cir command can be activated for the refereed traffic class. The latter command will overwrite the previous policer command setting within the same traffic class. The following example show the precedence between police and police cir comands: create a policy-map, police-map1 and have a traffic class class-movie with a two rate policer (police cir command). Switch(config)# policy-map police-map1 Switch(config-pmap)# class class-movie Switch(config-pmap-c)# police cir 8000 pir 1000 exceed-action drop violateaction drop Switch(config-pmap-c)# exit Switch(config-pmap)# exit Later it is realized that a single rate policer should be applied to class-movie traffic and singe rate policer (police cir command) is added. The newer police command will overwrite the previous police cir command setting. Switch(config)# policy-map police-map1 Switch(config-pmap)# class class-movie Switch(config-pmap-c)# police 8000 1000 exceed-action drop Switch(config-pmap-c)# exit Switch(config-pmap)# exit Two-rate traffic policing uses two token buckets-Tc and Tp-for policing traffic at two independent rates. Note the following points about the two token buckets: "The Tc token bucket is updated at the CIR value. The Tc token bucket can contain up to the confirm burst (Bc) value. CLI Reference Guide 479