QoS Queue Group Template Command Reference

Command Hierarchies

Configuring Ingress Queue Group Templates

config
— qos
queue-group queue-group-name [create]
— no queue-group queue-group-name
description description-string
policer policer-id [create]
[no] policer policer-id
adaptation-rule [pir {max | min | closest}] [cir {max | min | closest}]
adv-config-policy adv-config-policy-name
cbs {size [bytes | kilobytes] | default}
— no cbs
description description string
high-prio-only percent-of-mbs
mbs {size [bytes | kilobytes] | default}
— no mbs
packet-byte-offset {add bytes | subtract bytes}
parent {root | arbiter-name} [level level] [weight weight-within-level]
— no parent
rate {max | pir-rate} [cir {max | cir-rate}]
— no rate
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
queue queue-id [multipoint] [queue-type] [queue-mode] [create]
— no queue queue-id
adaptation-rule [pir {max | min | closest}] [cir {max | min | closest}]
— adv-config-policy adv-config-policy-name
— no adv-config-policy
burst-limit size [bytes | kilobytes]
cbs size-in-kbytes
— no cbs
high-prio-only percent
mbs size [bytes | kilobytes]
— no mbs
packet-byte-offset {add bytes | subtract bytes}
parent scheduler-name [weight weight] [level level] [cir-weight cir-weight] [cir-level cir-level]
— no parent
pool pool-name
— no pool
rate pir-rate [cir cir-rate]
rate pir-rate police
— no rate

Configuring Egress Queue Group Templates

config
— qos
egress
queue-group queue-group-name [create]
— no queue-group queue-group-name
description description-string
fc fc-name [create]
— no fc fc-name
queue queue-id
— no queue
— hsmda-queues
— low-burst-max-class class
— no low-burst-max-class
packet-byte-offset {add add-bytes | subtract sub-bytes}
[no] queue queue-id
— adaptation-rule [pir {max | min | closest}]
— no adaptation-rule
— burst-limit size [bytes | kilobytes]
— no burst-limit
— mbs {size [kilobytes | bytes] | default}
— no mbs
— rate {pir-rate | max}
— no rate
— slope-policy hsmda-slope-policy-name
— no slope-policy
— wrr-weight weight
— no wrr-weight
— wrr-policy wrr-policy-name
— no wrr-policy
policer policer-id [create]
— no policer policer-id
adaptation-rule pir {max | min | closest}] [cir {max | min | closest}]
adv-config-policy policy-name
cbs {size [bytes | kilobytes] | default}
— no cbs
description description-string
high-prio-only percent-of-mbs
mbs {size [bytes | kilobytes] | default}
— no mbs
packet-byte-offset {add bytes | subtract bytes}
parent {root | arbiter-name} [level level] [weight weight-within-level]
— no parent
rate {max | pir-rate} [cir {max | cir-rate}]
stat-mode {no-stats | minimal | offered-profile-no-cir | offered-profile-cir | offered-total-cir | offered-limited-capped-cir | offered-profile-capped-cir | offered-total-cir-exceed | offered-four-profile-no-cir | offered-total-cir-four-profile}
— no stat-mode
[no] queue queue-id [queue-type] [create]
adaptation-rule [pir {max | min | closest}] [cir {max | min | closest}]
adv-config-policy adv-config-policy-name
burst-limit size [bytes | kilobytes]
cbs size-in-kbytes
— no cbs
[no] dynamic-mbs
hi-low-prio-only percent
high-prio-only percent
mbs size [bytes | kilobytes]
— no mbs
packet-byte-offset {add bytes | subtract bytes}
parent scheduler-name [weight weight] [level level] [cir-weight cir-weight] [cir-level cir-level]
— no parent
percent-rate pir-percent [cir cir-percent]
pool pool-name
— no pool
port-parent [weight weight] [level level] [cir-weight cir-weight] [cir-level cir-level]
queue-delay delay
rate pir-rate [cir cir-rate]
— no rate
wred-queue [policy slope-policy-name] [mode mode] [slope-usage slope-usage]
— no wred-queue

Show Commands

show
— qos
queue-group [queue-group-name] [ingress | egress] [association | detail]
queue-group summary
sap-egress [policy-id] [association | match-criteria | hsmda | detail]
sap-ingress [policy-id] [association | match-criteria | hsmda | detail]
show
pools mda-id[/port] [access-app [pool-name | service service-id | queue-group queue-group-name]]
pools mda-id[/port] [network-app [pool-name | queue-group queue-group-name]]
pools mda-id[/port] [direction [pool-name | service service-id | queue-group queue-group-name]]
port port-id queue-group [ingress | egress] [queue-group-name] [{statistics | associations}]

Monitor Commands

For more information about monitor commands, refer to the Basic System Configuration Guide for command usage and CLI syntax.

monitor
card slot-number fp fp-number ingress {access | network} queue-group queue-group-name instance instance-id [interval seconds] [repeat repeat] policer policer-id [absolute | percent-rate | reference-rate]
— qos
— arbiter-stats
card slot-number fp fp-number queue-group queue-group-name instance instance-id [ingress] [access | networks] [interval seconds] [repeat repeat] [absolute | rate] [arbiter root | name]
port port-id egress network queue-group queue-group-name instance instance-id [interval seconds] [repeat repeat] [absolute | rate] [arbiter root | name]
— scheduler-stats
port port-id queue-group queue-group-name [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate] [access | network] [instance instance-id]

Command Descriptions

Configuration Commands

Generic Commands

description

Syntax 
description description-string
no description
Context 
config>qos>queue-group-templates>egress>queue-group
config>qos>queue-group-templates>ingress>queue-group
config>qos>queue-group-templates>egress>queue-group>policer
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

This command creates a text description stored in the configuration file for a configuration context. The description command associates a text string with a configuration context to help identify the content in the configuration file.

The no form of this command removes the string from the configuration.

Default 

n/a

Parameters 
description-string—
The description character string. Allowed values are any string up to 80 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

Queue Group Commands

queue-group-templates

Syntax 
queue-group-templates
Context 
config>qos
Description 

This command enables the context to define ingress and egress queue group templates.

Default 

n/a

ingress

Syntax 
ingress
Context 
config>qos>queue-group-templates
Description 

This command enables the context to create ingress queue group templates. Ingress queue group templates can be applied to ingress ports to create an ingress queue group of the same name.

An ingress template must be created for a group-name prior to creating a queue group with the same name on an ingress port.

Default 

n/a

queue-group

Syntax 
queue-group queue-group-name [create]
no queue-group queue-group-name
Context 
config>qos>queue-group-templates>egress
config>qos>queue-group-templates>ingress
Description 

This command creates a queue group template. The system does not maintain default queue groups or queue group templates. Each queue group template used in the system must be explicitly created.

The queue-group-name parameter is required when executing the queue-group command and identifies the name of the template to be either created or edited. Each ingress queue group template must be uniquely named within the system. Multiple ingress queue group templates may not share the same name. An ingress and egress queue group template may share the same name.

The no form of the command removes the specified queue group template from the system. If the queue group template is currently in use by an ingress port, the command will fail. If queue-group-name does not exist, the command has no effect and does not return an error.

Default 

n/a

Parameters 
queue-group-name—
Specifies the name of the queue group template up to 32 characters in length.
create—
Keyword used to create the queue group instance. The create keyword requirement can be enabled/disabled in the environment>create context.

policer

Syntax 
policer policer-id [create]
no policer policer-id
Context 
config>qos>queue-group-templates>ingress>queue-group
Description 

This command is used in ingress and egress queue-group templates to create, modify, or delete a policer.

Policers are created and used in a similar manner to queues. The policer ID space is separate from the queue ID space, allowing both a queue and a policer to share the same ID. The ingress queue-group template may have up to 32 policers (numbered 1 through 32) and may be defined, while the egress queue-group template supports a maximum of 8 (numbered 1 through 8). While a policer may be defined in a queue-group template, it is not actually created until the queue-group template is instantiated on the ingress context of a forwarding plane or on the egress context of a port.

Once a policer is created, the policer's metering rate and profiling rates may be defined, as well as the policer's maximum and committed burst sizes (MBS and CBS respectively). Unlike queues that have dedicated counters, policers allow various stat-mode settings that define the counters that will be associated with the policer. Another supported feature—packet-byte-offset—provides a policer with the ability to modify the size of each packet-based on a defined number of bytes.

Once a policer is created, it cannot be deleted from the queue-group template unless any forwarding classes that are redirected to the policer are first removed.

The no version of this command deletes the policer.

Parameters 
policer-id—
The policer-id must be specified when executing the policer command. If the specified ID already exists, the system enters that policer's context to allow the policer’s parameters to be modified. If the ID does not exist and is within the allowed range for the QoS policy type, a context for the policer ID will be created (depending on the system's current create keyword requirements, which may require the create keyword to actually add the new policer ID to the QoS policy) and the system will enter that new policer’s context for possible parameter modification.
Values—
1 to 32

adaptation-rule

Syntax 
adaptation-rule [pir {max | min | closest}] [cir {max | min | closest}]
no adaptation-rule
Context 
config>qos>queue-group-templates>ingress>queue-group>queue
config>qos>queue-group-templates>egress>queue-group>policer
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

This command defines the method used by the system to derive the operational CIR and PIR settings when the queue is provisioned in hardware. For the CIR and PIR parameters individually, the system attempts to find the best operational rate depending on the defined constraint.

The no form of the command removes any explicitly defined constraints used to derive the operational CIR and PIR created by the application of the policy. When a specific adaptation-rule is removed, the default constraints for rate and cir apply.

Default 

adaptation-rule pir closest cir closest

Parameters 
pir —
Defines the constraints enforced when adapting the PIR rate defined within the queue queue-id rate command. The pir parameter requires a qualifier that defines the constraint used when deriving the operational PIR for the queue. When the rate command is not specified, the default applies.
cir —
Defines the constraints enforced when adapting the CIR rate defined within the queue queue-id rate command. The cir parameter requires a qualifier that defines the constraint used when deriving the operational CIR for the queue. When the cir parameter is not specified, the default constraint applies.
Values—
max — The max (maximum) option is mutually exclusive with the min and closest options. When max is defined, the operational PIR for the queue will be equal to or less than the administrative rate specified using the rate command.
min — The min (minimum) option is mutually exclusive with the max and closest options. When min is defined, the operational PIR for the queue will be equal to or greater than the administrative rate specified using the rate command.
closest — The closest parameter is mutually exclusive with the min and max parameter. When closest is defined, the operational PIR for the queue will be the rate closest to the rate specified using the rate command.

adv-config-policy

Syntax 
adv-config-policy adv-config-policy-name
no adv-config-policy
Context 
config>qos>queue-group-templates>egress>queue-group>queue
config>qos>queue-group-templates>ingress>queue-group>queue
config>qos>queue-group-templates>egress>queue-group>policer
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

This command specifies the name of the advanced configuration policy to be applied with this policer.

Parameters 
adv-config-policy-name—
Specifies an existing advanced configuration policy up to 32 characters in length.

cbs

Syntax 
cbs size-in-kbytes
no cbs
Context 
config>qos>queue-group-templates>egress>queue-group>queue
config>qos>queue-group-templates>ingress>queue-group>queue
config>qos>queue-group-templates>egress>queue-group>policer
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

The cbs command is used to define the default committed buffer size for the template queue or the CBS for the template policer. Overall, the cbs command follows the same behavior and provisioning characteristics as the cbs command in the SAP ingress and egress QoS policy.

The no form of this command restores the default CBS size to the template policer.

Default 

default

Parameters 
size-in-kbytes—
For the queues, the size parameter is an integer expression of the number of kilobytes reserved for the queue. If a value of 10KBytes is desired, enter the value 10. A value of 0 specifies that no reserved buffers are required by the queue (a minimal reserved size can still be applied for scheduling purposes). For policers, the size parameter is an integer expression of the number of kilobytes for the policer CBS.
Values—
Queues: 0 to 104857 or default
Minimum configurable non-zero value - 6Kbytes on an FP2 and 7680 bytes on an FP3

Minimum non-zero default value - maximum of 10ms of CIR or 6Kbytes on an FP2 and 7680 bytes on an FP3

Values—
Policers: 0 to 16777216 or default

high-prio-only

Syntax 
high-prio-only percent-of-mbs
no high-prio-only
Context 
config>qos>queue-group-templates>egress>queue-group>policer
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

This command is used to configure the percentage of the policer’s PIR leaky bucket's MBS (maximum burst size) that is reserved for high priority traffic. While the mbs value defines the policer’s high priority violate threshold, the percentage value defined is applied to the mbs value to derive the bucket’s low priority violate threshold. See the mbs command details for information on which types of traffic is associated with each violate threshold.

Parameters 
percent-of-mbs—
The percent-of-mbs parameter is required when specifying high-prio-only and is expressed as a percentage.
Values—
0 to 100
Values—
10

mbs

Syntax 
mbs size [bytes | kilobytes]
no mbs
Context 
config>qos>queue-group-templates>egress>queue-group>queue
config>qos>queue-group-templates>ingress>queue-group>queue
config>qos>queue-group-templates>egress>queue-group>policer
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

This command specifies the default maximum buffer size for the template queue in bytes or kilobytes.

The MBS value is used by a queue to determine whether it has exhausted all of its buffers while enqueuing packets. Once the queue has exceeded the amount of buffers allowed by MBS, all packets are discarded until packets have been drained from the queue.

The port>ethernet>access>ingress>queue-group and port>ethernet>access>egress>queue-group contexts for mbs provides a mechanism for overriding the default maximum size for the queue.

The sum of the MBS for all queues on an ingress access port can oversubscribe the total amount of buffering available. When congestion occurs and buffers become scarce, access to buffers is controlled by the RED slope that a packet is associated with. A queue that has not exceeded its MBS size is not guaranteed that a buffer will be available when needed or that the packet’s RED slope will not force the discard of the packet. Setting proper CBS parameters and controlling CBS oversubscription is one major safeguard to queue starvation (when a queue does not receive its fair share of buffers). Another is properly setting the RED slope parameters for the needs of services on this port or channel.

When configured on an egress queue group queue, this command and the queue-delay command are mutually exclusive. In order to change between the mbs and queue-delay parameters, the current parameter must be removed before adding the new parameter, that is, changing from mbs to queue-delay requires a no mbs before the queue-delay is configured and changing from queue-delay to mbs requires a no queue-delay before the mbs is configured. If queue-delay is configured for an egress queue group queue, it is not possible to override the MBS for that queue.

For policers, this command is used to configure the policer’s PIR leaky bucket’s high priority violate threshold. The high-prio-only command is applied to the MBS value to derive the bucket’s low priority violate threshold.

At ingress, trusted in-profile packets and untrusted high priority packets use the policer’s high priority violate threshold while trusted out-of-profile and untrusted low priority packets use the policer's low priority violate threshold.

At egress, inplus-profile and in-profile packets use the policer’s high priority violate threshold and out-of-profile packets use the policer's low priority violate threshold. exceed-profile packets are discarded unless enable-exceed-pir is configured, in which case they are forwarded.

The PIR bucket’s violate threshold represent the maximum burst tolerance allowed by the policer. If the policer's offered rate is equal to or less than the policer's defined rate, the PIR bucket depth hovers around the 0 depth with spikes up to the maximum packet size in the offered load. If the offered rate increases beyond the metering rate, the amount of data allowed above the rate is capped by the threshold. The low priority violate threshold provides a smaller burst size for the lower priority traffic associated with the policer. Since all lower priority traffic is discarded at the lower burst tolerance size, the remaining burst tolerance defined by high-prio-only is available for the higher priority traffic.

The policer’s mbs size defined in the QoS policy may be overridden on an SLA profile or SAP where the policy is applied.

The no form of this command returns the MBS size assigned to the queue to the value.

Default 

64 kilobytes when PIR is the maximum, otherwise 10 ms volume of traffic for a configured non-zero or non-maximum PIR.

Parameters 
size —
For queues, the size parameter is an integer expression of the maximum number of bytes or kilobytes of buffering allowed for the queue. For a value of 100 kbytes, enter the value 100. A value of 0 causes the queue to discard all packets. For policers, the size parameter is an integer expression of the maximum number of bytes for the policer's MBS. The queue MBS maximum value used is constrained by the pool size in which the queue exists and by the shared pool space in the corresponding megapool.
Values—
For queues: 0 to 134217728, default
Values—
For policers: 0 to 16777216, default
[bytes | kilobytes]—
Select bytes or kilobytes. Kilobytes is the default.

packet-byte-offset

Syntax 
packet-byte-offset {add bytes | subtract bytes}
no packet-byte-offset
Context 
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

This command configures a packet byte offset for the QoS ingress queue-group policer.

Default 

none

Parameters 
add bytes—
Specifies the number of bytes to add as the offset amount.
Values—
0 to 31
subtract bytes—
Specifies the number of bytes to add as the offset amount.
Values—
1 to 32

parent

Syntax 
parent {root | arbiter-name} [level level] [weight weight-within-level]
no parent
Context 
config>qos>queue-group-templates>ingress>queue-group>policer
config>qos>queue-group-templates>egress>queue-group>policer
Description 

This command is used to create a child to parent mapping between each instance of the policer and either the root arbiter or a specific tiered arbiter on the object where the policy is applied. Defining a parent association for the policer causes the policer to compete for the parent policer’s available bandwidth with other child policers mapped to the policer control hierarchy.

Policer control hierarchies may be created on SAPs or on a subscriber or multiservice site context. To create a policer control hierarchy on an ingress or egress SAP context, a policer-control-policy must be applied to the SAP. Once applied, the system will create a parent policer that is bandwidth limited by the policy’s max-rate value under the root arbiter. The root arbiter in the policy also provides the information used to determine the various priority level discard-unfair and discard-all thresholds. Besides the root arbiter, the policy may also contain user defined tiered arbiters that provide arbitrary bandwidth control for subsets of child policers that are either directly or indirectly parented by the arbiter.

When the QoS policy containing the policer with a parent mapping to an arbiter name exists on the SAP, the system will scan the available arbiters on the SAP. If an arbiter exists with the appropriate name, the policer to arbiter association is created. If the specified arbiter does not exist either because a policer-control-policy is not currently applied to the SAP or the arbiter name does not exist within the applied policy, the policer is placed in an orphan state. Orphan policers operate as if they are not parented and are not subject to any bandwidth constraints other than their own PIR. When a policer enters the orphan state, it is flagged as operationally degraded due to the fact that it is not operating as intended and a trap is generated. Whenever a policer-control-policy is added to the SAP or the existing policy is modified, the SAP's policer's parenting configurations must be reevaluated. If an orphan policer becomes parented, the degraded flag should be cleared and a resulting trap should be generated.

For subscribers, the policer control hierarchy is created through the policer-control-policy applied to the sub-profile used by the subscriber. A unique policer control hierarchy is created for each subscriber associated with the sub-profile. The QoS policy containing the policer with the parenting command comes into play through the subscriber sla-profile that references the QoS policy. The combining of the sub-profile and the sla-profile at the subscriber level provides the system with the proper information to create the policer control hierarchy instance for the subscriber. This functionality is available only for the 7450 ESS and 7750 SR.

Executing the parent command will fail if:

  1. The policer’s stat-mode in the QoS policy is set to no-stats
  2. A stat-mode no-stats override exists on an instance of the policer on a SAP or subscriber or multiservice site context

A policer with a parent command applied cannot be configured with stat-mode no-stats in either the QoS policy or as an override on an instance of the policer

Once a policer is successfully parented to an arbiter, the parent commands level and weight parameters are used to determine at what priority level and at which weight in the priority level that the child policer competes with other children (policers or other arbiters) for bandwidth.

The no form of this command is used to remove the parent association from all instances of the policer.

Parameters 
{root | arbiter-name}—
When the parent command is executed, either the keyword root or an arbiter-name must be specified.
root—
The root keyword specifies that the policer is intended to become a child to the root arbiter where an instance of the policer is created. If the root arbiter does not exist, the policer will be placed in the orphan state.
Values—
root
arbiter-name—
The arbiter-name parameter specifies that the policer is intended to become a child to one of the tiered arbiters with the given arbiter-name where an instance of the policer is created. If the specified arbiter-name does not exist, the policer will be placed in the orphan state.
weight weight-within-level
The weight weight-within-level keyword and parameter are optional when executing the parent command. When weight is not specified, a default level of 1 is used in the parent arbiters priority level. When weight is specified, the weight-within-level parameter must be specified as an integer value from 1 through 100.
Values—
1

profile-capped

Syntax 
profile-capped
no profile-capped
Context 
config>qos>queue-group-templates>ingress>queue-group>policer
config>qos>queue-group-templates>egress>queue-group>policer
Description 

This command enables a limit on the profile.

Default 

no profile-capped

rate

Syntax 
rate {max | pir-rate} [cir {max | cir-rate}]
no rate
Context 
config>qos>queue-group-templates>egress>queue-group>policer
config>qos>queue-group-templates>ingress>queue-group>policer
Description 

This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue or policer. The PIR defines the maximum rate that the queue or policer can transmit packets out an egress interface (for SAP egress queues or policer). Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate. The actual rate sustained by the queue or policer can be limited by oversubscription factors or available egress bandwidth.

The CIR defines the rate at which the system prioritizes the queue or policer over other queues or policer competing for the same bandwidth. In-profile then out-of-profile packets are preferentially queued by the system at egress and at subsequent next hop nodes where the packet can traverse. To be properly handled throughout the network, the packets must be marked accordingly for profiling at each hop.

The CIR can be used by the queue or policer’s parent commands cir-level and cir-weight parameters to define the amount of bandwidth considered to be committed for the child queue during bandwidth allocation by the parent scheduler.

The rate command can be executed at anytime, altering the PIR and CIR rates for all queues created through the association of the SAP egress QoS policy with the queue-id or policer-id.

The no form of the command returns all queues or policer created with the queue-id or policer-id by association with the QoS policy to the default PIR and CIR parameters (max, 0).

Parameters 
max —
The max default specifies the amount of bandwidth in kilobits per second (thousand bits per second).
pir-rate—
Defines the administrative PIR rate, in kilobits, for the queue or policer. When the rate command is executed, a valid PIR setting must be explicitly defined. When the rate command has not been executed, the default PIR of max is assumed. When max is specified, the maximum policer rate 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 PIR used is equivalent to max. Fractional values are not allowed and must be given as a positive integer.

The actual PIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue or policer is provisioned.

Values—
{[1 to 2000000000 | max} Kbps
Values—
max
cir-rate—
The cir parameter overrides the default administrative CIR used by the queue or policer. When the rate command is executed, a CIR setting is optional. When the rate command has not been executed or the cir parameter is not explicitly specified, the default CIR (0) is assumed.

Fractional values are not allowed and must be given as a positive integer. When max is specified, the maximum policer rate 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 CIR used is equivalent to max.

Values—
{0 to 2000000000 | max} Kbps
Values—
0

stat-mode

Syntax 
stat-mode {no-stats | minimal | offered-profile-no-cir | offered-priority-no-cir | offered-profile-cir | offered-priority-cir | offered-total-cir | offered-limited-profile-cir | offered-profile-capped-cir | offered-limited-capped-cir}
no stat mode
Context 
cfg>qos>qgrps>ing>qgrp>policer
Description 

This command is used to configure the forwarding plane counters that allow offered, forwarded and dropped accounting to occur for the policer. An ingress policer has multiple types of offered packets (explicit in-profile, explicit out-of-profile, uncolored, 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, for example, 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 that prevents any packet accounting, the use of the policer’s parent command requires that 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. The total/allocated/free stats can be viewed by using the tools dump resource-usage card fp 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 stat-modes are summarized in Table 53.

Table 53:   Stat-mode descriptions 

Stat Mode

Stat Resources

Traffic Counters (Packet/Octets)

Comments

Offered

Dropped/Forwarded

no-stats

0

None

None

Minimal

1

Single counter entering policer

Single counter for dropped/forwarded exiting policer

offered-profile-no-cir

2

In/out entering policer

In/out entering policer

Intended for when the policer does not change the profile of packets. Includes only in- and out-of-profile.

offered-priority-no-cir

2

High/low entering policer

High/low entering policer

Intended for when only packet priority stats are required.

offered-profile-cir

4

In/out/uncolored entering policer

In/out exiting policer

Intended for when the policer can change the profile of packets to in- and out-of-profile.

offered-priority-cir

4

High/low entering policer

In/out exiting policer

Intended for when packet priority entering the policer and profile exiting the policer is required.

offered-total-cir

2

Single counter entering policer

In/out exiting policer

offered-limited-profile-cir

3

Out/uncolored entering policer

In/out exiting policer

Intended for when the policer can change the profile of packet to in- and out-of-profile. The information is limited compared to offered-profile-capped-cir with the benefit on using one less stat resource.

offered-profile-capped-cir

5

In/out/uncolored entering policer

In/out exiting policer

Intended for when the policer has profile-capped configured.

offered-limited-capped-cir

4

In/uncolored entering policer

In/out exiting policer

Intended for when the policer has profile-capped configured. The information is limited compared to offered-profile-capped-cir with the benefit on using one less stat resource.

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.

Parameters 
no-stats—
Counter resource allocation: 0

The policer does not have any forwarding plane counters allocated and cannot provide offered, dropped and forwarded 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, no statistics are generated.

minimal—
Counter resource allocation: 1

This stat-mode provides the minimal accounting resource usage and counter information, and includes the total offered, dropped and forwarded packet and octet counters for traffic entering (offered) and exiting (dropped/forwarded) the policer.

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 in-profile or out-of-profile output. This does not prevent the policer from supporting different offered packet types and does not prevent the policer from supporting a CIR rate.

This counter mode is useful when only the most basic accounting information is required.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 54.

Table 54:  Ingress Accounting Statistics Collected in minimal stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. All

apo

AllPacketsOffered

aoo

AllOctetsOffered

Dro. All

apd

AllPacketsDropped

aod

AllOctetsDropped

For. All

apf

AllPacketsForwarded

aof

AllOctetsForwarded

offered-profile-no-cir —
Counter resource allocation: 2

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering the policer.

The offered-profile-no-cir mode allocates two forwarding plane offered counters and two traffic manager discard counters.

The offered-profile-no-cir mode is most useful when the policer is receiving only in-profile and out-of-profile premarked (and trusted) packets. It is expected that in this instance a CIR rate will not be defined since all packet are already premarked. This mode does not prevent the policer from receiving untrusted (color undefined) nor does it prevent the policer from being configured with a CIR rate.

This mode is intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 55.

Table 55:  Ingress Accounting Statistics Collected in offered-profile-no-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-priority-no-cir —
Counter resource allocation: 2

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the packet priority of traffic entering the policer.

The offered-priority-no-cir mode allocates two forwarding plane offered counters and two traffic manager discard counters.

The offered-priority-no-cir mode is most useful when the policer is receiving only untrusted packets and the ingress priority high and priority low classification options are being used without a CIR profiling rate defined. This mode does not prevent the policer from receiving trusted packets that are premarked in-profile or out-of-profile nor does it prevent the policer from being configured with a CIR rate.

This mode is intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 56.

Table 56:  Ingress Accounting Statistics Collected in offered-priority-no-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. HiPrio

hpo

HighPriorityPacketsOffered

hoo

HighPriorityOctetsOffered

Off. LowPrio

lpo

LowPriorityPacketsOffered

loo

LowPriorityOctetsOffered

Dro. HiPrio

hpd

HighPriorityPacketsDropped

hod

HighPriorityOctetsDropped

Dro. LowPrio

lpd

LowPriorityPacketsDropped

lod

LowPriorityOctetsDropped

For. HiPrio

hpf

HighPriorityPacketsForwarded

hof

HighPriorityOctetsForwarded

For. LowPrio

lpf

LowPriorityPacketsForwarded

lof

LowPriorityOctetsForwarded

offered-profile-cir —
Counter resource allocation: 4

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer when ingress reclassification is performed so that the traffic entering the policer comprises of hard in/out and uncolored. The offered counters cover traffic explicitly profiled to in-profile, traffic explicitly profiled to out-of-profile and traffic that has not been explicitly profiled at ingress (uncolored).

The offered-profile-cir mode allocates four forwarding plane offered counters and four traffic manager discard counters.

The offered-profile-cir mode is most useful when the policer is receiving trusted out-of-profile and in-profile traffic and is also receiving untrusted packets that are being applied to a defined CIR profiling rate. This mode differs from offered-limited-profile-cir mode in that it expects both trusted in-profile and out-of-profile packets while still performing CIR profiling on packets with untrusted markings.If trusted in-profile packets are not being received, the offered-limited-profile-cir stat-mode could be used instead, which has the benefit of using a reduced number of stat resources.

This mode is intended to be used without profile-capped configured within the policer as this could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 57.

Table 57:  Ingress Accounting Statistics Collected in offered-profile-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Off. Uncolor

ucp

UncoloredPacketsOffered

uco

UncoloredOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-priority-cir —
Counter resource allocation: 4

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the priority of traffic entering the policer and the profile exiting the policer.

The offered-priority-cir mode allocates four forwarding plane offered counters and four traffic manager discard counters.

The offered-priority-cir mode is most useful when the policer is receiving only untrusted packets that are being classified as high priority or low priority and are being applied to a defined CIR profiling rate. This mode differs from offered-profile-cir mode in that it does not expect trusted in-profile and out-of-profile packets but does not exclude the ability of the policer to receive them.

This mode is intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 58.

Table 58:  Ingress Accounting Statistics Collected in offered-priority-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. HiPrio

hpo

HighPriorityPacketsOffered

hoo

HighPriorityOctetsOffered

Off. LowPrio

lpo

LowPriorityPacketsOffered

loo

LowPriorityOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-total-cir—
Counter resource allocation: 2

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer. All offered traffic is provided in a single counter.

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.

This mode is intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 59.

Table 59:  Ingress Accounting Statistics collected in offered-total-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. All

apo

AllPacketsOffered

aoo

AllOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-limited-profile-cir —
Counter resource allocation: 3

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer when ingress reclassification is performed so that the traffic entering the policer comprises of hard out and uncolored. The offered counters cover traffic explicitly profiled to out-of-profile and traffic that has not been explicitly profiled at ingress (uncolored). The traffic explicitly profiled to in-profile is counted with the uncolored traffic.

The offered-limited-profile-cir mode allocates three forwarding plane offered counters and three traffic manager discard counters.

The offered-limited-profile-cir mode is most useful when the policer is receiving trusted out-of-profile (profile out but no profile in) traffic and untrusted packets are being applied to a defined CIR profiling rate. This mode does not prevent the policer from receiving trusted in-profile packets. If trusted in-profile packets are not being received, the offered-limited-profile-cir is preferred over offered-profile-cir because it uses a reduced number of stat resources.

This mode is intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 60.

Table 60:  Ingress Accounting Statistics Collected in offered-limited-profile-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Off. Uncolor

ucp

UncoloredPacketsOffered

uco

UncoloredOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-profile-capped-cir —
Counter resource allocation: 5

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer when ingress reclassification is performed so that the traffic entering the policer comprises of hard in/out and uncolored. The offered counters cover traffic explicitly profiled to in-profile, traffic explicitly profiled to out-of-profile and traffic that has not been explicitly profiled at ingress (uncolored).

When offered-profile-capped-cir is defined, the system creates five offered-output counters in the forwarding plane and five discard counters in the traffic manager.

The offered-profile-capped-cir mode is similar to the offered-profile-cir mode except that it includes support for profile in and soft-in-profile that may be output as ‘out-of-profile’ due to enabling profile-capped mode on the ingress policer.

The impact of using offered-profile-capped-cir stat-mode while profile-capped mode is disabled is that one of the counting resources in the forwarding plane and traffic manager will not be used.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 61.

Table 61:  Ingress Accounting Statistics Collected in offered-profile-capped-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Off. Uncolor

ucp

UncoloredPacketsOffered

uco

UncoloredOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-limited-capped-cir —
Counter resource allocation: 4

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer when ingress reclassification is performed resulting in the traffic entering the policer comprising of hard in/out and uncolored. The offered counters cover in-profile traffic and traffic that has not been explicitly profiled at ingress (uncolored). The traffic explicitly profiled to out-of-profile is counted with the uncolored traffic.

offered-limited-capped-cir is defined, the system creates four forwarding plane offered-output counters in the network processor and four 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 soft in-profile with profile in (InProf) and profile out (OutProf) with soft-out-of-profile (Uncolor) and eliminates the 'offered undefined' statistic. If trusted out-of-profile packets are not being received the offered-limited-capped-cir is preferred over offered-profile-capped-cir because it uses a reduced number of stat resources.

This mode is intended to be used with profile-capped configured within the policer.

The impact of using offered-limited-capped-cir stat-mode while profile-capped mode is disabled are that one of the counting resources in the forwarding plane and traffic manager will not be used.

The counters displayed in the show output and those collected when collect-stats is enabled (the actual fields collected depends on the record configured in the applied accounting policy) are described in Table 62.

Table 62:  Ingress Accounting Statistics Collected in offered-limited-capped-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. Uncolor

ucp

UncoloredPacketsOffered

uco

UncoloredOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

queue

Syntax 
queue queue-id [multipoint] [queue-type] [queue-mode] [create]
no queue queue-id
Context 
config>qos>queue-group-templates>ingress>queue-group
Description 

This command creates a queue for use in a queue group template. Once created, the defined queue-id acts as a repository for the default parameters for the queue. The template queue is created on each queue-group object that is created with the queue group template name. Each queue is identified within the template by a queue-id number. The template ensures that all queue groups created with the template name will have the same queue-ids providing a uniform structure for the forwarding class redirection commands in the SAP ingress QoS policies. The parameters within the template queue will be used as the default settings for each queue in the actual queue group. The queue parameters may be individually changed for each queue in each queue group using per queue overrides.

Once a queue within a template is mapped by a forwarding class on any object, the queue may be edited, but not deleted.

The no form of the command removes a template queue from the queue group template. If the queue is specified as a forwarding class redirection target in any SAP ingress QoS policy, the command will fail.

Default 

none

Parameters 
queue-id—
This required parameter identifies the queue that will either be created or edited within the queue group template.
Values—
1 to 32
multipoint—
This optional keyword creates an ingress multipoint queue. Multipoint queues in a queue group may be used by ingress VPLS for forwarding types multicast, broadcast or unknown within a forwarding class. For ingress IES and VPRN access SAPs, only multicast is supported. Multipoint queues are only supported on ingress queue group templates.
Values—
non-multipoint (unicast queue)
queue-type—
The queue types are mutually exclusive to each other.
Values—
expedite — This keyword ensures that the queue is treated in an expedited manner independent of the forwarding classes mapped to the queue.
best-effort — This keyword ensures that the queue is treated in a non-expedited manner independent of the forwarding classes mapped to the queue.
Values—
best-effort
queue-mode—
These keywords are optional and mutually exclusive when creating a new template queue. The keywords specify how the queue manages ingress explicitly profiled packets.
Values—
profile-mode — Overrides the default priority mode of the queue and allows the adoption of color-aware profiling within the queue. Forwarding classes and subclasses may be explicitly defined as in-profile or out-of-profile. Out-of-profile classified packets bypass the CIR rate associated with the queue reserving it for the undefined or in-profile classified packets. If the template queue is not defined as profile-mode and the packet redirected to the queue is explicitly out-of-profile based on the classification rules, the queues within CIR bandwidth may be consumed by the packet.
priority-mode — Defines that the SAP ingress QoS policy priority classification result will be honored by the queue. Priority mode is the default mode of the queue. High priority packets are allowed into the queue up to the mbs size defined for the queue. Low priority packets are discarded at the low priority MBS threshold that is derived from applying the hi-prio-only percentage to the queues MBS and subtracting that result from the mbs size defined.
create—
Keyword used to create the queue ID instance.

burst-limit

Syntax 
burst-limit size [bytes | kilobytes]
no burst-limit
Context 
config>qos>queue-group-templates>egress>queue-group>queue
config>qos>queue-group-templates>ingress>queue-group>queue
Description 

The queue burst-limit command is used to define an explicit shaping burst size for a queue. The configured size defines the shaping leaky bucket threshold level that indicates the maximum burst over the queue’s shaping rate.

The burst-limit command is supported under the sap-ingress and sap-egress QoS policy queues. The command is also supported under the ingress and egress queue-group-templates queues.

The no form of this command is used to restore the default burst limit to the specified queue. This is equivalent to specifying burst-limit default within the QoS policies or queue group templates. When specified within a queue-override queue context, any current burst limit override for the queue will be removed and the queue’s burst limit will be controlled by its defining policy or template.

Parameters 
size—
When a numeric value is specified (size), the system interprets the value as an explicit burst limit size. The value is expressed as an integer and by default is interpreted as the burst limit in Kilobytes. If the value is intended to be interpreted in bytes, the byte qualifier must be added following size.
Values—
1 to 14,000 (14,000 or 14,000,000 depending on bytes or kilobytes)
bytes—
The bytes qualifier is used to specify that the value given for size must be interpreted as the burst limit in bytes. The byte qualifier is optional and mutually exclusive with the kilobytes qualifier.
kilobytes—
The kilobytes qualifier is used to specify that the value given for size must be interpreted as the burst limit in Kilobytes. The kilobyte qualifier is optional and mutually exclusive with the bytes qualifier. If neither bytes nor kilobytes is specified, the default qualifier is kilobytes.

high-prio-only

Syntax 
high-prio-only percent
no high-prio-only
Context 
config>qos>queue-group-templates>egress>queue-group>queue
config>qos>queue-group-templates>ingress>queue-group>queue
Description 

The high-prio-only command configures the percentage of buffer space for the queue, used exclusively by high priority packets. The specified value overrides the default value for the context.

The priority of a packet can only be set in the SAP ingress QoS policy and is only applicable on the ingress queues for a SAP. At SAP egress, the priority of a packet is based on its profile state.

The no form of this command restores the default high priority reserved size.

Parameters 
percent—
The percentage reserved for high priority traffic on the queue.
Values—
0 to 100, default

packet-byte-offset

Syntax 
packet-byte-offset {add bytes | subtract bytes}
no packet-byte-offset
Context 
config>qos>queue-group-templates>ingress>queue-group>queue
Description 

This command is used to modify the size of each packet handled by the queue by adding or subtracting a number of bytes. The actual packet size is not modified; only the size used to determine the ingress scheduling and profiling is changed. The packet-byte-offset command is meant to be an arbitrary mechanism that can be used to either add downstream frame encapsulation or remove portions of packet headers. Both the scheduling and profiling throughput is affected by the offset as well as the stats (accounting) associated with the queue. The packet-byte-offset does not apply to drop statistics, received valid statistics, or the offered managed and unmanaged statistics used by Ingress Multicast Path Management.

The no version of this command is used to remove per packet size modifications from the queue.

Parameters 
add bytes
The add keyword is mutually exclusive to the subtract keyword. Either add or subtract must be specified. When add is defined the corresponding bytes parameter specifies the number of bytes that is added to the size each packet associated with the queue for scheduling, profiling and accounting purposes. From the queue’s perspective, the packet size is increased by the amount being added to the size of each packet.
Values—
0 to 30, in steps of 2
subtract bytes
The subtract keyword is mutually exclusive to the add keyword. Either add or subtract must be specified. When subtract is defined the corresponding bytes parameter specifies the number of bytes that is subtracted from the size of each packet associated with the queue for scheduling, profiling and accounting purposes. From the queue’s perspective, the packet size is reduced by the amount being subtracted from the size of each packet. The minimum resulting packet size used by the system is 1 byte.
Values—
Values 0 to 64, in steps of 2

parent

Syntax 
parent scheduler-name [weight weight] [level level] [cir-weight cir-weight] [cir-level cir-level]
no parent
Context 
config>qos>queue-group-templates>egress>queue-group>queue
config>qos>queue-group-templates>ingress>queue-group>queue
Description 

This command defines an optional parent scheduler that further governs the available bandwidth given the queue aside from the queue’s PIR setting. When multiple schedulers, policers (at egress only), and/or queues share a child status with the parent scheduler, the weight or level parameters define how this queue contends with the other children for the parent’s bandwidth.

Checks are not performed to see if a scheduler-name exists when the parent command is defined on the queue. Scheduler names are configured in the config>qos>scheduler-policy>tier level context. Multiple schedulers can exist with the scheduler-name and the association pertains to a scheduler that should exist on the egress SAP as the policy is applied and the queue created. When the queue is created on the egress SAP, the existence of the scheduler-name is dependent on a scheduler policy containing the scheduler-name being directly or indirectly applied (through a multiservice customer site) to the egress SAP. If the scheduler-name does not exist, the queue is placed in the orphaned operational state. The queue will accept packets but will not be bandwidth limited by a virtual scheduler or the scheduler hierarchy applied to the SAP. The SAP that the queue belongs to must also depict an orphan queue status. The orphaned state of the queue is automatically cleared when the scheduler-name becomes available on the egress SAP.

The parent scheduler can be made unavailable due to the removal of a scheduler policy or scheduler. When an existing parent scheduler is removed or inoperative, the queue enters the orphaned state mentioned above and automatically return to normal operation when the parent scheduler is available again.

When a parent scheduler is defined without specifying weight or strict parameters, the default bandwidth access method is weight with a value of 1.

The no form of the command removes a child association with a parent scheduler. If a parent association does not currently exist, the command has no effect and returns without an error. Once a parent association has been removed, the former child queue attempts to operate based on its configured rate parameter. Removing the parent association on the queue within the policy takes effect immediately on all queues using the SAP egress QoS policy.

Parameters 
scheduler-name—
The defined scheduler-name conforms to the same input criteria as the schedulers defined within a scheduler policy. Scheduler names are configured in the config>qos>scheduler-policy>tier level context. There are no checks performed at the time of definition to ensure that the scheduler-name exists within an existing scheduler policy. For the queue to use the defined scheduler-name, the scheduler exists on each egress SAP the queue is eventually created on. For the duration where scheduler-name does not exist on the egress SAP, the queue operates in an orphaned state.
Values—
Any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
Values—
None. Each parental association must be explicitly defined.
weight weight
weight defines the relative weight of this queue in comparison to other child schedulers and queues while vying for bandwidth on the parent scheduler-name. Any queues or schedulers defined as weighted receive no parental bandwidth until all policers, queues, and schedulers with a higher (numerically larger) priority on the parent have reached their maximum bandwidth or are idle.

All weight values from all weighted active queues, policers, and schedulers with a common parent scheduler are added together. Then, each individual active weight is divided by the total, deriving the percentage of remaining bandwidth provided to the queue, policer, or scheduler. A weight is considered to be active when the pertaining queue or scheduler has not reached its maximum rate and still has packets to transmit. All child policers, queues, and schedulers with a weight of 0 are considered to have the lowest priority level and are not serviced until all non-zero weighted queues, policers, and schedulers at that level are operating at the maximum bandwidth or are idle.

Values—
0 to 100
Values—
1
level level
The optional level parameter defines the level of hierarchy when compared to other schedulers and queues when vying for bandwidth on the parent scheduler-name. Queues or schedulers will not receive parental bandwidth until all queues and schedulers with a higher (numerically larger) priority on the parent have reached their maximum bandwidth or are idle.

Children of the parent scheduler with a lower strict priority will not receive bandwidth until all children with a higher strict priority have either reached their maximum bandwidth or are idle. Children with the same strict level are serviced relative to their weights.

Values—
1 to 100
Values—
1
cir-weight cir-weight
Defines the weight the queue or scheduler will use at the within-cir port priority level (defined by the cir-level parameter). The weight is specified as an integer value from 0 to 100 with 100 being the highest weight. When the cir-weight parameter is set to a value of 0 (the default value), the queue or scheduler does not receive bandwidth during the port schedulers within-cir pass and the cir-level parameter is ignored. If the cir-weight parameter is 1 or greater, the cir-level parameter comes into play.
Values—
0 to 100
Values—
1
cir-level cir-level
Defines the port priority the queue or scheduler will use to receive bandwidth for its within-cir offered-load. If the cir-weight parameter is set to a value of 0 (the default value), the queue or scheduler does not receive bandwidth during the port schedulers within-cir pass and the cir-level parameter is ignored. If the cir-weight parameter is 1 or greater, the cir-level parameter comes into play.
Values—
0 to 8 (8 is the highest priority)
Values—
0

pool

Syntax 
pool pool-name
no pool
Context 
config>qos>queue-group-templates>egress>queue-group>queue
config>qos>queue-group-templates>ingress>queue-group>queue
Description 

This command allows the queue to receive buffers from an explicit buffer pool instead of the default buffer pool. The specified pool-name must have been explicitly created in a named pool policy and the policy must have been applied to the MDA or port on which the queue resides. Named pools are not supported on the 7950 XSR, 7750 SRc4/12, 7750 SR-a4/a8 or 7750 SR-1e/2e/3e.

If the specified pool-name does not exist on the MDA, the queue will be treated as pool orphaned and will be mapped to the appropriate default pool. Once the pool comes into existence on the MDA or port, the queue will be mapped to the new pool.

Once the queue is created within the policy, the pool command may be used to either remove the queue from the pool or specify a new pool name association for the queue. The pool command does not appear in save or show command output. Instead, the current pool name for the queue will appear on the queue command output using the pool keyword if it is configured.

The no form of the command removes the pool name from the configuration.

Default 

n/a

Parameters 
pool-name—
The specified pool-name identifies a named pool where the policy will be applied. Each queue created within the system is tied to a physical port. The specified name must be an ASCII name string up to 16 characters long.

rate

Syntax 
rate pir-rate [cir cir-rate]
rate pir-rate police
no rate
Context 
config>qos>queue-group-templates>ingress>queue-group>queue
Description 

This command defines the administrative Peak Information Rate (PIR) and the administrative Committed Information Rate (CIR) parameters for the queue. The PIR defines the maximum rate that the queue can transmit packets through the switch fabric (for SAP ingress queues). Defining a PIR does not necessarily guarantee that the queue can transmit at the intended rate. The actual rate sustained by the queue can be limited by oversubscription factors or available egress bandwidth.

The CIR defines the rate at which the system prioritizes the queue over other queues competing for the same bandwidth. For SAP ingress, the CIR also defines the rate that packets are considered in-profile by the system. In-profile then out-of-profile packets are preferentially queued by the system at egress and at subsequent next hop nodes where the packet can traverse. To be properly handled throughout the network, the packets must be marked accordingly for profiling at each hop.

The CIR can be used by the queue’s parent commands cir-level and cir-weight parameters to define the amount of bandwidth considered to be committed for the child queue during bandwidth allocation by the parent scheduler.

The rate command can be executed at anytime, altering the PIR and CIR rates for all queues created through the association of the SAP ingress or SAP egress QoS policy with the queue-id.

The no form of the command returns all queues created with the queue-id by association with the QoS policy to the default PIR and CIR parameters (max, 0).

Default 

n/a

Parameters 
pir-rate—
Defines the administrative PIR rate, in kilobits, for the queue. When the rate command is executed, a valid PIR setting must be explicitly defined. When the rate command has not been executed, the default PIR of max is assumed. Fractional values are not allowed and must be given as a positive integer.

The actual PIR rate is dependent on the queue’s adaptation-rule parameters and the actual hardware where the queue is provisioned.

Values—
[1 to 2000000000 | max] Kbps
Values—
max
cir-rate—
The cir parameter overrides the default administrative CIR used by the queue. When the rate command is executed, a CIR setting is optional. When the rate command has not been executed or the cir parameter is not explicitly specified, the default CIR (0) is assumed. Fractional values are not allowed and must be given as a positive integer.
Values—
[0 to 2000000000 | max] Kbps
Values—
0
police—
Specifies that the out of profile traffic feeding into the physical queue instance should be dropped. Using this keyword will override the bandwidth specified by the SAP ingress queue’s administrative CIR.

If the police keyword is not specified, the individual queue group overrides may override both the defined shaping rate and the cir defined profiling rate. When police is defined, only the policing rate may be overridden.

egress

Syntax 
egress
Context 
config>qos>queue-group-templates
Description 

This command enables the context to configure QoS egress queue groups. Egress queue group templates can be applied to egress Ethernet ports to create an egress queue group.

Default 

n/a

fc

Syntax 
fc fc-name [create]
no fc fc-name
Context 
config qos>queue-group-templates>egress>queue-group-template
Description 

The fc command is used to enter the forwarding class mapping context for the given fc-name. Each forwarding class has a default mapping depending on the egress queue group template. The system created policer-output-queue template contains queues 1 and 2 by default with queue 1 being best-effort and queue 2 expedited. Forwarding classes be, l1, af and l2 all map to queue 1 by default. Forwarding classes h1, ef, h2 and nc all map to queue 2 by default. More queues may be created within the policer-output-queues template and the default forwarding classes may be changed to any defined queue within the template.

When all other user defined egress queue group templates are created, only queue 1 (best-effort) exists and all forwarding classes are mapped to that queue. Other queues may be created and the forwarding classes may be changed to any defined queue within the template.

Besides the default mappings within the templates, the egress queue group template forwarding class queue mappings operate the same as the forwarding class mappings in a sap-egress QoS policy.

The template forwarding class mappings are the default mechanism for mapping egress policed traffic to a queue within an egress port queue group associated with the template. If a queue-id is explicitly specified in the QoS policy forwarding class policer mapping, and that queue exists within the queue group, the template forwarding class mapping is ignored.

On the 7450 ESS and 7750 SR, egress policed subscriber traffic works in a slightly different way. The subscriber and subscriber host support destination and organization strings are used to identify the egress port queue group. In this instance, the forwarding class mappings are always used and any queue overrides in the QoS policy are ignored. If neither string exists for the subscriber host, the egress queue group queue-id can be derived from either the QoS policy policer mapping or the template forwarding class queue mappings.

The no form of this command is used to return the specified forwarding class to its default template queue mapping.

Parameters 
fc-name—
A valid forwarding class must be specified as fc-name when the fc command is executed. When the fc fc-name command is successfully executed, the system will enter the specified forwarding class context where the queue queue-id command may be executed.
Values—
be, l1, af, l2, h1, ef, h2, nc
Values—
n/a

queue

Syntax 
queue queue-id
no queue
Context 
config>qos>queue-group-templates>egress>queue-group-template>fc
Description 

This command is used to map the forwarding class to the specified queue-id. The specified queue-id must exist within the egress queue group template. Once a queue is defined in a forwarding class mapping, that queue cannot be deleted unless the forwarding class mapping is moved to another queue within the template. Other criteria may also exist preventing the queue from being deleted from the template such as an applied SAP egress QoS policy mapping to the queue.

Parameters 
queue-id—
The specified queue-id must exist within the egress queue group template.
Values—
1 to 8
Values—
dependent on user or system created template

packet-byte-offset

Syntax 
packet-byte-offset {add bytes | subtract bytes}
no packet-byte-offset
Context 
config>qos>qgrps>egr>qgrp>queue
config>qos>queue-group-templates>egress>queue-group>hsmda-queues
cfg>qos>qgrps>egr>qgrp>policer
Description 

This command is used to modify the size of each packet handled by the queue by adding or subtracting a number of bytes. The actual packet size is not modified; only the size used to determine the bucket depth impact is changed.

The packet-byte-offset command is meant to be an arbitrary mechanism that can be used to either add downstream frame encapsulation or remove portions of packet headers.

When a packet-byte-offset value is applied to a queue or policer instance, it adjusts the immediate packet size. This means that the queue rates (i.e., operational PIR and CIR) and policer or queue bucket updates use the adjusted packet size. In addition, the statistics will also reflect the adjusted packet size. Scheduler policy rates, which are data rates, will use the adjusted packet size.

The port scheduler max-rate and the priority level rates and weights, if a Weighted Scheduler Group is used, are always on-the-wire rates and thus use the actual frame size. The same goes for the agg-rate-limit on a SAP, a subscriber, or a Multiservice Site (MSS) when the queue is port-parented.

When the user enables frame-based-accounting in a scheduler policy or queue-frame-based-accounting with agg-rate-limit in a port scheduler policy, the policer or queue rate will be capped to a user configured on-the-wire rate and the packet-byte-offset is not included, however the offsets are applied to the statistics. This command is ignored on FP1 hardware.

The no version of this command is used to remove per packet size modifications from the queue.

Parameters 
add bytes
The add keyword is mutually exclusive to the subtract keyword. Either add or subtract must be specified. When add is defined, the corresponding bytes parameter specifies the number of bytes that is added to the size of each packet associated with the queue for scheduling and accounting purposes.
Values—
0 to 32
subtract bytes
The subtract keyword is mutually exclusive to the add keyword. Either add or subtract must be specified. When subtract is defined, the corresponding bytes parameter specifies the number of bytes that is subtracted to the size of each packet associated with the queue for scheduling and accounting purposes. The minimum resulting packet size used by the system is 1 byte.
Values—
0 to 64

policer

Syntax 
policer policer-id [create]
no policer
Context 
config>qos>queue-group-templates>egress>queue-group
Description 

This command configures a QoS egress queue-group policer.

Default 

none

Parameters 
policer-id—
This required parameter identifies the queue-group policer that will either be created or edited within the queue group template.
Values—
1 to 8
create—
This optional keyword creates an ingress queue-group policer.

enable-exceed-pir

Syntax 
[no] enable-exceed-pir
Context 
config>qos>sap-egress>policer
cfg>qos>qgrps>egr>qgrp
Description 

This command enables the forwarding of traffic exceeding the PIR for a SAP egress or a network egress queue group (configured in the egress queue group template) policer. This traffic is forwarded as exceed-profile instead of being dropped.

Default 

no enable-exceed-pir

stat-mode

Syntax 
stat-mode {no-stats | minimal | offered-profile-no-cir | offered-profile-cir | offered-total-cir | offered-limited-capped-cir | offered-profile-capped-cir | offered-total-cir-exceed | offered-four-profile-no-cir | offered-total-cir-four-profile}
no stat mode
Context 
cfg>qos>qgrps>egr>qgrp>policer
Description 

The sap-egress QoS policy's policer stat-mode command is used to configure the forwarding plane counters that allow offered, forwarded and dropped accounting to occur for the policer. An egress policer has multiple types of offered packets (soft in-profile and out-of-profile from ingress and hard in-profile, out-of-profile, and exceed-profile due to egress profile overrides) 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 potential large number of egress policers, it is not economical to allocate counters in the forwarding plane for all possible offered packet types and output conditions. Many policers, for example, will not be configured with a CIR profiling rate and not all policers will receive explicitly re-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 that prevents any packet accounting, the use of the policer's parent command requires that 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. The total/allocated/free stats can be viewed by using the tools dump resource-usage card fp 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 ingress policer stat-modes are summarized in Table 63.

Table 63:   Egress Policer Stat-mode Summary 

Stat Mode

Stat Resources

Traffic Counters (Packet/Octets)

Comments

Offered

Dropped/Forwarded

no-stats

0

None

None

Minimal

1

Single counter entering policer

Single counter for dropped/forwarded exiting policer

offered-profile-no-cir

2

In/out entering policer

In/out entering policer

Intended for when the policer does not change the profile of packets. Includes only in- and out-of-profile.

offered-profile-cir

4

In/out/uncolored (that corresponds to in- or out-of-profile from the ingress processing) entering policer

In/out exiting policer

Intended for when the policer can change the profile of packets to in- and out-of-profile.

offered-total-cir

2

Single counter entering policer

In/out exiting policer

offered-limited-capped-cir

4

In/out entering policer

In/out exiting policer

Intended for when the policer has profile-capped configured. The information is limited compared to offered-profile-capped-cir with the benefit of using one less stat resources.

offered-profile-capped-cir

5

In/out/uncolored (that corresponds to in- or out-of-profile from the ingress processing) entering policer

In/out exiting policer

Intended for when the policer has profile-capped configured.

offered-total-cir-exceed

3

Single counter entering policer

In/out/exceed exiting policer

Intended for when the policer is configured with enable-exceed-pir to forward packets that exceed its configured PIR or when traffic is egress reclassified to profile exceed.

offered-four-profile-no-cir

4

Inplus/in/out/exceed entering policer

Inplus/in/out/exceed entering policer

Intended to be used when the policer does not change the profile of the packets and traffic is egress reclassified to profile inplus and/or exceed.

offered-total-cir-four-profile

4

Single counter entering policer

Inplus/in/out/exceed exiting

policer

Intended to be used when the policer can change the profile of the packet and traffic is egress reclassified to profile inplus.

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.

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, no statistics are generated.

minimal—
Counter resource allocation: 1

This stat-mode provides the minimal accounting resource usage and counter information, and includes only the total offered, dropped and forwarded packet and octet counters for traffic entering (offered) and exiting (dropped/forwarded) the policer.

The default stat-mode for a policer is minimal. The minimal mode allocates one 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 and do not count different profile 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.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 64 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 64:  Egress Accounting Statistics Collected in minimal stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. All

apo

AllPacketsOffered

aoo

AllOctetsOffered

Dro. All

apd

AllPacketsDropped

aod

AllOctetsDropped

For. All

apf

AllPacketsForwarded

aof

AllOctetsForwarded

offered-profile-no-cir —
Counter resource allocation: 2

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering the policer. inplus-profile traffic is counted with the in-profile counters and exceed-profile traffic is counted with the out-of-of profile counters.

The offered-profile-no-cir mode allocates two forwarding plane offered counters and two traffic manager discard counters.

The offered-profile-no-cir mode is most useful when profile-based offered, dropped and forwarded statistics are required from the egress policer, but a CIR or enable-exceed-pir is not being used to recolor the soft in-profile and out-of-profile packets. This mode does not prevent the policer from being configured with a CIR rate or using enable-exceed-pir.

This mode is intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 65 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 65:  Egress Accounting Statistics Collected in offered-profile-no-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-profile-cir —
Counter resource allocation: 4

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer when egress reclassification is performed so that the traffic entering the policer comprises of hard inplus/in/out/exceed and soft in/out. The offered counters cover traffic reclassified to in-profile (that includes traffic reclassified to inplus-profile), traffic reclassified to out-of-profile (that includes traffic reclassified to exceed-profile) and traffic that has not been reclassified at egress (Uncolor). In the dropped and forwarded counters, inplus-profile traffic is counted with the in-profile counter and exceed-profile traffic is counted with the out-of-profile counter.

The offered-profile-cir mode allocates four forwarding plane offered counters and four traffic manager discard counters.

The offered-profile-cir mode is most useful when profile based offered, dropped and forwarded stats are required from the egress policer and a CIR rate is being used to recolor the soft in-profile and out-of-profile packets.

This mode is intended to be used without profile-capped or enable-exceed-pir configured within the policer as these could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 66 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 66:  Egress Accounting Statistics Collected in offered-profile-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Off. Uncolor

ucp

UncoloredPacketsOffered

uco

UncoloredOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-total-cir—
Counter resource allocation: 2

This stat-mode provides offered, dropped, and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer. All offered traffic is provided in a single counter. In the dropped and forwarded counters, inplus-profile traffic is counted with the in-profile counter and exceed-profile traffic is counted with the out-of-profile counter.

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.

This mode is intended to be used without profile-capped or enable-exceed-pir configured within the policer as these could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 67 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 67:  Egress Accounting Statistics Collected in offered-total-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. All

apo

AllPacketsOffered

aoo

AllOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-limited-capped-cir —
Counter resource allocation: 4

This stat-mode provides offered, dropped and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer when egress reclassification is performed so that the traffic entering the policer comprises of hard inplus/in/out/exceed and soft in/out. The offered counters cover in-profile traffic (that includes traffic reclassified to inplus-profile) and out-of-profile traffic (that includes traffic reclassified to exceed-profile). In the dropped and forwarded counters, inplus-profile traffic is counted with the in-profile counter and exceed-profile traffic is counted with the out-of-profile counter.

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 soft-in-profile with profile in and soft-out-of-profile with profile out and eliminates the offered-undefined statistic.

The impact of using offered-limited-capped-cir stat-mode while profile-capped mode is disabled is that one of the counting resources in the forwarding plane and traffic manager will not be used and soft-in-profile will be treated as offered-in instead of offered-undefined.

This mode is intended to be used with profile-capped configured within the policer but without enable-exceed-pir configured as this could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 68 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 68:  Egress Accounting Statistics Collected in offered-limited-capped-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-profile-capped-cir —
Counter resource allocation: 5

This stat-mode provides offered, dropped, and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer when egress reclassification is performed so that the traffic entering the policer is comprised of hard inplus, hard in, hard out, and hard exceed, as well as soft in and soft out. The offered counters cover traffic reclassified to in-profile (that includes traffic reclassified to inplus-profile), traffic reclassified to out-of-profile (that includes traffic reclassified to exceed-profile) and traffic that has not been reclassified at egress (uncolor). In the dropped and forwarded counters, inplus-profile traffic is counted with the in-profile counter and exceed-profile traffic is counted with the out-of-profile counter.

When offered-profile-capped-cir is defined, the system creates five offered-output counters in the forwarding plane and five discard counters in the traffic manager.

The offered-profile-capped-cir mode is similar to the offered-profile-cir mode except that it includes support for profile inplus, profile in and soft-in-profile that may be output as out-of-profile due to enabling profile-capped mode on the ingress policer.

The impact of using offered-profile-capped-cir stat-mode while profile-capped mode is disabled is that one of the counting resources in the forwarding plane and traffic manager will not be used and soft-in-profile will be treated as offered-in (hard in-profile) instead of offered-undefined (uncolored).

This mode is intended to be used with profile-capped configured within the policer but without enable-exceed-pir configured as this could cause the traffic profile to be modified by the policer in a way that is not accounted for in the statistics.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 69 (the actual fields collected depends on the record configured in the applied accounting policy) .

Table 69:  Egress Accounting Statistics Collected in offered-profile-capped-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Off. Uncolor

ucp

UncoloredPacketsOffered

uco

UncoloredOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

offered-total-cir-exceed —
Counter resource allocation: 3

This stat-mode provides offered, dropped, and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer. All offered traffic is provided in a single counter. In the dropped and forwarded counters, inplus-profile traffic is counted with the in-profile counter. The offered-total-cir-exceed mode allocates three forwarding plane offered counters and three traffic manager discard counters.

The offered-total-cir-exceed mode is similar to the offered-total-cir mode except that it includes support for forwarded and dropped counters for profile exceed.

This mode is intended to be used when the policer is configured with enable-exceed-pir to forward packets that exceed its configured PIR or when traffic is egress reclassified to profile exceed. The mode gives the forwarded and dropped counters per profile (in, out, exceed). It is also intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer. This stat-mode is not supported for dynamic policers.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 70 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 70:  Egress Accounting Statistics Collected in offered-total-cir-exceed stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. All

apo

AllPacketsOffered

aoo

AllOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

Dro. ExcProf

xpd

ExceedProfilePktsDropped

xod

ExceedProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

For. ExcProf

xpf

ExceedProfilePktsForwarded

xof

ExceedProfileOctetsForwarded

offered-four-profile-no-cir —
Counter resource allocation: 4

This stat-mode provides offered, dropped, and forwarded packet and octet counters corresponding to the profile of traffic entering the policer. Offered, dropped, and forwarded counters are provided for inplus-profile, in-profile, out-of-profile, and exceed-profile traffic.

The offered-four-profile-no-cir mode allocates four forwarding plane offered counters and four traffic manager discard counters.

The offered-four-profile-no-cir mode is similar to the offered-profile-no-cir mode except that it includes support for offered, dropped and forwarded counters for both profile inplus and profile exceed.

This mode is intended to be used when traffic is egress reclassified to profile inplus and/or exceed. It is also intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer. This stat-mode is not supported for dynamic policers.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 71 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 71:  Egress Accounting Statistics Collected in offered-four-profile-no-cir stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. InProf

ipo

InProfilePacketsOffered

ioo

InProfileOctetsOffered

Off. OutProf

opo

OutOfProfilePacketsOffered

ooo

OutOfProfileOctetsOffered

Off. ExcProf

xpo

ExceedProfilePacketsOffered

xoo

ExceedProfileOctetsOffered

Off. InplusProf

ppo

InplusProfilePacketsOffered

poo

InplusProfileOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

Dro. ExcProf

xpd

ExceedProfilePktsDropped

xod

ExceedProfileOctetsDropped

Dro. InplusProf

ppd

InplusProfilePktsDropped

pod

InplusProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

For. ExcProf

xpf

ExceedProfilePktsForwarded

xof

ExceedProfileOctetsForwarded

For. InplusProf

ppf

InplusProfilePktsForwarded

pof

InplusProfileOctetsForwarded

offered-total-cir-four-profile —
Counter resource allocation: 4

This stat-mode provides offered, dropped, and forwarded packet and octet counters corresponding to the profile of traffic entering (offered) and exiting (dropped/forwarded) the policer. All offered traffic is provided in a single counter. There is a separate dropped and forwarded counter for inplus, in, out and exceed-profile traffic.

The offered-total-cir-four-profile mode allocates four forwarding plane offered counters and four traffic manager discard counters.

The offered-total-cir-four-profile mode is similar to the offered-total-cir except that it includes support for forwarded and dropped counters for both inplus-profile and exceed-profile.

This mode is intended to be used when traffic is egress reclassified to inplus-profile. It is also intended to be used without profile-capped configured within the policer as it could cause the traffic profile to be modified by the policer. This stat-mode is not supported for dynamic policers.

The counters displayed in the show output and those collected when collect-stats is enabled are described in Table 72 (the actual fields collected depends on the record configured in the applied accounting policy).

Table 72:  Egress Accounting Statistics Collected in offered-total-cir-four-profile stat-mode  

Show Output

Accounting Stats Collected

Field

Field Description

Off. All

apo

AllPacketsOffered

aoo

AllOctetsOffered

Dro. InProf

ipd

InProfilePacketsDropped

iod

InProfileOctetsDropped

Dro. OutProf

opd

OutOfProfilePacketsDropped

ood

OutOfProfileOctetsDropped

Dro. ExcProf

xpd

ExceedProfilePktsDropped

xod

ExceedProfileOctetsDropped

Dro. InprofProf

ppd

InplusProfilePktsDropped

pod

InplusProfileOctetsDropped

For. InProf

ipf

InProfilePacketsForwarded

iof

InProfileOctetsForwarded

For. OutProf

opf

OutOfProfilePacketsForwarded

oof

OutOfProfileOctetsForwarded

For. ExcProf

xpf

ExceedProfilePktsForwarded

xof

ExceedProfileOctetsForwarded

For. InplusProf

ppf

InplusProfilePktsForwarded

pof

InplusProfileOctetsForwarded

queue

Syntax 
[no] queue queue-id [queue-type] [create]
Context 
config>qos>queue-group-templates>egress>queue-group
Description 

This command creates a queue for use in a queue group template. Once created, the defined queue-id acts as a repository for the default parameters for the queue. The template queue is created on each queue group object that is created with the queue group template name. Each queue is identified within the template by a queue ID. The template ensures that all queue groups created with the template name will have the same queue-ids providing a uniform structure for the forwarding class redirection commands in the SAP egress QoS policies. The parameters within the template queue will be used as the default settings for each queue in the actual queue group. The queue parameters may be individually changed for each queue in each queue group using per queue overrides.

Default 

n/a

Parameters 
queue-id—
Specifies the queue ID. The specified queue-id must exist within the egress queue group template.
Values—
1 to 8
Values—
dependent on user- or system-created template
queue-type—
Specifies the method that the system uses to service the queue from a hardware perspective.
Values—
expedite, best-effort
expedite — This keyword ensures that the queue is treated in an expedited manner independent of the forwarding classes mapped to the queue.
best-effort — This keyword ensures that the queue is treated in a non-expedited manner independent of the forwarding classes mapped to the queue.
Values—
best-effort

dynamic-mbs

Syntax 
[no] dynamic-mbs
Context 
config>qos>queue-group-templates>egress>queue-group>queue
Description 

This command enables support for dynamically modifying the MBS size of a queue using H-QoS in order to maintain the maximum latency for traffic in the queue based on the queue’s configured MBS and the ratio of its operational PIR to its administrative PIR. As the H-QoS algorithm updates the operational PIR, by reducing or increasing it, the MBS of the queue is adjusted accordingly.

The configuration of dynamic MBS and the configuration of queue depth monitoring (monitor-depth command) are mutually exclusive. Queue depth monitoring is an override on the queue where the queue group is applied.

The no form of this command disables dynamic MBS resizing.

Default 

no dynamic-mbs

hi-low-prio-only

Syntax 
hi-low-prio-only percent
no hi-low-prio-only
Context 
config>qos>queue-group-templates>egress>queue-group>queue
Description 

The hi-low-prio-only command configures the percentage of buffer space for the queue, used exclusively by higher priority (in-profile and out-of-profile) packets. The specified value overrides the default value for the context. It is applicable to SAP egress QoS policy queues and egress queue group template queues.

The priority of a packet can only be set in the SAP ingress QoS policy and is only applicable on the ingress queues for a SAP. At SAP egress, the priority of a packet is based on its profile state. The no form of this command restores the default high priority reserved size.

The hi-low-prio-only drop tail exists also for egress network queues in a network queue policy, however, in these policies it is not configurable and has a default of an additional 10% of the MBS value on top of the high priority only.

Default 

20%

Parameters 
percent—
The percentage reserved for higher priority (in-profile and out-of-profile) traffic on the queue.
Values—
0 to 100, default

percent-rate

Syntax 
percent-rate pir-percent [cir cir-percent]
no percent-rate
Context 
config>qos>queue-group-templates>egress>queue-group-template>queue
Description 

The percent-rate command within the egress queue group template enables support for a queue’s PIR and CIR rate to be configured as a percentage of the egress port’s line rate. When the rates are expressed as a percentage within the template, the actual rate used per instance of the queue group queue-id will vary based on the port speed. For example, when the same template is used to create a queue group on a 1-Gigabit and a 10-Gigabit Ethernet port, the queue’s rates will be 10 times greater on the 10 Gigabit port due to the difference in port speeds. This enables the same template to be used on multiple ports without needing to use port based queue overrides to modify a queue’s rate to get the same relative performance from the queue.

If the port’s speed changes after the queue is created, the queue’s shaping and CIR rates will be recalculated based on the defined percentage value.

The rate and percent-rate commands override one another. If the current rate for a queue is defined using the percent-rate command and the rate command is executed, the percent-rate values are deleted. Similarly, the percent-rate command causes any rate command values to be deleted. A queue’s rate may dynamically be changed back and forth from a percentage to an explicit rate at anytime.

The no form of this command returns the queue to its default shaping rate and CIR rate.

Parameters 
pir-percent—
Expresses the queue’s shaping rate as a percentage of line rate. The line rate associated with the queue’s port may dynamically change due to configuration or auto-negotiation and the egress rate setting.
Values—
0.01 to 100.00 percent
Values—
100.0
cir-percent—
The cir keyword is optional and when defined the required pir-percent parameter expresses the queue’s committed scheduling rate as a percentage of line rate. The line rate associated with the queue’s port may change dynamically due to configuration or auto-negotiation and the egress rate setting.
Values—
0.01 to 100.00 percent
Values—
100.0

port-parent

Syntax 
port-parent [weight weight] [level level] [cir-weight cir-weight] [cir-level cir-level]
no port-parent
Context 
config>qos>queue-group-templates>egress>queue-group-template>queue
Description 

This command defines the port scheduling parameters used to control the queue’s behavior when a virtual egress port scheduling is enabled where the egress queue group template is applied. The port-parent command follows the same behavior and provisioning characteristics as the parent command in the SAP egress QoS policy. The port-parent command and the parent command are mutually exclusive.

The no form of the command removes the values from the configuration.

Default 

none

Parameters 
weight weight
Defines the weight the queue or scheduler will use at the above-cir port priority level (defined by the level parameter).
Values—
0 to 100
Values—
1
level level
Defines the port priority the queue or scheduler will use to receive bandwidth for its above-cir offered-load.
Values—
1 to 8 (8 is the highest priority)
Values—
1
cir-weight cir-weight
Defines the weight the queue or scheduler will use at the within-cir port priority level (defined by the cir-level parameter). The weight is specified as an integer value from 0 to 100 with 100 being the highest weight. When the cir-weight parameter is set to a value of 0 (the default value), the queue or scheduler does not receive bandwidth during the port schedulers within-cir pass and the cir-level parameter is ignored. If the cir-weight parameter is 1 or greater, the cir-level parameter is used.
Values—
0 to 100
Values—
0
cir-level cir-level
Defines the port priority the queue or scheduler will use to receive bandwidth for its within-cir offered-load. If the cir-weight parameter is set to a value of 0 (the default value), the queue or scheduler does not receive bandwidth during the port schedulers within-cir pass and the cir-level parameter is ignored. If the cir-weight parameter is 1 or greater, the cir-level parameter is used.
Values—
0 to 8 (8 is the highest priority)
Values—
0

queue-delay

Syntax 
queue-delay delay
no queue-delay
Context 
config>qos>queue-group-templates>egress>queue-group-template>queue
Description 

This command configures the target queue delay for packets forwarded through the queue. It is used to determine the related queue parameters based on the administrative PIR of the queue. This command and the mbs command are mutually exclusive.

In order to change between the mbs and queue-delay parameters, the current parameter must be removed before adding the new parameter, that is, changing from mbs to queue-delay requires a no mbs before the queue-delay is configured and changing from queue-delay to mbs requires a no queue-delay before the mbs is configured.

If queue-delay is configured for an egress queue group queue, it is not possible to override the MBS for that queue.

The no form of this command disables the determination of the queue parameters based on the queue delay.

Default 

no queue-delay

Parameters 
delay—
target queue delay in milliseconds
Values—
0 to 5000 (decimal)

wred-queue

Syntax 
wred-queue [policy slope-policy-name] [mode {native | pool-per-queue}] [slope-usage {default | exceed-low}]
no wred-queue
Context 
config>qos>qgrps>egr>qgrp>queue
Description 

This command allows the configuration of WRED per queue with the following options:

  1. Native hardware WRED
    This uses the hardware per queue WRED capabilities of the FP3 and is configured with the native keyword.
  2. Pool per queue WRED
    This implements each queue in its own pool and uses the WRED capabilities of the pool to provide WRED per queue. This is supported on both FP2 and later hardware and is configured with the pool-per-queue keyword.

Native Hardware WRED

When the wred-queue mode native command is configured, the queue uses the WRED capabilities of the FP3. In this case the out and exceed-profile traffic map to the low and exceed WRED slopes specified within the slope policy, and the inplus and in-profile traffic uses the MBS drop tail; this requires the slope-usage to be configured as exceed-low. The instantaneous queue depth is compared against the low and exceed slopes so the time average factor in the slope policy is ignored.

When a policy is not explicitly defined, the default slope policy is used.

When native mode is enabled for a queue, the hi-low-prio-only and high-prio-only commands are ignored; traffic mapped to a slope that is shut down will use the MBS drop tail.

This is only supported on FP3 hardware and is ignored on FP1 and FP2 hardware.

The no form of the command restores the queue default congestion control behavior to the queue.

Pool-per-queue WRED

When the wred-queue mode pool-per-queue command is defined and the queue ID is created on FP2 or higher based hardware, a buffer pool is created specifically for the queue and the queue obtains all buffers from that pool. The size of the pool is the same as the size of the queue. In this manner, the WRED slopes that operate based on the pool’s buffer utilization are also reacting to the congestion depth of the queue.

The size of the buffer pool is dictated by the queue’s mbs parameter. The size of the reserved CBS portion of the buffer pool is dictated by the queue’s cbs parameter. The provisioning characteristics of the mbs and cbs commands are not changed.

In the case where this is applied on FP2 or higher based hardware that has WRED queue support shutdown (config>card>fp>egress>wred-queue-control>shutdown) the queue will continue to map to either to its default pool or the pool defined in the pool command. If the no shutdown command is executed in the wred-queue-control context, the queue will be automatically moved to its own WRED pool.

Each pool created for a queue using the wred-queue command shares buffers with all other wred-queue enabled queues on the same forwarding plane. The WRED pool buffer management behavior is defined within the config>card>fp>egress>wred-queue-control CLI context.

The WRED slopes within the pool are defined by the slope policy associated with the queue. When a policy is not explicitly defined, the default slope policy is used. The slope policy enables, disables, and defines the relative geometry of the highplus, high, low, and exceed WRED slopes in the pool. The policy also specifies the time average factor used by the pool when calculating the weighted average pool depth.

As packets attempt to enter the egress queue, they are associated with the highplus, high, low, or exceed WRED slope based on the packet’s profile. If the packet is inplus-profile, the highplus slope is used. If the packet is in-profile, the high slope is used. If the packet is out-of-profile, the low slope is used, and if the packet is exceed-profile, then exceed slope is used. This mapping of packet profile to slope is enabled using the slope-usage default parameter. Each WRED slope performs a probability discard based on the current weighted average pool depth.

When wred-queue is enabled for an egress queue group queue on FP2 or higher based hardware, the queue pool hi-low-prio-only and hi-prio-only commands are ignored; traffic mapped to a slope that is shutdown will use the MBS drop tail.

The configuration of wred-queue mode pool-per-queue is ignored on FP1 hardware. The resource usage for the wred-queue pool-per-queue per forwarding plane can be seen in the tools dump resource-usage card [slot-num] fp [fp-number] output under Dynamic Q2 Wred Pools.

The no form of the command restores the generic buffer pool behavior to the queue. The WRED pool is removed from the system. The queue will be moved to either the default buffer pool or to a named pool if defined and the pool exists. The queue then uses the default congestion control behavior.

Default 

no wred-queue

Parameters 
slope-policy-name
Specifies an existing slope policy that is used to override the default WRED slope policy.
mode {native | pool-per-queue} —
Specifies whether the WRED per queue is using the native FP3 WRED capabilities or the FP2 and later hardware pool per queue.
Values—
native - Each queue uses the hardware per queue WRED capabilities of the FP3 and requires slope-usage exceed-low.
pool-per-queue - Each queue uses its own pool and the WRED capabilities of the pool to provide WRED per queue. This is supported on both FP2 and later hardware and requires slope-usage default.
Values—
native
slope-usage {default | exceed-low}—
Specifies the type of congestion control to be used.
Values—
default - Maps the inplus-profile, in-profile, out-of-profile, and exceed-profile traffic to the highplus, high, low, and exceed WRED slopes respectively; this is only supported for pool-per-queue mode.
exceed-low - Maps the out-of-profile and exceed-profile traffic to the low and exceed WRED slopes with the inplus-profile and in-profile traffic using the MBS drop tail. This option is only supported for native mode.
Values—
exceed-low

queues-hqos-manageable

Syntax 
[no] queues-hqos-manageable
Context 
cfg>qos>qgrps>egr>qgrp
Description 

This command specifies that the queues within this egress queue group template are to be managed by the Hierarchical QoS (H-QoS) process when the template is applied to an Ethernet access egress or network egress context. It is applicable to all egress queue group templates, including the default policer-output-queues template.

The no queues-hqos-manageable command must be configured for access egress queue groups that are used for post-policer traffic in order to prevent H-QoS from measuring the traffic through a policer managed by H-QoS then again through a post-policer access egress queue group queue.

Avoid scenarios that result in traffic being either not being measured or being measured twice by H-QoS as they will cause the H-QoS result to be inaccurate; see Child Policer Hierarchical QoS Parenting for more information.

A template configured for no queues-hqos-manageable cannot be applied to an Ethernet network egress context. Any egress queue group templates applied to an Ethernet network egress context cannot be configured as no queues-hqos-manageable. The configuration of no queues-hqos-manageable and the configuration of policers and queue packet-byte-offset within the egress queue group template are mutually exclusive.

When a queue group template with no queues-hqos-manageable is configured under a port's Ethernet access egress context, the configuration of an aggregate rate or scheduler policy is not permitted under that context, nor are parent overrides for any of the queues in the queue group. If a port scheduler is configured on the port, the queue group queues are not parented to the port scheduler.

The no form of the command specifies that queues within this egress queue group are not managed by HQoS.

Default 

queues-hqos-manageable

Show Commands

The command outputs in the following section are examples only; actual displays may differ depending on supported functionality and user configuration.

queue-group

Syntax 
queue-group [queue-group-name] [ingress | egress] [association | detail | summary]
queue-group summary
Context 
show>qos
Description 

This command displays queue-group information.

Parameters 
queue-group-name—
Specifies the name of an existing queue group template up to 32 characters in length.
ingress—
Specifies whether the queue group name is an ingress policy.
egress—
Specifies whether the queue group name is an egress policy.
associations—
Displays the entities associated with the specified queue group name.
detail—
Displays detailed queue group information for the specified queue group name.
summary—
Displays the total number of queue-group instance per card (IOM or XCM).
Output 

Sample Output
*A:Dut-T>cfg>qos>qgrps>egr>qgrp# show qos queue-group egress 
===============================================================================
Queue Group Egress
===============================================================================
Group-Name                     Description                                     
-------------------------------------------------------------------------------
QG_egress_1                    Egress queue group                              
===============================================================================
*A:Dut-T#
 
 
*A:Dut-T# show qos queue-group egress QG_egress_1 detail 
===============================================================================
QoS Queue-Group Egress
===============================================================================
-------------------------------------------------------------------------------
QoS Queue Group
-------------------------------------------------------------------------------
Group-Name     : QG_egress_1                  
Description    : Egress queue group
-------------------------------------------------------------------------------
Queue CIR Admin PIR Admin CBS     HiPrio PIR Lvl/Wt    Parent                 
      CIR Rule  PIR Rule  MBS            CIR Lvl/Wt
      Named-Buffer Pool
-------------------------------------------------------------------------------
1     0         max       def     def    1/1           None                    
      closest   closest   100            0/1                                   
      (not-assigned)
2     0         max       def     def    1/1           None                    
      closest   closest   100            0/1                                   
      (not-assigned)
3     0         max       def     def    1/1           None                    
      closest   closest   100            0/1                                   
      (not-assigned)
4     0         max       def     def    1/1           None                    
      closest   closest   100            0/1                                   
      (not-assigned)
===============================================================================
Queue Group Ports (access)
===============================================================================
Port                Sched Pol           Acctg Pol Stats     Description        
-------------------------------------------------------------------------------
9/2/1                                   0         No                           
9/2/2                                   0         No                           
-------------------------------------------------------------------------------
===============================================================================
Queue Group Ports (network)
===============================================================================
Port                Sched Pol           Acctg Pol Stats     Description        
-------------------------------------------------------------------------------
6/1/1                                   0         No                           
-------------------------------------------------------------------------------
===============================================================================
Queue Group Sap FC Maps
===============================================================================
Sap Policy     FC Name             Queue Id                                    
-------------------------------------------------------------------------------
10             af                  2                                           
10             be                  1                                           
10             ef                  3                                           
10             nc                  4                                           
-------------------------------------------------------------------------------
Entries found: 4
-------------------------------------------------------------------------------
===============================================================================
*A:Dut-T#
 
 
*A:Dut-T# show qos queue-group egress QG_egress_1 association 
===============================================================================
QoS Queue-Group Egress
===============================================================================
-------------------------------------------------------------------------------
QoS Queue Group
-------------------------------------------------------------------------------
Group-Name     : QG_egress_1                  
Description    : Egress queue group
===============================================================================
Queue Group Ports (access)
===============================================================================
Port                Sched Pol           Acctg Pol Stats     Description        
-------------------------------------------------------------------------------
9/2/1                                   0         No                           
9/2/2                                   0         No                           
-------------------------------------------------------------------------------
===============================================================================
Queue Group Ports (network)
===============================================================================
Port                Sched Pol           Acctg Pol Stats     Description        
-------------------------------------------------------------------------------
6/1/1                                   0         No                           
-------------------------------------------------------------------------------
===============================================================================
Queue Group Sap FC Maps
===============================================================================
Sap Policy     FC Name             Queue Id                                    
-------------------------------------------------------------------------------
10             af                  2                                           
10             be                  1                                           
10             ef                  3                                           
10             nc                  4                                           
-------------------------------------------------------------------------------
Entries found: 4
-------------------------------------------------------------------------------
===============================================================================
*A:Dut-T#  
*A:Dut-T# show qos queue-group summary
=============================================================
card | access-ingress | access-egress | network-egress
 
   1 |        60      |       2047    |       0
   2 |        60      |         0     |      2047
=============================================================
Total ingress QG templates per system: <num>
Total egress QG templates per system:  <num>
 

The total number of queue-group instance per card (IOM or XCM).

 
*A:Dut-T# show qos queue-group ingress 
===============================================================================
Queue Group Ingress
===============================================================================
Group-Name                     Description                                     
-------------------------------------------------------------------------------
QG_ingress_1                   Ingress queue-group                             
===============================================================================
*A:Dut-T#
 
 
*A:Dut-T# show qos queue-group ingress detail 
===============================================================================
QoS Queue-Group Ingress
===============================================================================
-------------------------------------------------------------------------------
QoS Queue Group
-------------------------------------------------------------------------------
Group-Name     : QG_ingress_1                 
Description    : Ingress queue-group
-------------------------------------------------------------------------------
Queue Mode    CIR Admin PIR Admin CBS     HiPrio  PIR Lvl/Wt    Parent
              CIR Rule  PIR Rule  MBS             CIR Lvl/Wt
              Named-Buffer Pool
-------------------------------------------------------------------------------
1     Prio      0         max     def    def           1/1            None     
                closest   closest 100                  0/1                     
                (not-assigned)
2     Prio      0         max     def    def           1/1            None     
                closest   closest 100                  0/1                     
                (not-assigned)
3     Prio      0         max     def    def           1/1            None     
                closest   closest 100                  0/1                     
                (not-assigned)        
4     Prio      0         max     def    def           1/1            None     
                closest   closest 100                  0/1                     
                (not-assigned)
 
===============================================================================
Queue Group Ports
===============================================================================
Port                Sched Pol           Acctg Pol Stats     Description        
-------------------------------------------------------------------------------
9/2/1                                   0         No                           
9/2/2                                   0         No                           
-------------------------------------------------------------------------------
===============================================================================
Queue Group Sap FC Maps
===============================================================================
Sap Policy     FC Name             Queue (id type)                             
-------------------------------------------------------------------------------
10             af                   (2 Unicast)                                
10             be                   (1 Unicast)                                
10             ef                   (3 Unicast)                                
10             nc                   (4 Unicast)                                
-------------------------------------------------------------------------------
Entries found: 4
-------------------------------------------------------------------------------
===============================================================================
*A:Dut-T#  
 
 
*A:Dut-T# show qos queue-group ingress association 
===============================================================================
QoS Queue-Group Ingress
===============================================================================
-------------------------------------------------------------------------------
QoS Queue Group
-------------------------------------------------------------------------------
Group-Name     : QG_ingress_1                 
Description    : Ingress queue-group
===============================================================================
Queue Group Ports
===============================================================================
Port                Sched Pol           Acctg Pol Stats     Description        
-------------------------------------------------------------------------------
9/2/1                                   0         No                           
9/2/2                                   0         No                           
-------------------------------------------------------------------------------
===============================================================================
Queue Group Sap FC Maps
===============================================================================
Sap Policy     FC Name             Queue (id type)                             
-------------------------------------------------------------------------------
10             af                   (2 Unicast)                                
10             be                   (1 Unicast)                                
10             ef                   (3 Unicast)                                
10             nc                   (4 Unicast)                                
-------------------------------------------------------------------------------
Entries found: 4
-------------------------------------------------------------------------------
===============================================================================
*A:Dut-T#
 
 
*A:Dut-T# show qos queue-group summary 
===============================================================================
Queue-group instances per card
===============================================================================
card      port-acc-ing  port-acc-egr  port-nw-egr   fp-acc-ing    fp-nw-ing
-------------------------------------------------------------------------------
1         0             0             0             0             0
2         0             0             0             0             0
3         0             0             0             0             0
4         0             2             1000          0             500
5         0             0             0             0             0
6         0             0             0             0             0
7         0             0             0             0             0
8         0             0             0             0             0
9         0             2             1000          0             500
10        0             0             0             0             0
11        0             0             0             0             0
12        0             0             0             0             0
-------------------------------------------------------------------------------
Total ingress QG templates per system :  3
Total egress  QG templates per system :  5
===============================================================================
*A:Dut-T# 

Related queue-group command output:

*A:Dut-T# show card 9 fp 1 ingress queue-group "QGIng1" mode network instance 1 
statistics 
===============================================================================
Card:9  Net.QGrp: QGIng1  Instance: 1
===============================================================================
Group Name    : QGIng1                  
Description   : (Not Specified)
Pol Ctl Pol   : pcp                     Acct Pol      : None
Collect Stats : disabled                
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  1  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         91836202                91465530792
Dro. All              :         6678807                 6649127172
For. All              :         85157395                84816403620
 
Ing. Policer:  2  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         93584703                90933906888
Dro. All              :         8320200                 6106644900
For. All              :         85264503                84827261988
                                      
Ing. Policer:  3  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         93584703                90933906888
Dro. All              :         8320049                 6106288404
For. All              :         85264654                84827618484
 
Ing. Policer:  4  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         93584703                90933906888
Dro. All              :         8326509                 6110568864
For. All              :         85258194                84823338024
 
Ing. Policer:  5  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         93584703                90933906888
Dro. All              :         24877143                22616873028
For. All              :         68707560                68317033860
 
Ing. Policer:  6  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         93434643                90919501128
Dro. All              :         24727111                22602499656
For. All              :         68707532                68317001472
 
Ing. Policer:  7  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         93584703                90933906888
Dro. All              :         24877214                22616941944
For. All              :         68707489                68316964944
 
Ing. Policer:  8  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         93430663                90919119048
Dro. All              :         24723280                22602263280
For. All              :         68707383                68316855768
 
Ing. Policer:  9  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
 
Ing. Policer: 10  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
 
Ing. Policer: 11  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
 
Ing. Policer: 12  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
 
Ing. Policer: 13  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
 
Ing. Policer: 14  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
 
Ing. Policer: 15  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
 
Ing. Policer: 16  Grp: QGIng1 (Stats mode: minimal)
Off. All              :         0                       0
Dro. All              :         0                       0
For. All              :         0                       0
===============================================================================
*A:Dut-T#  
 
 
*A:Dut-T# show qos policer-hierarchy card 9 fp 1 queue-group "QGIng1" ingress instance 
1 detail 
===============================================================================
Policer Hierarchy - Card: 9 Queue-Group: QGIng1
===============================================================================
Ingress Policer Policy         :  
-------------------------------------------------------------------------------
Legend :
(*) real-time dynamic value
(w) Wire rates
-------------------------------------------------------------------------------
root (Ing)
|
No Active Access Members Found on slot 9
 
|
| slot(9) (Network)
|    Profile-preferred:Disabled  
|    MaxPIR:1500      
|    ConsumedByChildren:1500      
|    OperPIR:1500        OperFIR:1500      
|                                     
|    DepthPIR:205904 bytes
|  Priority 8
|    Oper Thresh Unfair:311296      Oper Thresh Fair:425984    
|    Association count:0 
|  Priority 7
|    Oper Thresh Unfair:311296      Oper Thresh Fair:425984    
|    Association count:0 
|  Priority 6
|    Oper Thresh Unfair:311296      Oper Thresh Fair:425984    
|    Association count:0 
|  Priority 5
|    Oper Thresh Unfair:311296      Oper Thresh Fair:425984    
|    Association count:0 
|  Priority 4
|    Oper Thresh Unfair:311296      Oper Thresh Fair:425984    
|    Association count:0 
|  Priority 3
|    Oper Thresh Unfair:311296      Oper Thresh Fair:425984    
|    Association count:0 
|  Priority 2
|    Oper Thresh Unfair:311296      Oper Thresh Fair:425984    
|    Association count:4 
|  Priority 1                         
|    Oper Thresh Unfair:102400      Oper Thresh Fair:204800    
|    Association count:4 
|
|--(A) : DATA (QGrp: QGIng1 Instance: 1 )
|   |    MaxPIR:max       
|   |    ConsumedByChildren:500       
|   |    OperPIR:500         OperFIR:500       
|   |
|   |    [Level 1 Weight 1]
|   |    Assigned PIR:500        Offered:41603     
|   |    Consumed:500       
|   |
|   |    Assigned FIR:500       
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->4
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048      
|   |   |    Depth:1184      
|   |   |
|   |   |    OperPIR:128          OperCIR:0         
|   |   |    OperFIR:128       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:125        Offered:9966      
|   |   |    Consumed:125       
|   |   |
|   |   |    Assigned FIR:125       
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->3
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048      
|   |   |    Depth:18256     
|   |   |
|   |   |    OperPIR:128          OperCIR:0         
|   |   |    OperFIR:128       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:125        Offered:9966      
|   |   |    Consumed:125       
|   |   |                             
|   |   |    Assigned FIR:125       
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->2
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048      
|   |   |    Depth:18944     
|   |   |
|   |   |    OperPIR:128          OperCIR:0         
|   |   |    OperFIR:128       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:125        Offered:9967      
|   |   |    Consumed:125       
|   |   |
|   |   |    Assigned FIR:125       
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->1
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048              
|   |   |    Depth:19024     
|   |   |
|   |   |    OperPIR:128          OperCIR:0         
|   |   |    OperFIR:128       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:125        Offered:11724     
|   |   |    Consumed:125       
|   |   |
|   |   |    Assigned FIR:125       
|
|--(A) : HIGH (QGrp: QGIng1 Instance: 1 )
|   |    MaxPIR:1000      
|   |    ConsumedByChildren:1000      
|   |    OperPIR:1000        OperFIR:1000      
|   |
|   |    [Level 2 Weight 1]
|   |    Assigned PIR:1000       Offered:1000      
|   |    Consumed:1000      
|   |
|   |    Assigned FIR:1000            
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->8
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048      
|   |   |    Depth:21353     
|   |   |
|   |   |    OperPIR:250          OperCIR:0         
|   |   |    OperFIR:250       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:250        Offered:9966      
|   |   |    Consumed:250       
|   |   |
|   |   |    Assigned FIR:250       
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->7
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048      
|   |   |    Depth:21065              
|   |   |
|   |   |    OperPIR:250          OperCIR:0         
|   |   |    OperFIR:250       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:250        Offered:9967      
|   |   |    Consumed:250       
|   |   |
|   |   |    Assigned FIR:250       
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->6
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048      
|   |   |    Depth:21353     
|   |   |
|   |   |    OperPIR:250          OperCIR:0         
|   |   |    OperFIR:250       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |                             
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:250        Offered:9967      
|   |   |    Consumed:250       
|   |   |
|   |   |    Assigned FIR:250       
|   |
|   |--(P) : Policer Net-FPQG-1-T3:1->5
|   |   |    MaxPIR:max          MaxCIR:0         
|   |   |    CBS:0               MBS:20480     
|   |   |    HiPrio:2048      
|   |   |    Depth:21065     
|   |   |
|   |   |    OperPIR:250          OperCIR:0         
|   |   |    OperFIR:250       
|   |   |    PacketByteOffset:0         
|   |   |    StatMode: minimal
|   |   |
|   |   |    [Level 1 Weight 1]
|   |   |    Assigned PIR:250        Offered:9967      
|   |   |    Consumed:250       
|   |   |
|   |   |    Assigned FIR:250       
                                      
 
===============================================================================
*A:Dut-T#   
 
 
*A:Dut-T# show qos policer port 9/2/4 network egress queue-group "QGEgr1" instance 1 
===============================================================================
Policer Information (Summary), Slot 9
===============================================================================
-------------------------------------------------------------------------------
Name                FC-Maps       MBS       HP-Only A.PIR    A.CIR
Direction                         CBS       Depth   O.PIR    O.CIR    O.FIR
-------------------------------------------------------------------------------
Net-PQG-9/2/4-QGEgr1:1->8
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
Net-PQG-9/2/4-QGEgr1:1->7
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
Net-PQG-9/2/4-QGEgr1:1->6
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
Net-PQG-9/2/4-QGEgr1:1->5
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
Net-PQG-9/2/4-QGEgr1:1->4
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
Net-PQG-9/2/4-QGEgr1:1->3
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
Net-PQG-9/2/4-QGEgr1:1->2
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
Net-PQG-9/2/4-QGEgr1:1->1
Egress                            64 KB     8 KB    Max      0         
                                  0 KB      1026    Max      0        Max
===============================================================================
*A:Dut-T# 
 
 
*A:Dut-T# show qos policer port 9/2/4 network egress queue-group "QGEgr1" instance 1 
detail 
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->8), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->8
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
===============================================================================
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->7), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->7
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
===============================================================================
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->6), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->6
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
===============================================================================
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->5), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->5
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
===============================================================================
 
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->4), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->4
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
===============================================================================
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->3), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->3
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
==============================================================================
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->2), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->2
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information            
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
===============================================================================
===============================================================================
Policer Info (Net-PQG-9/2/4-QGEgr1:1->1), Slot 9
===============================================================================
Policer Name       : Net-PQG-9/2/4-QGEgr1:1->1
Direction          : Egress             Fwding Plane       : 1
Depth PIR          : 1026 Bytes         Depth CIR          : 0 Bytes
Depth FIR          : 1026 Bytes         
MBS                : 64 KB              CBS                : 0 KB
Hi Prio Only       : 8 KB               Pkt Byte Offset    : 0
Admin PIR          : Max                Admin CIR          : 0 Kbps
Oper PIR           : Max                Oper CIR           : 0 Kbps
Oper FIR           : Max                
Stat Mode          : minimal
Parent Arbiter Name: (Not Specified)
-------------------------------------------------------------------------------
Arbiter Member Information
-------------------------------------------------------------------------------
Offered Rate       : 0 Kbps             
Level              : 0                  Weight             : 0
Parent PIR         : 0 Kbps             Parent FIR         : 0 Kbps
Consumed           : 0 Kbps             
-------------------------------------------------------------------------------
===============================================================================
-------------------------------------------------------------------------------
Network Interface Association 
-------------------------------------------------------------------------------
No Association Found.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
SDP Association 
-------------------------------------------------------------------------------
Policer Info (1->1:101->10), Slot 9
Policer Info (1->2:102->10), Slot 9
Policer Info (1->3:103->10), Slot 9
Policer Info (1->4:104->10), Slot 9
Policer Info (1->5:105->10), Slot 9   
Policer Info (1->6:106->10), Slot 9
Policer Info (1->7:107->10), Slot 9
Policer Info (1->8:108->10), Slot 9
Policer Info (1->9:109->10), Slot 9
Policer Info (1->10:110->10), Slot 9
Policer Info (1->11:111->10), Slot 9
Policer Info (1->12:112->10), Slot 9
Policer Info (1->13:113->10), Slot 9
Policer Info (1->14:114->10), Slot 9
Policer Info (1->15:115->10), Slot 9
Policer Info (1->16:116->10), Slot 9
 
 
*A:Dut-T# show port 9/2/4 queue-group egress "QGEgr1" statistics instance 1 
-------------------------------------------------------------------------------
Ethernet port 9/2/4 Network Egress queue-group
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Egress Queue:  1    Group: QGEgr1    Instance-Id:  1
In Profile forwarded  : 0                       0
In Profile dropped    : 0                       0
Out Profile forwarded : 0                       0
Out Profile dropped   : 0                       0
 
Egress Policer:  1  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133354                22708821204
Dro. All              : 0                       0
For. All              : 22133354                22708821204
 
Egress Policer:  2  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133354                22708821204
Dro. All              : 0                       0
For. All              : 22133354                22708821204
                                      
Egress Policer:  3  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133354                22708821204
Dro. All              : 0                       0
For. All              : 22133354                22708821204
 
Egress Policer:  4  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133354                22708821204
Dro. All              : 0                       0
For. All              : 22133354                22708821204
 
Egress Policer:  5  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133355                22708822230
Dro. All              : 0                       0
For. All              : 22133355                22708822230
 
Egress Policer:  6  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133355                22708822230
Dro. All              : 0                       0
For. All              : 22133355                22708822230
 
Egress Policer:  7  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133355                22708822230
Dro. All              : 0                       0
For. All              : 22133355                22708822230
 
Egress Policer:  8  Group: QGEgr1  Instance-Id: 1
Stats mode: minimal
Off. All              : 22133355                22708822230
Dro. All              : 0                       0
For. All              : 22133355                22708822230
-------------------------------------------------------------------------------
*A:Dut-T#   
 
 
*A:Dut-T# show port 9/2/4 queue-group egress "QGEgr1" network associations 
===============================================================================
Ethernet port 9/2/4 Network Egress queue-group
===============================================================================
Queue-Group   : QGEgr1             Queue-Id : 1
Queue-Group   : QGEgr1             Policer-*: 1
Queue-Group   : QGEgr1             Policer-*: 2
Queue-Group   : QGEgr1             Policer-*: 3
Queue-Group   : QGEgr1             Policer-*: 4
Queue-Group   : QGEgr1             Policer-*: 5
Queue-Group   : QGEgr1             Policer-*: 6
Queue-Group   : QGEgr1             Policer-*: 7
Queue-Group   : QGEgr1             Policer-*: 8
..
*A:Dut-T# 
 
*A:Dut-T# show qos queue-group "QGIng1" ingress association 
===============================================================================
QoS Queue-Group Ingress
===============================================================================
-------------------------------------------------------------------------------
QoS Queue Group
-------------------------------------------------------------------------------
Group-Name     : QGIng1                       
Description    : Description for Ingress queue-group QGIng1
 
===============================================================================
Queue Group Ports
===============================================================================
Port                Sched Pol           Acctg Pol Stats     Description
-------------------------------------------------------------------------------
No Matching Entries
 
===============================================================================
Queue Group Sap FC Maps
===============================================================================
Sap Policy     FC Name             Queue (id type)
-------------------------------------------------------------------------------
No Matching Entries
===============================================================================
Queue Group FP Maps
===============================================================================
Card Num       Fp Num              Instance            Type
-------------------------------------------------------------------------------
4              1                   1                   Network
4              1                   2                   Network
4              1                   3                   Network
4              1                   4                   Network
4              1                   5                   Network
4              1                   6                   Network
4              1                   7                   Network
4              1                   8                   Network
4              1                   9                   Network
4              1                   10                  Network
 
 
clear card 4 fp 1 ingress mode network queue-group "QGIng1" instance 1 statistics 
 
 
*A:Dut-T# monitor card 9 fp 1 ingress queue-group "QGIng1" network instance 1 policer 1 
========================================================================
Monitor Card: 9 Ingress Network Queue-Group: QGIng1 Statistics
========================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  1  Grp: QGIng1 (Stats mode: minimal)
Off. All              : 98080861                97685211156
Dro. All              : 12856083                12801694068
For. All              : 85224778                84883517088
 
-------------------------------------------------------------------------------
At time t = 11 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  1  Grp: QGIng1 (Stats mode: minimal)
Off. All              : 16190                   16125240
Dro. All              : 16010                   15945960
For. All              : 180                     179280
 
^C
*A:Dut-T# 
 
 
 
*A:Dut-T>config>qos>sap-ingress# show card 3 fp 1 ingress queue-group "QGIng3" 
instance 1 mode access detail 
===============================================================================
Card:3  Acc.QGrp: QGIng3  Instance: 1
===============================================================================
Group Name    : QGIng3                  
Description   : (Not Specified)
Pol Ctl Pol   : None                    Acct Pol      : None
Collect Stats : disabled                
-------------------------------------------------------------------------------
Queues
-------------------------------------------------------------------------------
No queues found
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  1  Grp: QGIng3 (Stats mode: offered-profile-capped-cir)
Off. InProf           :         0                       0
Off. OutProf          :         0                       0
Off. Uncolor          :         22159073                1506816964
Dro. InProf           :         0                       0
Dro. OutProf          :         0                       0
For. InProf           :         215642                  14663656
For. OutProf          :         21943431                1492153308
 
Ing. Policer:  2  Grp: QGIng3 (Stats mode: offered-profile-capped-cir)
Off. InProf           :         0                       0
Off. OutProf          :         0                       0
Off. Uncolor          :         274898620               18693106160
Dro. InProf           :         0                       0
Dro. OutProf          :         0                       0
For. InProf           :         1640582                 111559576
For. OutProf          :         273258038               18581546584
 
Ing. Policer:  3  Grp: QGIng3 (Stats mode: offered-profile-capped-cir)
Off. InProf           :         0                       0
Off. OutProf          :         0                       0
Off. Uncolor          :         19318482                1313656776
Dro. InProf           :         0                       0
Dro. OutProf          :         0                       0
For. InProf           :         188072                  12788896
For. OutProf          :         19130410                1300867880
 
Ing. Policer:  4  Grp: QGIng3 (Stats mode: offered-profile-capped-cir)
Off. InProf           :         0                       0
Off. OutProf          :         0                       0
Off. Uncolor          :         24634863                1675170684
Dro. InProf           :         0                       0
Dro. OutProf          :         0                       0
For. InProf           :         240244                  16336592
For. OutProf          :         24394619                1658834092
===============================================================================
*A:Dut-T>config>qos>sap-ingress#  
 
*A:Dut-A# show card 9 fp 1 ingress mode access queue-group "Ingress_QG_1" instance 
2838 statistics
 
===============================================================================
Card:9  Acc.QGrp: Ingress_QG_1  Instance: 2838
===============================================================================
Group Name    : Ingress_QG_1
Description   : (Not Specified)
Pol Ctl Pol   : None                    Acct Pol      : None
Collect Stats : disabled
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              :         53982387                6909745536
Dro. All              :         50861158                6510228224
For. All              :         3121229                 399517312
===============================================================================
 
*A:Dut-A# show card 9 fp 1 ingress mode access queue-group "Ingress_QG_1" instance 2838
 
===============================================================================
Card:9  Acc.QGrp: Ingress_QG_1  Instance: 2838
===============================================================================
Group Name    : Ingress_QG_1
Description   : (Not Specified)
Pol Ctl Pol   : None                    Acct Pol      : None
Collect Stats : disabled
===============================================================================
*A:Dut-A# show card 9 fp 1 ingress mode access queue-group "Ingress_QG_1" instance 
2838 detail
 
===============================================================================
Card:9  Acc.QGrp: Ingress_QG_1  Instance: 2838
===============================================================================
Group Name    : Ingress_QG_1
Description   : (Not Specified)
Pol Ctl Pol   : None                    Acct Pol      : None
Collect Stats : disabled
-------------------------------------------------------------------------------
Queues
-------------------------------------------------------------------------------
No queues found
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              :         65347348                8364460544
Dro. All              :         61569092                7880843776
For. All              :         3778256                 483616768
===============================================================================
*A:Dut-A# show card 9 fp 1 ingress mode access queue-group "Ingress_QG_1" instance 
2838 statistics
 
===============================================================================
Card:9  Acc.QGrp: Ingress_QG_1  Instance: 2838
===============================================================================
Group Name    : Ingress_QG_1
Description   : (Not Specified)
Pol Ctl Pol   : None                    Acct Pol      : None
Collect Stats : disabled
-------------------------------------------------------------------------------
Statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              :         65347348                8364460544
Dro. All              :         61569092                7880843776
For. All              :         3778256                 483616768
===============================================================================
 
*A:Dut-A# monitor card 9 fp 1 ingress access queue-group "Ingress_QG_1" instance 2838 
policer 2
 
========================================================================
Monitor Card: 9 Ingress Access Queue-Group: Ingress_QG_1 Statistics
========================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 133088161               17035284608
Dro. All              : 125393700               16050393600
For. All              : 7694461                 984891008
 
-------------------------------------------------------------------------------
At time t = 11 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9306452                 1191225856
Dro. All              : 8768431                 1122359168
For. All              : 538021                  68866688
 
-------------------------------------------------------------------------------
At time t = 22 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9290787                 1189220736
Dro. All              : 8754737                 1120606336
For. All              : 536050                  68614400
 
-------------------------------------------------------------------------------
At time t = 33 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9291993                 1189375104
Dro. All              : 8753745                 1120479360
For. All              : 538248                  68895744
 
-------------------------------------------------------------------------------
At time t = 44 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9289980                 1189117440
Dro. All              : 8752910                 1120372480
For. All              : 537070                  68744960
 
-------------------------------------------------------------------------------
At time t = 55 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9291543                 1189317504
Dro. All              : 8754385                 1120561280
For. All              : 537158                  68756224
 
-------------------------------------------------------------------------------
At time t = 66 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9290688                 1189208064
Dro. All              : 8753578                 1120457984
For. All              : 537110                  68750080
 
-------------------------------------------------------------------------------
At time t = 77 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9290745                 1189215360
Dro. All              : 8753631                 1120464768
For. All              : 537114                  68750592
 
-------------------------------------------------------------------------------
At time t = 88 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9290723                 1189212544
Dro. All              : 8753612                 1120462336
For. All              : 537111                  68750208
 
-------------------------------------------------------------------------------
At time t = 99 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9290589                 1189195392
Dro. All              : 8753485                 1120446080
For. All              : 537104                  68749312
 
-------------------------------------------------------------------------------
At time t = 110 sec (Mode: Delta)
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ing. Policer:  2  Grp: Ingress_QG_1 (Stats mode: minimal)
Off. All              : 9290735                 1189214080
Dro. All              : 8753622                 1120463616
For. All              : 537113                  68750464
 
========================================================================
 
 
*A:Dut-A# clear card 9 fp 1 mode access ingress queue-group "Ingress_QG_1" instance 
2838 statistics

sap-egress

Syntax 
sap-egress [policy-id] [association | match-criteria | hsmda | detail]
Context 
show>qos
Description 

This command displays SAP egress QoS policy information. Queue group information is displayed in the FC section.

Parameters 
policy-id—
The SAP egress policy ID that uniquely identifies the policy.
association—
Displays the entities associated with the specified policy ID.
match-criteria—
Displays match criteria when this keyword is specified.
hsmda—
Displays HSMDA properties (applies only to the 7450 ESS and 7750 SR).
detail—
Displays detailed information about the specified SAP egress policy.
Output 

Sample Output
*A:Dut-T>config>port# show qos sap-egress 10 detail      
===============================================================================
QoS Sap Egress
===============================================================================
-------------------------------------------------------------------------------
Sap Egress Policy (10)
-------------------------------------------------------------------------------
Policy-id      : 10                           Scope        : Template
Description    : (Not Specified)
 
-------------------------------------------------------------------------------
Queue CIR Admin PIR Admin CBS     HiPrio PIR Lvl/Wt    Parent         AvgOvrhd
      CIR Rule  PIR Rule  MBS            CIR Lvl/Wt
      Named-Buffer Pool                   
-------------------------------------------------------------------------------
1     0         max       def     def    1/1           None           0.00     
      closest   closest   def            0/1                                   
      (not-assigned)                                    
 
 
-------------------------------------------------------------------------------
FC Name   Queue QGroup   Dot1p Exp/Default        DE-Mark DSCP/Prec Marking
-------------------------------------------------------------------------------
be        1    QG_egres* Default                  None    default              
af        2    QG_egres* Default                  None    default              
ef        3    QG_egres* Default                  None    default              
nc        4    QG_egres* Default                  None    default              
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1 (VPLS)                     Customer-Id  : 1
 - SAP : 9/2/1                     
 - SAP : 9/2/2                     
 
-------------------------------------------------------------------------------
Mirror SAPs
-------------------------------------------------------------------------------
No Mirror SAPs Found.
 
 
-------------------------------------------------------------------------------
HSMDA CIR Admin PIR Admin Packet  Slope Policy                                 
Queue CIR Rule  PIR Rule  Offset                                               
-------------------------------------------------------------------------------
1     0         max       add 0   default                                      
      closest   closest                                                        
2     0         max       add 0   default                                      
      closest   closest                                                        
3     0         max       add 0   default                                      
      closest   closest                                                        
4     0         max       add 0   default                                      
      closest   closest                                                        
5     0         max       add 0   default                                      
      closest   closest                                                        
6     0         max       add 0   default                                      
      closest   closest                                                        
7     0         max       add 0   default                                      
      closest   closest                                                        
8     0         max       add 0   default                                      
      closest   closest                                                        
 
-------------------------------------------------------------------------------
FC              HSMDA Queue-id                HSMDA Dot1p Profiling            
-------------------------------------------------------------------------------
af              def                           disabled                         
be              def                           disabled                         
ef              def                           disabled                         
nc              def                           disabled                         
 
-------------------------------------------------------------------------------
DSCP            Cntr Id   Profile   fc                                      
-------------------------------------------------------------------------------
No DSCP-Map Entries Found.
 
 
-------------------------------------------------------------------------------
Prec Value      Cntr Id   Profile   fc                                      
-------------------------------------------------------------------------------
No Prec-Map Entries Found.
 
-------------------------------------------------------------------------------
Match Criteria
-------------------------------------------------------------------------------
No Matching Criteria.
 
 
-------------------------------------------------------------------------------
HSMDA Associations
-------------------------------------------------------------------------------
No Associations Found.
                                      
===============================================================================
*A:Dut-T>config>port# 
 

sap-ingress

Syntax 
sap-ingress [policy-id] [association | match-criteria | hsmda | detail]
Context 
show>qos
Description 

This command displays SAP ingress QoS policy information. Queue group information is displayed in the FC section.

Parameters 
policy-id—
The SAP egress policy ID that uniquely identifies the policy.
association—
Displays the entities associated with the specified policy ID.
match-criteria—
Displays match criteria when this keyword is specified.
hsmda—
Displays HSMDA properties (applies only to the 7450 ESS and 7750 SR).
detail—
Displays detailed information about the specified SAP egress policy.
Output 

Sample Output
*A:Dut-T>config>port# show qos sap-ingress 10 detail 
===============================================================================
QoS Sap Ingress
===============================================================================
-------------------------------------------------------------------------------
Sap Ingress Policy (10)
-------------------------------------------------------------------------------
Policy-id      : 10                           Scope        : Template
Default FC     : be                           Priority     : Low
Criteria-type  : None                         
Description    : (Not Specified)
 
-------------------------------------------------------------------------------
Queue Mode    CIR Admin PIR Admin CBS     HiPrio  PIR Lvl/Wt    Parent
              CIR Rule  PIR Rule  MBS             CIR Lvl/Wt
              Named-Buffer Pool
-------------------------------------------------------------------------------
1     Prio      0         max     def    def           1/1            None     
                closest   closest def                  0/1                     
                (not-assigned)
11    Prio      0         max     def    def           1/1            None     
                closest   closest def                  0/1                     
                (not-assigned)        
 
-------------------------------------------------------------------------------
FC   UCastQ/QGrp   MCastQ/QGrp    BCastQ/QGrp   UnknownQ/QGrp
-------------------------------------------------------------------------------
be              1/QG_ingress_1 def/           def/           def/              
af              2/QG_ingress_1 def/           def/           def/              
ef              3/QG_ingress_1 def/           def/           def/              
nc              4/QG_ingress_1 def/           def/           def/              
 
-------------------------------------------------------------------------------
FC           DE-1-out-profile Profile        In-Remark      Out-Remark
-------------------------------------------------------------------------------
af              No               None           None           None            
be              No               None           None           None            
ef              No               None           None           None            
nc              No               None           None           None            
 
-------------------------------------------------------------------------------
Dot1p           FC                               Priority             Cntr Id  
-------------------------------------------------------------------------------
0               be                               Default              Default  
2               af                               Default              Default  
4               ef                               Default              Default  
6               nc                               Default              Default  
 
-------------------------------------------------------------------------------
DSCP            FC                               Priority             Cntr Id  
-------------------------------------------------------------------------------
No DSCP-Map Entries Found.
 
 
-------------------------------------------------------------------------------
Prec Value      FC                               Priority             Cntr Id  
-------------------------------------------------------------------------------
No Prec-Map Entries Found.
 
-------------------------------------------------------------------------------
Match Criteria
-------------------------------------------------------------------------------
No Matching Criteria.
 
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
Service-Id     : 1 (VPLS)                     Customer-Id  : 1
 - SAP : 9/2/1                               
 - SAP : 9/2/2                               
 
-------------------------------------------------------------------------------
HSMDA CIR Admin PIR Admin Packet  Slope Policy                                 
Queue CIR Rule  PIR Rule  Offset                                               
-------------------------------------------------------------------------------
1     0         max       add 0   default                                      
      closest   closest                                                        
2     0         max       add 0   default                                      
      closest   closest                                                        
3     0         max       add 0   default                                      
      closest   closest                                                        
4     0         max       add 0   default                                      
      closest   closest                                                        
5     0         max       add 0   default                                      
      closest   closest                                                        
6     0         max       add 0   default                                      
      closest   closest                                                        
7     0         max       add 0   default                                      
      closest   closest                                                        
8     0         max       add 0   default                                      
      closest   closest                                                        
                                      
-------------------------------------------------------------------------------
FC              HSMDA UCastQ   HSMDA MCastQ   HSMDA BCastQ                     
-------------------------------------------------------------------------------
af              def            def            def                              
be              def            def            def                              
ef              def            def            def                              
nc              def            def            def                              
-------------------------------------------------------------------------------
HSMDA Associations
-------------------------------------------------------------------------------
No Associations Found.
===============================================================================
*A:Dut-T>config>port#
 

pools

Syntax 
pools mda-id[/port] [access-app [pool-name | service service-id | queue-group queue-group-name]]
pools mda-id[/port] [network-app [pool-name | queue-group queue-group-name]]
pools mda-id[/port] [direction [pool-name | service service-id | queue-group queue-group-name]]
Context 
show
Description 

This command displays queue group pool information.

Parameters 
mda-id[/port]—
Displays the pool information of the specified XMA or MDA.
pool-name—
Displays the pool information of the specified QoS policy.
Values—
access-ingress, access-egress
service service-id
Displays pool information for the specified service.
Values—
1 to 2147483647
queue-group queue-group-name
Display information for the specified queue group.
direction—
Specifies to display information for the ingress or egress direction.
Values—
ingress, egress
Output 

Sample Output
*A:PE# show pools access-egress 5/1/1 queue-group "qg1" instance 1
===============================================================================
Pool Information
===============================================================================
Port                 : 5/1/1
Application          : Acc-Egr          Pool Name             : default
CLI Config. Resv CBS : 30%(default)
Resv CBS Step        : 0%               Resv CBS Max          : 0%
Amber Alarm Threshold: 0%               Red Alarm Threshold   : 0%
-------------------------------------------------------------------------------
Queue-Groups
-------------------------------------------------------------------------------
Queue-Group:Instance : qg1:1
-------------------------------------------------------------------------------
Utilization                   State       Start-Avg    Max-Avg    Max-Prob
-------------------------------------------------------------------------------
HiPlus-Slope                  Down              85%       100%         80%
High-Slope                    Down              70%        90%         80%
Low-Slope                     Down              50%        75%         80%
Exceed-Slope                  Down              30%        55%         80%
Time Avg Factor      : 7
Pool Total           : 75264 KB
Pool Shared          : 52224 KB         Pool Resv             : 23040 KB
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Current Resv CBS    Provisioned    Rising         Falling        Alarm
%age                all Queues     Alarm Thd      Alarm Thd      Color
-------------------------------------------------------------------------------
30%                 0 KB           NA             NA             Green
Pool Total In Use    : 0 KB
Pool Shared In Use   : 0 KB             Pool Resv In Use      : 0 KB
WA Shared In Use     : 0 KB
HiPlus-Slope Drop Pr*: 0                Hi-Slope Drop Prob    : 0
Lo-Slope Drop Prob   : 0                Excd-Slope Drop Prob  : 0
===============================================================================
Queue : accQGrp->qg1:1(5/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : not-applicable
Admin PIR        : 10000000             Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 12288 KB             Oper MBS         : 12288 KB
Hi Prio Only     : 1344 KB              Hi Low Prio Only : 2496 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
*A:PE#
 
*A:PE# show pools 1/1/1 access-ingress queue-group "qg1"
===============================================================================
Pool Information
===============================================================================
Port                 : 1/1/1
Application          : Acc-Ing          Pool Name             : default
CLI Config. Resv CBS : 30%(default)
Resv CBS Step        : 0%               Resv CBS Max          : 0%
Amber Alarm Threshold: 0%               Red Alarm Threshold   : 0%
-------------------------------------------------------------------------------
Queue-Groups
-------------------------------------------------------------------------------
Queue-Group          : qg1
-------------------------------------------------------------------------------
Utilization                   State       Start-Avg    Max-Avg    Max-Prob
-------------------------------------------------------------------------------
HiPlus-Slope                  Down              85%       100%         80%
High-Slope                    Down              70%        90%         80%
Low-Slope                     Down              50%        75%         80%
Exceed-Slope                  Down              30%        55%         80%
Time Avg Factor      : 7
Pool Total           : 264192 KB
Pool Shared          : 184320 KB        Pool Resv             : 79872 KB
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Current Resv CBS    Provisioned    Rising         Falling        Alarm
%age                all Queues     Alarm Thd      Alarm Thd      Color
-------------------------------------------------------------------------------
30%                 0 KB           NA             NA             Green
Pool Total In Use    : 0 KB
Pool Shared In Use   : 0 KB             Pool Resv In Use      : 0 KB
WA Shared In Use     : 0 KB
HiPlus-Slope Drop Pr*: 0                Hi-Slope Drop Prob    : 0
Lo-Slope Drop Prob   : 0                Excd-Slope Drop Prob  : 0
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 1/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 6/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 5/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 1/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 2/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 2/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 3/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 3/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 4/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 5/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 6/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 7/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 7/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 8/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 8/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 9/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 9/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 10/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 10/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
Queue : accQGrp->qg1:1(1/1/1)->1
===============================================================================
FC Map           : not-applicable
Tap              : 4/*
Admin PIR        : 1000000              Oper PIR         : Max
Admin CIR        : 0                    Oper CIR         : 0
Admin MBS        : 1224 KB              Oper MBS         : 1224 KB
Hi Prio Only     : 144 KB               Hi Low Prio Only : 264 KB
CBS              : 0 KB                 Depth            : 0
Slope            : not-applicable
===============================================================================
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:PE#

port

Syntax 
port port-id queue-group [ingress | egress] [queue-group-name] [{statistics | associations}]
Context 
show>port
Description 

This command displays physical port information for the port’s queue group.

Parameters 
port-id—
Specifies the port ID to display information about the port’s queue group.
queue-group ingress—
Specifies whether the queue group name is an ingress policy.
queue-group egress—
Specifies whether the queue group name is an egress policy.
queue-group-name—
Specifies the name of an existing queue group template up to 32 characters in length.
statistics—
Displays statistical information for the queue group.
associations—
Displays the entities associated with the specified queue group name.
Output 

Sample Output
*A:Dut-T>config>port# show port 9/2/1 queue-group ingress 
===============================================================================
Ethernet port 9/2/1 Access Ingress queue-group
===============================================================================
Group Name    : QG_ingress_1       
Description   : (Not Specified)
Sched Policy  : None               Acct Pol : None
Collect Stats : disabled           
 
Queues
-------------------------------------------------------------------------------
Ing. QGroup   : QG_ingress_1       Queue-Id : 1 (Unicast) (Priority)
Description   : Ingress queue-group
Admin PIR     : max*               Admin CIR: 0*
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
Ing. QGroup   : QG_ingress_1       Queue-Id : 2 (Unicast) (Priority)
Description   : Ingress queue-group
Admin PIR     : 800000             Admin CIR: 20000
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
Ing. QGroup   : QG_ingress_1       Queue-Id : 3 (Unicast) (Priority)
Description   : Ingress queue-group
Admin PIR     : max*               Admin CIR: 0*
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
Ing. QGroup   : QG_ingress_1       Queue-Id : 4 (Unicast) (Priority)
Description   : Ingress queue-group
Admin PIR     : max*               Admin CIR: 0*
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
* means the value is inherited
===============================================================================
*A:Dut-T>config>port# 
 
 
*A:Dut-T>config>port# show port 9/2/2 queue-group egress 
===============================================================================
Ethernet port 9/2/2 Access Egress queue-group
===============================================================================
Group Name    : QG_egress_1        
Description   : (Not Specified)
Sched Policy  : None               Acct Pol : None
Collect Stats : disabled           
 
Queues
-------------------------------------------------------------------------------
Egr. QGroup   : QG_egress_1        Queue-Id : 1
Description   : Egress queue group
Admin PIR     : max*               Admin CIR: 0*
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
Egr. QGroup   : QG_egress_1        Queue-Id : 2
Description   : Egress queue group
Admin PIR     : max*               Admin CIR: 0*
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
Egr. QGroup   : QG_egress_1        Queue-Id : 3
Description   : Egress queue group
Admin PIR     : 1500000            Admin CIR: 2000
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
Egr. QGroup   : QG_egress_1        Queue-Id : 4
Description   : Egress queue group
Admin PIR     : max*               Admin CIR: 0*
PIR Rule      : closest*           CIR Rule : closest*
CBS           : def*               MBS      : 100*
Hi Prio       : def*               
 
* means the value is inherited
===============================================================================
*A:Dut-T>config>port#   
 
*A:Dut-T>config>port# show port 9/2/2 egress queue-group QG_egress_1 statistics 
-------------------------------------------------------------------------------
Ethernet port 9/2/2 Access Egress queue-group
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Egress Queue: 1 Group: QG_egress_1
For. InProf           : 0                       0                              
For. OutProf          : 228091788               14959815064                    
Dro. InProf           : 0                       0                              
Dro. OutProf          : 0                       0                              
 
Egress Queue: 2 Group: QG_egress_1
For. InProf           : 0                       0                              
For. OutProf          : 40661626                2764990568                     
Dro. InProf           : 0                       0                              
Dro. OutProf          : 0                       0                              
 
Egress Queue: 3 Group: QG_egress_1
For. InProf           : 0                       0                              
For. OutProf          : 40661628                2764990704                     
Dro. InProf           : 0                       0                              
Dro. OutProf          : 0                       0                              
                                      
Egress Queue: 4 Group: QG_egress_1
For. InProf           : 0                       0                              
For. OutProf          : 40661629                2764990772                     
Dro. InProf           : 0                       0                              
Dro. OutProf          : 0                       0                              
-------------------------------------------------------------------------------
*A:Dut-T>config>port#

Monitor Commands

card

Syntax 
card slot-number fp fp-number ingress {access | network} queue-group queue-group-name instance instance-id [interval seconds] [repeat repeat] policer policer-id [absolute | percent-rate | reference-rate]
Context 
monitor
Description 

This command monitors policer statistics in an ingress FP queue group.

Parameters 
card slot-number
Specifies the slot number associated with the queue group, expressed as an integer.
Values—
1 to 20
fp fp-number
Specifies the FP number associated with the queue group, expressed as an integer.
Values—
1 to 2
ingress—
Displays policer statistics applied on the ingress FP.
access —
Displays policer statistics on the FP access.
network —
Displays policer statistics on the FP network.
queue-group queue-group-name
Specifies the name of the queue group up to 32 characters in length
instance instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1 to 65535
interval seconds
Configures the interval for each display in seconds.
Values—
11 seconds
Values—
11 to 60
repeat repeat
Configures how many times the command is repeated.
Values—
10
Values—
1 to 999
policer policer-id
The specified policer-id must exist within the queue-group template applied to the ingress context of the forwarding plane.
Values—
1 to 32
absolute —
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
percent-rate—
When the percent-rate keyword is specified, the rate-per-second for each statistic is displayed based on the reference rate of 10G.
reference-rate —
When a reference-rate value is specified, the rate-per-second for each statistic is displayed as a percentage based on the reference rate specified.
Values—
100M, 1G, 10G, 40G, 100G, 400G

card

Syntax 
card slot-number fp fp-number queue-group queue-group-name instance instance-id [ingress] [access | networks] [interval seconds] [repeat repeat] [absolute | percent-rate | reference-rate] [arbiter root | name]
Context 
monitor>qos>arbiter-stats
Description 

This command monitors arbiter statistics in an ingress FP queue group.

Parameters 
card slot-number
Specifies the slot number associated with the queue group, expressed as an integer.
Values—
1 to 20
fp fp-number
Specifies the FP number associated with the queue group, expressed as an integer.
Values—
1 to 2
ingress—
Displays policer statistics applied on the ingress FP.
access —
Displays policer statistics on the FP access.
network —
Displays policer statistics on the FP network.
queue-group queue-group-name
Specifies the name of the queue group up to 32 characters in length
instance instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1 to 65535
interval seconds
Configures the interval for each display in seconds.
Values—
11 seconds
Values—
11 to 60
repeat repeat
Configures how many times the command is repeated.
Values—
10
Values—
1 to 999
absolute —
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
percent-rate—
When the percent-rate keyword is specified, the rate-per-second for each statistic is displayed based on the reference rate of 10G.
reference-rate —
When a reference-rate value is specified, the rate-per-second for each statistic is displayed as a percentage based on the reference rate specified.
Values—
100M, 1G, 10G, 40G, 100G, 400G
arbiter name
Specify the name of the policer control policy arbiter.
Values—
An existing arbiter-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
root—
Specifies the root arbiter.

port

Syntax 
port port-id egress network queue-group queue-group-name instance instance-id [interval seconds] [repeat repeat] [absolute | rate] [arbiter root | name]
Context 
monitor>qos>arbiter-stats
Description 

This command monitors arbiter statistics in an egress port queue group.

Parameters 
port port-id

port-id

slot/mda/port [.channel]

eth-sat-id

esat-id/slot/port

esat

keyword

id

1 to 20

pxc-id

pxc-id.sub-port

pxc

keyword

id

1 to 64

sub-port

a, b

Values—
slot/mda/port
egress network
Specifies statistics are for an egress network queue group.
queue-group queue-group-name
Specifies the name of the queue group up to 32 characters in length.
instance instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1to 65535
interval seconds
Configures the interval for each display in seconds.
Values—
11 seconds
Values—
11 to 60
repeat repeat
Configures how many times the command is repeated.
Values—
10
Values—
1 to 999
absolute—
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
rate —
When the rate keyword is specified, the rate-per-second for each statistic is displayed.
arbiter name
Specify the name of the policer control policy arbiter.
Values—
An existing arbiter-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
root—
Specify the root arbiter.

port

Syntax 
port port-id queue-group queue-group-name [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate] [access | network] [instance instance-id]
Context 
monitor>qos>scheduler-stats
Description 

This command enables port traffic monitoring.

Parameters 
port port-id
Specifies the port ID.
Values—

port-id

slot/mda/port [.channel]

eth-sat-id

esat-id/slot/port

esat

keyword

id

1 to 20

pxc-id

pxc-id.sub-port

pxc

keyword

id

1 to 64

sub-port

a, b

queue-group queue-group-name
Specifies the name of the queue group up to 32 characters in length.
instance instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1 to 65535
ingress—
Specifies statistics are for an ingress queue group.
egress —
Specifies statistics are for an egress queue group.
interval seconds
Configures the interval for each display in seconds.
Values—
11 seconds
Values—
11 to 60
repeat repeat
Configures how many times the command is repeated.
Values—
10
Values—
1 to 999
absolute—
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
rate —
When the rate keyword is specified, the rate-per-second for each statistic is displayed.
access —
Displays scheduler statistics applied on an access port.
network —
Displays scheduler statistics applied on a network port.