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

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
Policy-map Class Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
As a packet arrives at a port, the packet will be initialized with a color. The receiving port either trusts
DSCP or CoS. The initial color of the packet is mapped from the DSCP in the incoming packet if the
receiving port trusts DSCP. The initial color of the packet is mapped from the CoS in the incoming packet
if the receiving port trusts CoS.
Both single rate three colors 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; The policer may further downgrade the initial color.
After the policer metering and based on the final color, the 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 the actions, you cannot specify contradictory actions such as violate-action
transmit and exceed-action drop.
The actions configured by the set command for the traffic class will be applied to all the packets belonging
to the traffic class.
Example
This example shows how two-rate traffic policing is configured on a class called police to limit traffic to an
average committed rate of 500 kbps and a peak rate of 1 Mbps, and the policy map named policy1 is
attached to Ethernet 1/0/3.
Switch# configure terminal
Switch(config)# class-map police
Switch(config-cmap)# match access-group name myAcl101
Switch(config-cmap)# exit
Switch(config)# policy-map policy1
Switch(config-pmap)# class police
Switch(config-pmap-c)# police cir 500 bc 10 pir 1000 be 10 exceed-action set-dscp-
transmit 2 violate-action drop
Switch(config-pmap-c)# exit
Switch(config-pmap)# exit
Switch(config)# interface ethernet 1/0/3
Switch(config-if)# service-policy output policy1
Switch(config-if)#
87-16
policy-map
This command is used to enter the policy-map configuration mode and create or modify a policy map that
can be attached to one or more interfaces as a service policy. To delete a policy map, use the no form of
this command.
policy-map NAME
no policy-map NAME
Parameters
NAME
Specifies the name of the policy map. The name can be a maximum of
1097

Advertisement

Table of Contents
loading

Table of Contents