Police Trtcm-Color - Edge-Core ECS3510-26P Management Manual

26-port fast ethernet layer 2 switch
Hide thumbs Also See for ECS3510-26P:
Table of Contents

Advertisement

E
This example creates a policy called "rd-policy," uses the
specify the previously defined "rd-class," uses the
classify the service that incoming packets will receive, and then uses the
police srtcm-color-blind command to limit the average bandwidth to
100,000 Kbps, the committed burst rate to 4000 bytes, the excess burst
rate to 6000 bytes, to remark any packets exceeding the committed burst
size, and to drop any packets exceeding the excess burst size.
This command defines an enforcer for classified traffic based on a two rate

police trtcm-color

three color meter (trTCM). Use the no form to remove a policer.
S
XAMPLE
Console(config)#policy-map rd-policy
Console(config-pmap)#class rd-class
Console(config-pmap-c)#set phb 3
Console(config-pmap-c)#police srtcm-color-blind 100000 4000 6000 conform-
action transmit exceed-action 0 violate-action drop
Console(config-pmap-c)#
YNTAX
[no] police {trtcm-color-blind | trtcm-color-aware}
committed-rate committed-burst peak-rate peak-burst
conform-action transmit
exceed-action {drop | new-dscp}
violate action {drop | new-dscp}
trtcm-color-blind - Two rate three color meter in color-blind
mode.
trtcm-color-aware - Two rate three color meter in color-aware
mode.
committed-rate - Committed information rate (CIR) in kilobits per
second. (Range: 64-1000000 kbps at a granularity of 64 kbps or
maximum port speed, whichever is lower)
committed-burst - Committed burst size (BC) in bytes.
(Range: 4000-16000000 at a granularity of 4k bytes)
peak-rate - Peak information rate (PIR) in kilobits per second.
(Range: 64-1000000 kbps at a granularity of 64 kbps or maximum
port speed, whichever is lower)
peak-burst - Peak burst size (BP) in bytes.
(Range: 4000-16000000 at a granularity of 4k bytes)
conform-action - Action to take when rate is within the CIR and
BP. (Packet size does not exceed BP and there are enough tokens in
bucket BC to service the packet, the packet is set green.)
exceed-action - Action to take when rate exceeds the CIR but is
within the PIR. (Packet size exceeds BC but there are enough
tokens in bucket BP to service the packet, the packet is set yellow.)
– 879 –
| Quality of Service Commands
C
35
HAPTER
set phb
class
command to
command to

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents