PLANET XGS3-24042 User Manual

Page 283

Advertising
background image

15-129

normal_burst_bytes: the committed burst size – CBS, in kb, ranging from 1 to 1000000. When the

configured CBS value exceeds the max limit of the chip, configure the hardware with max number

supported by the chip without any CLI prompt;

maximum_burst_bytes: the peak burst size - PBS, in kb, ranging from 1to 1000000. When the

configured PBS value exceeds the max limit of the chip, configure the hardware with max number

supported by the chip without any CLI prompt. Notice: this configuration only exists in dual bucket

mode;

pir peak_rate_bps: the peak information rate - PIR, in kbps, ranging from 1to 10000000. Without

configuring PIR, the Police works in the single rate dual bucket mode; otherwise in the dual rate dual

bucket mode. Notice: this configuration only exist in the dual bucket mode.

exceed-action: the actions to take when the CIR is exceeded but PIR isn’t, which means the

messages are yellow, the default is Drop;

violate-action: the actions to take when the PIR is exceeded, which means the messages are red,

the default is Drop.

ACTION:

drop/transmit: Drop/transmit the packets

set-internal-priority <intp_value>: Modify the internal priority of the packets

policied-intp-transmit: Drop the internal priority according to INT-PRIO_TO_INT-PRIO mapping

Default:

No aggregation Policy is defined by default; the default action of exceed-action and violate-action

both is drop.

Command mode:

Global Mode

Usage Guide:

The CLI can support both singe bucket and dual bucket configuration, and determine which one by

checking whether PIR or PBS is configured. When configuring with CLI, after configuring CBS, if the

action is directly configured, the mode is single rate single bucket; if only PBS is configured, the

mode is single rate dual bucket three colors; if PIR and PBS are configured, the mode is dual rate

dual bucket three colors. The actions of set and policy selected by policy map are same, the action

of policy can cover the action of the set. Furthermore, If the actions of exceed-action and

violate-action are set-internal-priority in policy, <intp_value> must be same.

Example:

Set the dual bucket mode, CIR is 1000, CBS is 1000, PIR is 20000, PBS is 10000. The action is

policed-intp-transmit when CIR is exceeded but PIR isn’t, which means the messages are yellow.

Switch(config)#mls qos aggregate-policy color 10000 1000 20000 10000 exceed-action

policied-intp-transmit

Advertising
This manual is related to the following products: