41-36
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 41 Configuring QoS
Configuring QoS
Console> (enable)
show qos policer config aggregate test2
QoS aggregate policers:
Aggregate name Normal rate (kbps) Burst size (kb) Normal action
----------------------------- ------------------ --------------- -------------
test2 64 100 policed-dscp
Excess rate (kbps) Burst size (kb) Excess action
------------------ -------------- ---------------
8000000 100 policed-dscp
ACL attached
------------------------------------
Console> (enable)
For PFC2, this example shows how to create an aggregate excess rate policing rule with a 64-Kbps rate
limit and a 128-Kb burst limit that will cause traffic that exceeds the normal rate of 64 Kbps and a burst
size of 96 Kb to be marked down as specified in the normal markdown DSCP map, and traffic that
exceeds 128 Kbps and a burst size of 96 Kb to be dropped:
Console> (enable)
set qos policer aggregate test3 rate 64 policed-dscp erate 128 drop
burst 96
QoS policer for aggregate test3 created successfully.
Console> (enable)
show qos policer config aggregate test3
QoS aggregate policers:
Aggregate name Normal rate (kbps) Burst size (kb) Normal action
----------------------------- ------------------ --------------- -------------
test3 64 96 policed-dscp
Excess rate (kbps) Burst size (kb) Excess action
------------------ --------------- ---------------
128 96 drop
ACL attached
------------------------------------
Console> (enable)
Deleting Policing Rules
Note
You can only delete policing rules if they are not attached to any interfaces (for more information,
see the
“Detaching ACLs from Interfaces” section on page 41-46
).
To delete one or all policing rules, perform this task in privileged mode:
This example shows how to delete the microflow policing rule named my_micro:
Console> (enable)
clear qos policer microflow my_micro
my_micro QoS microflow policer cleared.
Console> (enable)
Task
Command
Step 1
Delete one or all policing rules.
clear qos policer
{
microflow
|
aggregate
}
{
policer_name
|
all
}
Step 2
Verify the configuration.
show qos policer
{
config
|
runtime
}
{
microflow
|
aggregate
|
all
}