
Egress QoS Configuration
219
class
<
class-map-name>
[insert-before <
class-map-name>
]
no class <
class-map-name>
Create a policy map to associate with a
class map and enter policy class map
mode, then different data streams can
apply different policies and be assigned a
new DSCP value. No command deletes
the specified policy class map.
set
{ip
dscp
<
new-dscp
>
|
ip
precedence <
new-precedence
> | cos
<
new-co
s> | c-vid <
new-c-vid
> | s-vid
<
new-s-vid
> | s-tpid <
new-s-tpid
>}
no set {ip dscp | ip precedence | cos |
c-vid | s-vid | s-tpid}
Assign a new DSCP, CoS and IP
Precedence value for the classified flow,
no command cancels the operation.
Single bucket mode:
policy
<
bits_per_second
>
<
normal_burst_bytes
>
({action
ACTION} | exceed-action drop |
transmit})
Dual bucket mode:
policy
<
bits_per_second
>
<
normal_burst_bytes
>
[pir
<
peak_rate_bps
>]
|
<
maximum_burst_bytes
>
[{action
ACTION | violate-action drop |
transmit}]
ACTION definition:
policied-cos-to-cos-transmit
|
policied-cos-to-dscp-transmit
|
policied-dscp-exp-to-cos-transmit
|
policied-dscp-exp-to-dscp-transmit
no policy
Configure a policy for the classified flow.
The non-aggregation policy command
supports three colors. Analyze the
working mode of the token bucket,
whether it is single rate single bucket,
single rate dual bucket or dual rate dual
bucket, set corresponding action to
different color packets. The no command
will delete the configuration. Only specific
switch supports single bucket mode.
accounting
no accounting
Set statistic function for the classified
flow. After enable this function under the
policy class map mode, add statistic
function to the flow of the policy class
map. In single bucket mode, packets can
only red or green when passing policy. In