Service SAP QoS Policy Command Reference
336 Quality of Service Guide
When collect-stats is enabled, the counters are used by the system to generate the following
statistics:
a. offered-in = 1
b. offered-out = 4
c. offered-undefined = 2+3
d. discard-in = 5 + 6
e. discard-out = 7 + 8
f. forward-in (includes forward-exceed that were in) = 9+10
g. forward-out (includes forward-exceed that were soft or out) = 11+12
offered-total-cir — Counter resource allocation: 2
The offered-total-cir mode allocates two forwarding plane offered counters and two traffic
manager discard counters.
The offered-total-cir mode is most useful when the policer is not receiving trusted in-profile
or out-of-profile traffic and both high and low priority classifications are not being used on
the untrusted packets and the offered packets are being applied to a defined CIR profiling rate.
This mode does not prevent the policer from receiving trusted in-profile or out-of-profile
packets and does not prevent the use of priority high or low classifications on the untrusted
packets.
The counters are used in the following manner:
1. offered-that-turned-green =soft-in-profile-out-of-profile, profile in/out
2. offered- that-turned-yellow-or-red =soft-in-profile-out-of-profile, profile in/out
3. dropped-offered-that-turned-green = Same as 1
4. dropped-offered-that-turned-yellow-or-red = Same as 2
5. forwarded-offered-that-turned-green = Derived from 1 - 3
6. forwarded-offered-that-turned-yellow-or-red = Derived from 2 - 4
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 + 2
c. discard-in = 3
d. discard-out = 4
e. forward-in = 5
f. forward-out (includes forward-exceed) = 6
Counter 0 indicates that the accounting statistic returns a value of zero.
offered-limited-capped-cir — Counter resource allocation: 4
offered-limited-capped-cir is defined, the system creates four forwarding plane offered-
output counters in the network processor and three discard counters in the traffic manager.
The offered-limited-capped-cir mode is similar to the offered-profile-capped-cir mode
except that it combines profile out and soft-out-of-profile and eliminates the ‘offered-
undefined’ statistic.