DELL 8132 ユーザーズマニュアル

ページ / 1818
QoS Commands
673
console(config-policy-classmap)#police-simple 1000 64 
conform-action transmit violate-action drop
police-two-rate
Use the police-two-rate command to implement a two-rate Three Color 
Market (trTCM) per RFC 2698. A trTCM meters a traffic stream and colors 
packets according to four parameters: 
Committed Information Rate (CIR)
Committed Burst Size (CBS)
Peak Information Rate (PIR)
Peak Burst Size (PBS)
A packet is colored red if it exceeds the PIR, yellow if it exceeds the CIR, and 
green if it does not exceed either. A trTCM is useful when a peak rate needs to 
be enforced separately from a committed rate.
Syntax
police-two-rate 
datarate burstsize peak-data-rate excess-burstsize conform-
action 
action exceed-action action violate-action action
datarate — Data rate in kilobits per second (kbps). (Range: 
1–4294967295)
burstsize — Burst size in Kbytes (Range: 1–128)
peak-data-rate— Peak data rate in kilobits per second (kbps). (Range 1-
4294967295)
excess-burstsize — Excess burst size in kilobits per seconds (kbps). (Range 
1-128)
action— The action to take according to the color. Select one of:
drop— Drop the packet.
set-prec-transmit 
ip-prec— Remark the IP precedence in the packet to 
ip-prec and transmit. (Range 0-7)
set-dscp-transmit 
dscp-val— Remark the DSCP in the packet to dscp-
val and transmit. (Range 0-63)
set-cos-transmit 
802.1p-priority— Remark the 802.1p priority in the 
packet to 
802.1p-priority and transmit. (Range 0-7)
2CSPC4.X8100-SWUM102.book  Page 673  Friday, March 15, 2013  8:56 AM