D-Link DGS-1510 Series Reference Manual page 496

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
Level: 12.
Usage Guideline
Use the mls qos aggregate-policer command in the global configuration mode to create a named
aggregate policer. Then use the police aggregate command in the policy-map class configuration
mode to configure the named aggregate policer as the policy for a traffic class. A named aggregate
policer cannot be referenced from a different policy map. If a named aggregate policer is attached to
multiple ingress ports, the metering operation of the policer will not be applied to the aggregate traffic
but remains applied to the traffic received on the individual port.
Example
This example shows how to configure a named aggregate policer's parameters and apply the policer
to multiple classes in a policy map: An aggregate policer with single rate policing named
"agg_policer1" is created. This policer is configured as the policy for traffic class 1, 2, and 3.
Switch# configure terminal
Switch(config)# mls qos aggregate-policer agg_policer1 10000 16384 exceed-action
drop
Switch(config)# policy-map policy2
Switch(config-pmap)# class class1
Switch(config-pmap-c)# police aggregate agg_policer1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class2
Switch(config-pmap-c)# police aggregate agg_policer1
Switch(config-pmap-c)# exit
Switch(config-pmap)# class class3
Switch(config-pmap-c)# police aggregate agg_policer1
Switch(config-pmap-c)#
56-15
police cir
This command is used to configure traffic policing for two rates, the committed information rate (CIR)
and the peak information rate (PIR). Use the no form of this command to remove two-rate traffic
policing.
police cir CIR [bc COMMITTED-BURST] pir PIR [be PEAK-BURST] [conform-action ACTION]
[exceed-action ACTION [violate-action ACTION]] [color-aware]
no police
Parameters
CIR
PIR
COMMITTED-BURST
PEAK-BURST
confirm-action
exceed-action
Specifies the committed information rate in kilobits per second. The
committed packet rate is the first token bucket for the two-rate
metering.
Specifies the peak information rate in kilobits per second. The peak
information rate is the second token bucket for the two-rate
metering.
(Optional) Specifies the burst size for the first token bucket in
kilobytes.
(Optional) Specifies the burst size for the second token bucket in
kilobytes.
(optional) Specifies the action to take on green color packets. If the
action is not specified, the default action is transmit.
(Optional) Specifies the action to take for those packets that
conform to PIR but not to CIR. These packets are referred to as
yellow color traffic. If the exceed-action is not specified, the default
493

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents