Alcatel-Lucent 7950 Quality Of Service Manual page 201

Extensible routing system
Table of Contents

Advertisement

used will be equal to the maximum capacity of the card on which the policer is configured. If the policer
rate is set to a value larger than the maximum rate possible for the card, then the CPIR used is
equivalent to max.
Values
stat-mode
Syntax
stat-mode {no-stats | minimal | offered-profile-no-cir | offered-priority-no-cir | offered-
limited-profile-cir | offered-profile-cir | offered-priority-cir | offered-total-cir | offered-profile-
capped-cir | offered-limited-capped-cir }
no stat mode
Context
config>qos>sap-ingress>policer
config>qos>queue-group-templates>ingress>queue-group
Description
This command is used to configure the forwarding plane counters that allow offered, output and discard
accounting to occur for the policer. An ingress policer has multiple types of offered packets (explicit in-
profile, explicit out-of-profile, high priority or low priority) and each of these offered types is interacting
with the policer's metering and profiling functions resulting in colored output packets (green, yellow and
red). Due to the large number of policers, it is not economical to allocate counters in the forwarding plane
for all possible offered packet types and output conditions. Many policers will not be configured with a CIR
profiling rate and not all policers will receive explicitly profiled offered packets. The stat-mode command
allows provisioning of the number of counters each policer requires and how the offered packet types and
output conditions should be mapped to the counters.
While a no-stats mode is supported which prevents any packet accounting, the use of the policer's parent
command requires at the policer's stat-mode to be set at least to the minimal setting so that offered stats are
available for the policer's Fair Information Rate (FIR) to be calculated. Once a policer has been made a child
to a parent policer, the stat-mode cannot be changed to no-stats unless the policer parenting is first
removed.
Each time the policer's stat-mode is changed, any previous counter values are lost and any new counters are
set to zero.
Each mode uses a certain number of counters per policer instance that are allocated from the forwarding
plane's policer counter resources. You can view the the total/allocated/free stats by using the tools dump
system-resources command. If insufficient counters exist to implement a mode on any policer instance, the
stat-mode change will fail and the previous mode will continue unaffected for all instances of the policer.
The default stat-mode when a policer is created within the policy is minimal.
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.
no-stats — Counter resource allocation:0
7950 XRS Quality of Service Guide
max or 0—2000000000
Page 201

Advertisement

Table of Contents
loading

Table of Contents