UMN:CLI User Manual
V5808
190
color-aware mode the meter assumes that some preceding entity has pre-colored the
incoming packet stream so that each packet is the one among green, yellow, and red.
To specify the value for metering parameters, use the following command.
color cir BANDWIDTH
cbs BURST
Specifies CIR and CBS.
BANDWIDTH: regenerating rate of token (unit: Kbps)
BURST: maximum size of token bucket (unit: byte)
color pir BANDWIDTH
pbs BURST
Specifies PIR and PBS. (trTCM only)
Specifies EBS. (srTCM only)
To configure DSCP values for the colored-packets, use the following command.
color dscp <0-63> {green |
yellow | red }
Sets DSCP values for each colored packets.
In the color-blind mode, you can configure all green-colored, red-colored or yellow-
colored packets to discard. To configure the meter to discard all green-colored, red-
colored or yellow-colored packets, use the following command.
color {green | red | yellow}
action drop
Configures the meter to discard green, red-colored or
yellow-colored packets.
no color {green | red | yellow}
action
Deletes the meter configured to permit green, red-
colored or yellow-colored packets.
In the color-aware mode, you can configure the DSCP remarking for red-colored packets
or yellow-colored packets only. To configure DSCP remarking, use the following
command.
color {green | red | yellow}
action marking
Configures DSCP remarking for green, red-colored or
yellow-colored packets.
color {green | red | yellow}
action marking drop-precedence
{red | yellow | green}
Configures DSCP remarking and drop precedence for
green, red-colored or yellow-colored packets.
color {green | red | yellow}
action marking-cos <0-7>
Configures IEEE 802.1p priority.
7.5.4.3 Policy Priority
If rules that are more than two match the same packet then the rule having a higher
priority will be processed first. To set a priority for a policy, use the following command.