D-Link DXS-3600 Series Cli Reference Manual page 1099

Layer 2/3 managed 10gigabit
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
ACTION
color-aware
Default
None.
Command Mode
Policy-map Class Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use the police command to drop the packet or mark the packet with different quality of service (QoS)
values based on conformance level of the packet.
Use the police KBPS command to create a single rate policer. Use the police cir command to create a
two rate policer. There are two kinds of single rate policers (1) a single rate two color policer and (2) a
single rate three color policer. If the violate action is specified in the police KBPS command, then the
policer is three colors. If not specified, the policer is two colors.
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 Ethernet 1/0/1.
Switch# configure terminal
Switch(config)# class-map access-match
Switch(config-cmap)# match access-group name acl_rd
Specifies the action to take on packets. Use one of the following
keywords:
drop - Drops the packet.
set-dscp-transmit VALUE - Sets the IP differentiated services code
point (DSCP) value and transmits the packet with the new IP DSCP
value.
set-1p-transmit - Sets the 802.1p value and transmits the packet with
the new value.
transmit - Transmits the packet. The packet is not altered.
(Optional) Specifies the option for the single rate three colors policer.
When color-aware is not specified, the policer works in the color blind
mode. When color-aware is specified, the policer works in the color
aware mode.
1094

Advertisement

Table of Contents
loading

Table of Contents