D-Link DGS-1510 Series Reference Manual page 495

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
As a packet arrives at a port, the packet will be initialized with a color. If the receive port trusts DSCP
then the initial color of the packet is mapped from the incoming DSCP based on the DSCP to color
map. If the receipt port trusts CoS then the initial color is mapped from the incoming CoS based on
the CoS to color map.
A single rate two color policer can only work in color-blind mode. Both single rate three color policers
and two rate three color policers can work in color aware mode. In color-blind mode, the final color of
the packet is determined by the policer metering result alone. In color-aware mode, the final color of
the packet is determined by the initial color of the packet and the policer metering result. In this case
the policer may further downgrade the initial color.
After the policer metering action will be based on the final color. Conform action will be taken on
green color packets, exceed-action will be taken on yellow color packets, and violate action will be
taken on red color packets. When specifying actions, you cannot specify contradictory actions such as
violate-action transmit and exceed-action drop.
The actions configured by the set command for a traffic class will be applied to all the packets
belonging to the traffic class.
Example
This example shows how to define a traffic class and associate the policy with the match criteria for
the traffic class in a policy map. The service-policy command is then used to attach this service
policy to the interface. In this particular example, traffic policing is configured with an average rate of 8
kilobits per second and a normal burst size of 1 kilobyte for all ingress packets at eth3/0/1.
Switch# configure terminal
Switch(config)# class-map access-match
Switch(config-cmap)# match access-group name acl_rd
Switch(config-cmap)# exit
Switch(config)# policy-map police-setting
Switch(config-pmap)# class access-match
Switch(config-pmap-c)# police 8 1 exceed-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface eth3/0/1
Switch(config-if)# service-policy input police-setting
Switch(config-if)#
56-14
police aggregate
This command is used to configure a named aggregate policer as the policy for a traffic class in a
policy map. Use the no form of this command to delete the name aggregate policer from a class
policy.
police aggregate NAME
no police
Parameters
NAME
Default
None.
Command Mode
Policy-map Class Configuration Mode.
Command Default Level
Specifies a previously defined aggregate policer name as the
aggregate policer for a traffic class.
492

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents