Planet SGS-6341 Series Command Manual page 291

Gigabit ethernet l3 stackable managed switch with 10gbe uplink
Table of Contents

Advertisement

set the corresponding action to the different color packets. The no command will delete the mode
configuration.
Parameters:
bits_per_second: The committed information rate – CIR (Committed Information Rate), in Kbps,
ranging from 1 to 10000000;
normal_burst_bytes: The committed burst size – CBS (Committed Burst Size), in byte, 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 (Peak Burst Size), in byte, ranging from 1 to
10000000. 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 (Peak Information Rate), in kbps, ranging from
1 to 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 exists in dual bucket
mode;
violate-action: The actions to take when the PIR is exceeded, which means the messages are red,
the default as drop;
exceed-action: The actions to take when the CIR is exceeded but PIR isn't, which means the
messages are yellow, the default as drop.
ACTION include:
drop/transmit: Drop/transmit the packets
set-internal-priority <intp_value> sets the internal priority of the packets
policied-intp-transmit modifies the internal priority according to intp-to-intp mapping
Default:
No policy action; the default action of exceed-action and violate-action both are drop.
Command mode:
Policy class map configuration Mode
Usage Guide:
Notice: After the global L3 hardware forwarding function is enabled, the command is valid.
The CLI can support both singe bucket and dual bucket configuration, and determine which one to
select 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 bucket dual color; if only PBS is
configured, the mode is single rate dual bucket three color; if PIR and PBS are configured, the mode
is dual rate dual bucket three color. "set" and "policy"(policy aggregate) are selected and have the
same action in Policy Map, then the action selected by "policy" will cover the action of "set".
If the actions of exceed-action and violate-action are set-internal-priority in policy, <intp_value> must
be same.
15-137

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgs-6341-24t4x

Table of Contents