Service SAP QoS Policy Command Reference
334 Quality of Service Guide
The stat-mode setting defined for the policer in the QoS policy may be overridden on an sla-profile
or SAP where the policy is applied. If insufficient policer counter resources exist to implement the
override, the stat-mode override command will fail. The previous stat-mode setting active for the
policer will continue to be used by the policer.
The no form of this command attempts to return the policer’s stat-mode setting to minimal. The
command will fail if insufficient policer counter resources exist to implement minimal where the QoS
policer is currently applied and has a forwarding class mapping.
Parameters no-stats — Counter resource allocation: 0
The policer does not have any forwarding plane counters allocated and cannot provide
offered, discard and forward statistics. A policer using no-stats cannot be a child to a parent
policer and the policer’s parent command will fail.
When collect-stats is enabled, the lack of counters causes the system to generate the
following statistics:
a. offered-in = 0
b. offered-out = 0
c. discard-in = 0
d. discard-out = 0
e. forward-in = 0
f. forward-out = 0
Counter 0 indicates that the accounting statistic returns a value of zero.
minimal — Counter resource allocation: 1
The default stat-mode for a policer is minimal. The minimal mode allocates 1 forwarding
plane offered counter and one traffic manager discard counter. The forwarding counter is
derived by subtracting the discard counter from the offered counter. The counters do not
differentiate possible offered types (profile or priority) and do not count green, yellow, or red
output. This does not prevent the policer from supporting different offered packet types and
does not prevent the policer from supporting a CIR rate or using exceed PIR.
This counter mode is useful when only the most basic accounting information is required.
The counters are used in the following manner:
1. offered = soft-in-profile-out-of-profile, profile in/out
2. discarded = Same as 1
3. forwarded = Derived from 1 - 2
When collect-stats is enabled, the counters are used by the system to generate the following
statistics:
a. offered-in = 0
b. offered-out = 1
c. discard-in = 0
d. discard-out = 2
e. forward-in = 0
f. forward-out (includes forward-in and forward-exceed)= 3
Counter 0 indicates that the accounting statistic returns a value of zero.