JetStream 52-Port Gigabit Stackable L3 Managed Switch CLI Guide
Syntax
two-rate
CIR CBS PIR PBS
conform { drop
|
set-cos-as-sec-cos
|
set-cos-transmit | set-dscp-transmit | set-prec-transmit | transmit }
[
cos
|
dscp
|
prec
] exceed { drop
|
set-cos-as-sec-cos
| set-cos-transmit |
set-dscp-transmit | set-prec-transmit | transmit
} [
cos
|
dscp
|
prec
] violate
{ drop
|
set-cos-as-sec-cos
| set-cos-transmit | set-dscp-transmit |
set-prec-transmit | transmit }
[
cos
|
dscp
|
prec
]
Parameter
CIR ——
Specify the token’s generation rate in Kbps for token bucket C. It
ranges from 1 to 1000000.
CBS ——
Specify the maximum capacity in Kbytes for token bucket C. It
ranges from 1 to 128.
PIR ——
Specify the token’s generation rate in Kbps for token bucket P. It
ranges from 1 to 1000000.
PBS ——
Specify the maximum capacity in Kbytes for token bucket P. It
ranges from 1 to 128.
drop
——
Drop the conforming traffic.
set-cos-as-sec-cos ——
Set Cos value as secondary Cos value for
conforming traffic.
set-cos-transmit
——
Enter Cos marking action for conforming traffic.
set-dscp-transmit —— Enter IP DSCP marking action for conforming traffic.
set-prec-transmit —— Enter IP precedence marking action on conforming
traffic.
transmit —— Transmit the conforming traffic.
cos
—— The Class of Service(Cos) value in an Ethernet frame header, ranging
from 0 to 7.
dscp
—— Enter a DSCP value in the range of 0 to 63.
prec
—— Enter an IP precedence value in the range of 0 to 7.
Command Mode
Policy-Class-Map Configuration Mode
Example
Enter the Policy-Map Config mode for a policy named tp, then add a class
named market to the policy and enter Policy-Class-Map Configuration Mode.
For token bucket C, set the token’s generation rate as 1000 Kbps and the
maximum capacity as 64 Kbytes. For token bucket P, set the token’s
206