HSMDA Command Reference

Command Hierarchies

config
— qos
hsmda-pool-policy policy-name [create]
— no hsmda-pool-policy policy-name
class-pool class-pool-id root-parent root-pool-id allocation-percent percent-of-parent-pool
— no class-pool class-pool-id
description description-string
root-pool root-pool-id allocation-weight pool-weight
— no root-pool root-pool-id
system-reserve percentage-of-buffers
hsmda-scheduler-policy scheduler-policy-name [create]
— no hsmda-scheduler-policy scheduler-policy-name
description description-string
group group-id rate rate
— no group group-id
max-rate rate
— no max-rate
scheduling-class class group group-id [weight weight-in-group]
scheduling-class class rate rate
— no scheduling-class class
hsmda-slope-policy policy-name [create]
— no hsmda-slope-policy policy-name
description description-string
max-depth percent-of-queue-depth
— no max-depth
max-prob discard-probability-in-percent
— no max-prob
[no] shutdown
start-depth percent-of-queue-depth
max-depth percent-of-queue-depth
— no max-depth
max-prob discard-probability-in-percent
— no max-prob
[no] shutdown
start-depth percent-of-queue-depth
— no hsmda-wrr-policy scheduler-policy-name
description description-string
include-queues {1-2 | 1-3}
schedule-using-class {1 | 2 | 3}
class-agg-weight {1 | 2 | 4 | 8}

Show Commands

show
— qos
hsmda-pool-policy [hsmda-pool-policy-name] [associations] [detail]
hsmda-pools mda mda-id {ingress | egress} [detail]
hsmda-scheduler-hierarchy port port-id [{shapers | shaper shaper-name}]
hsmda-scheduler-hierarchy sap sap-id ingress | egress
hsmda-scheduler-hierarchy subscriber sub-id [ingress | egress]
hsmda-scheduler-policy [hsmda-scheduler-policy-name] [associations] [detail]
hsmda-slope-policy [hsmda-slope-policy-name] [associations] [detail]

Command Descriptions

Configuration Commands

Generic Commands

description

Syntax 
description description-string
no description
Context 
config>qos>hsmda-scheduler-policy
config>qos>hsmda-wrr-policy
Description 

This command creates a text description stored in the configuration file for a configuration context.

The no form of this command removes any description string from the context.

Default 

No description is associated with the configuration context.

Parameters 
description-string—
A text string describing the entity. 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.

shutdown

Syntax 
[no] shutdown
Context 
config>qos>hsmda-slope-policy
Description 

This command administratively disables an entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics.

The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.

Services are created in the administratively down (shutdown) state. When a no shutdown command is entered, the service becomes administratively up and then tries to enter the operationally up state. Default administrative states for services and service entities is described below in Special Cases.

The no form of this command places the entity into an administratively enabled state.

HSMDA Pool QoS Policy Commands

hsmda-pool-policy

Syntax 
hsmda-pool-policy policy-name [create]
no hsmda-pool-policy policy-name
Context 
config>qos
Description 

This command enables the context to configure a HSMDA pool policy parameters. Each policy must be uniquely named within the system. Names of up to 32 ASCII characters are supported with the normal character restrictions. A policy must be defined prior to applying the policy name to an HSMDA entity.

The no form of the command removes the specified HSMDA pool policy from the configuration. If the HSMDA pool policy is associated with an HSMDA, the command will fail.

Parameters 
policy-name—
Specifies the name of the pool policy up to 32 characters in length.
create—
The create keyword is required when the create command is enabled in the environment context to create a new HSMDA scheduler policy. This keyword is not required when the protection is disabled. The keyword is ignored when the HSMDA scheduler policy already exists.

class-tier

Syntax 
class-tier
Context 
config>qos>hsmda-pool-policy
Description 

This class enables the context to configure class pool tier parameters. Within the class-tier context, class pools may be associated with a root pool and are sized as a percentage of the root pool’s size.

class-pool

Syntax 
class-pool class-pool-id root-parent root-pool-id allocation-percent percent-of-parent-pool
no class-pool class-pool-id
Context 
config>qos>hsmda-pool-policy
Description 

This command specifies a class pool’s root pool parent and define the buffer allocation percentage used for sizing the class pool relative to the parent pool’s size. Eight class pools exist and do not need to be created.

Class pools function as a scheduling class aggregate buffer control mechanism and define the total number of buffers a given scheduling class may consume for all ports. Each class pool must be placed in a root pool hierarchy. This is accomplished by the root-parent keyword and root-pool-id parameter. A class pool cannot be parented by a root pool that currently has an allocation-weight parameter set to 0. Once a class pool is parented by a root pool, that root pool will not allow the allocation-weight to be set to 0.

The allocation-percent keyword and associated percent-of-parent-pool parameter indirectly specifies the size of the class pool. The percent value is multiplied by the size of the root pool to derive the class pool size. If the percent value is changed, or the size of the root pool changes, the class pool and port class pools associated with the class pool must be resized. The sum percent values for the class pools associated with a root pool may exceed 100%, allowing the class pools to oversubscribe the root pool. In this case, it is possible for the class pool to indicate that buffers remain when the root pool has exhausted its available buffers.

When queues associated with the class pool’s scheduling class request buffers due to packet arrival, the port class pool, class pool and root pool must all have sufficient buffers available to place the packet into the queue. If sufficient buffers are not available, the packet will be discarded by the queue.

The no form of the command restores the default root-parent and allocation-percent value for a class pool. Based on the class pool, the restored default values may differ.

Parameters 
class-pool-id —
Specifies which class pool is being modified. This parameter is a required when executing the class-pool command.
Values—
1 — 8
root-parent root-pool-id
Specifies the parent root pool to which the class pool will be associated. All class pool parent associations are output when save config or show config is executed regardless of whether the default value is currently set. The root-parent keyword is required and must precede the root-pool-id parameter.
Values—
1 — 8
Table 63:  Root Pool ID Class Pool  

Unit

Integer

Default class-pool 1

1

Default class-pool 2

1

Default class-pool 3

1

Default class-pool 4

1

Default class-pool 5

1

Default class-pool 6

2

Default class-pool 7

2

Default class-pool 8

2

allocation-percent percent-of-parent-pool
Defines the percentage of the root pool’s size to define the size of the class pool. The value is specified as a percentage with two decimal places (100th of a percent). All class pool percentage values are output when save config or show config is executed regardless of whether the default value is currently set. The allocation-percent keyword is required and must precede the percent-of-parent-pool parameter.

root-tier

Syntax 
root-tier
Context 
config>qos>hsmda-pool-policy
Description 

This command enables the root pool tier context of an HSMDA pool policy. Within the root-tier context, root pools may be sized by defining each root pool’s weight.

root-pool

Syntax 
root-pool root-pool-id allocation-weight pool-weight
no root-pool root-pool-id
Context 
config>qos>hsmda-pool-policy
Description 

This command defines the buffer allocation weight for a specific root pool. Eight root pools exist and do not need to be created. The allocation-weight parameter is used to specify the weight that will be applied to the pool and is divided by the sum of all root pool weights to derive the pool’s buffer allocation factor. The amount of buffers remaining after the system-reserve percentage is applied is multiplied by the buffer allocation factor to derive the pool size.

Root pools function as an oversubscription control mechanism. A root pool acts as the root of a hierarchy of buffer pools and queues with respect to buffer allocation. Since the sum of the root pool sizes will not exceed the total number of buffers available, the number of buffers indicated by the root pools size will always be available to the queues within the root pools hierarchy, queues from one hierarchy can never steal buffers from another.

A root pool hierarchy is based on the dynamic parenting of a root pool to one or more class pools. A class pool represents the buffering allowed for a given scheduling class. Each class pool is sized as a percentage of the root pool to which it is parented. The sum of the class pools percentages for a root pool may be greater than 100 percent which allows the root pool to be oversubscribed. This may be beneficial when large fluctuations in class based buffer utilization are expected and a given class should be allowed to exceed its fair share of buffering.

Port queues are tied to root pools through the scheduling class of the queue (indicated by the queue-ID). A queue on scheduling class 3 will be mapped to class pool 3 and indirectly tied to the root pool associated with class pool 3.

A root pool with an allocation-weight set to 0 is considered inactive and will not be allocated buffers. Class pools cannot be parented to a root pool with a weight equal set to 0. Once a class pool is associated with a root pool, the root pool’s weight cannot be set to 0.

When a root pool’s allocation weight is modified, all root pools, class pools and port class pool sizes are reevaluated and modified when necessary.

The no form of the command restores the default allocation-weight value to a root pool. Root pool 1 has a different default weight than root pools 2 through 8. The no root-pool command will fail for root pools 2 through 8 if the root pool is currently parented to a class pool.

Parameters 
root-pool-id—
Specifies the root pool ID value. This value is a required parameter when executing the root-pool command and specifies which root pool is being modified.
Values—
1 — 8
Values—
none
allocation-weight pool-weight
The pool-weight parameter defines the weight of the specified root-pool-id and is used by the system to calculate the size of the root buffer pool. The allocation-weight keyword is required and must precede the pool-weight parameter. Setting pool-weight to 0 disables the pool and prevents the root pool from being a parent to any class pools. Root pool 1 cannot be set with an allocation weight of 0.
Table 64:  Pool Weight Values  

Unit:

Integer

Range root-pool 1

1 — 100

Range root-pool 2

0 — 100

Range root-pool 3

0 — 100

Range root-pool 4

0 — 100

Range root-pool 5

0 — 100

Range root-pool 6

0 — 100

Range root-pool 7

0 — 100

Range root-pool 8

0 — 100

Default root-pool 1

75

Default root-pool 2

25

Default root-pool 3

0

Default root-pool 4

0

Default root-pool 5

0

Default root-pool 6

0

Default root-pool 7

0

Default root-pool 8

0

system-reserve

Syntax 
system-reserve percentage-of-buffers
no system-reserve
Context 
config>qos>hsmda-pool-policy
Description 

This command defines the amount of HSMDA buffers that will be set aside for internal system use. By default, 10% of the total buffer space is reserved for system internal queues. The command is provided for the case where the reserved buffer space is either insufficient or excessive. Use care when modifying this value. When the system reserve value is changed, all the provisioned port class, class and root pool sizes will be re-evaluated and possibly changed.

The no form of the command restores the default system reserve value.

Parameters 
percentage-of-buffers—
Specifies the system reserve value.
Values—
1.00 to 30.00
Values—
10.00

HSMDA Scheduler QoS Policy Commands

hsmda-scheduler-policy

Syntax 
hsmda-scheduler-policy scheduler-policy-name [create]
no hsmda-scheduler-policy scheduler-policy-name
Context 
config>qos
Description 

This command configures HSMDA scheduler policy parameters. HSMDA scheduler policies can be assigned to an egress HSMDA port or as the ingress control scheduler between the HSMDA and the ingress forwarding plane. The policy contains commands to provision the scheduling behavior of a set of HSMDA scheduler classes. When assigned to an HSMDA egress port, the policy defines the scheduling behavior for all queues associated with the egress port. When assigned to the ingress path of an ESDMA, the policy defines the scheduling behavior for all ingress queues on the HSMDA (regardless of ingress port).

Up to 1000 HSMDA scheduler policies can be configured per system

The no form of the command removes an HSMDA scheduler policy from the system. If the policy is associated with an egress port or ingress HSMDA, the command will fail.

Default 

none

Parameters 
scheduler-policy-name—
Each HSMDA scheduler policy must be uniquely named within the system. Names of up to 32 ASCII characters are supported with the normal character restrictions. An HSMDA scheduler policy must be defined prior to applying the policy name to an HSMDA egress port or to an ingress HSMDA.
create—
The create keyword is required when the create command is enabled in the environment context to create a new HSMDA scheduler policy. This keyword is not required when the protection is disabled. The keyword is ignored when the HSMDA scheduler policy already exists.

group

Syntax 
group group-id rate rate
no group group-id
Context 
config>qos>hsmda-scheduler-policy
Description 

This command defines the maximum rate allowed for the scheduling classes mapped to the specified group-id. A group is a scheduling entity used to combine up to three consecutive scheduling classes into a single strict priority level. Each scheduling class within the group has an associated weight. When the scheduler is operating at the strict level associated with the group, the ratio of bandwidth allocated to each scheduling class within the group during congestion at that strict level is relative to the ratio of the weight of each member. The bandwidth is allocated in a work conserving fashion and is sensitive to packet size up to the maximum rate defined for the group.

The no form of the command reverts the specified weighted scheduling class group rate limit to the default setting.

Parameters 
group-id—
Defines the maximum rate allowed for the scheduling classes mapped to the specified group-id.
Values—
1, 2
rate rate
Specifies the maximum rate in megabits-per-second. If the max keyword is used with the rate parameter, the bandwidth limitation is removed from the group.
Values—
1 to 40000000, max
Values—
max

max-rate

Syntax 
max-rate rate
no max-rate
Context 
config>qos>hsmda-scheduler-policy
Description 

This command defines an explicit maximum frame-based bandwidth limit for the HSMDA scheduler policy scheduler. If a max-rate is defined that is smaller than the port rate, the port will be rate limited to the expressed megabits-per-second value. This command should be used with caution if the policy may be applied on ingress for an HSMDA as the total port ingress rate will be limited to the defined maximum rate.

This command can be executed at any time for any non-default existing HSMDA scheduler policy. When a new maximum rate is given for a policy, the system evaluates all instances of the policy to see if the configured rate is smaller than the available port bandwidth. If the rate is smaller and the maximum rate is not currently overridden on the scheduler instance, the scheduler instance is updated with the new maximum rate value.

The maximum rate value defined in the policy can be overridden on each scheduler instance. If the maximum rate is explicitly defined as an override on a port or ingress HSMDA, the policy’s max-rate value has no effect.

The no form of the command removes an explicit rate value from the HSMDA scheduler policy. Once removed, all instances of the scheduler policy on egress ports or ingress HSMDAs are allowed to run at the available line rate unless the instance has a max-rate override in place.

Parameters 
rate—
Specifies an explicit maximum frame based bandwidth limit for the HSMDA scheduler policy scheduler.
Values—
1 to 40000000 megabits per second, max

scheduling-class

Syntax 
scheduling-class class group group-id [weight weight-in-group]
scheduling-class class rate rate
no scheduling-class class
Context 
config>qos>hsmda-scheduler-policy
Description 

This command configures the behavior of a specific scheduling class on all HSMDA schedulers associated with the policy. The scheduling-class command performs one of two operations, configure a maximum rate for the scheduling class or place the scheduling class into one of the two available weighted scheduling groups. The two operations are mutually exclusive.

By default, none of the scheduling classes are members of either weighted scheduling group and each class is set to a rate limit of max (meaning that no rate limit is applied).

Specifying Scheduling Class Rate (or Removing Class from Group)

If the scheduling-class command is executed with the rate keyword specified, either max or a specified megabits-per-second rate must follow. If class-id had previously been mapped into one of the two weighted scheduling groups, the class will be removed. However, if removing the class from the group will cause the group to no longer have contiguous class members, the command will fail with no effect on the specified class. A non-contiguous grouping error will be returned specifying the weighted group. The lowest or highest members within a weighted group must be removed prior to removing the middle member. For example, if scheduling classes 3, 4 and 5 were members of weighted group 1, class 4 can not be removed first.

The scheduling-class command using the rate keyword will also fail in the event where an override for the group weight is in place on the scheduling class within a scheduler associated with the policy. The override command is expecting the class to be associated with a weighted scheduling group and the policy rate definition is attempting to remove the class from the group. An override mismatch error will be generated specifying the scheduling object where the override exists (SAP, subscriber or ingress HSMDA).

Once a rate has been successfully defined for a scheduling class, the specified rate is automatically updated on all HSMDA scheduler instances associated with the scheduling policy. The exception is where the scheduler instance has a local override for the rate on the scheduling class.

Specifying Scheduling Class Weighted Group Membership

If the scheduling-class command is executed with the group keyword specified, group-id must follow. Two weighted scheduling groups are allowed, numbered 1 and 2. Along with the group, the weight keyword is used to specify the weight the scheduling class within the group. If weight is not specified, the default weight of 1 will be used. Similar to the rate action of the command, the group version will fail if the scheduling class ID is not consecutive with the class members currently members of the weighted scheduling group. The command will have no effect on the current scheduling class settings and a non-contiguous grouping error will be returned specifying the weighted scheduling group and the current group members.

The scheduling-class command will also fail using the group keyword when a rate override for the scheduling class exists on an HSMDA scheduler instance associated with the policy. The rate override for the scheduling class indicates the class is directly attached to a strict priority level, conflicting with the policy group keyword trying to place the class in the specified group. The command will fail without effecting the scheduling class definition on the policy and return an override-mismatch error specifying the scheduling object where the override exists.

The configured priority level rate limits may be overridden at the egress port or channel using the egress-scheduler-override level priority-level command. When a scheduler instance has an override defined for a priority level, both the rate and cir values are overridden even when one of them is not explicitly expressed in the override command. For instance, if the cir kilobits-per-second portion of the override is not expressed, the scheduler instance defaults to not having a CIR rate limit for the priority level even when the port scheduler policy has an explicit CIR limit defined.

Other Override Constraints

The scheduling overrides cannot change or remove a scheduling class from a policy defined weighted group membership.

The no form of the command returns the scheduling class represented by class-id to the default behavior. The default behavior for a scheduling class is to not be a member of either weighted scheduling class groups and have a rate set to max. The no form of the command will fail if the scheduling class is currently a member of one of the weighted scheduling class groups and a weight override is in effect on a scheduling object for the class. An override mismatch error will be returned specifying the scheduling object where the override exists.

Parameters 
class—
specifies the weight the QMDA port scheduler policy should apply to this policy level within the group it belongs to.
Values—
1 to 8
group group-id
If the scheduling-class command is executed with the group keyword specified, a group-id must be specified. Two weighted scheduling groups are allowed, numbered 1 and 2. With the group, the weight keyword specifies the weight the scheduling class within the group. If weight is not specified, the default weight is 1. Similar to the rate action of the command, the group version will fail if the scheduling class ID is not consecutive with the class members currently members of the weighted scheduling group. The command will have no effect on the current scheduling class settings and a non-contiguous grouping error will be returned specifying the weighted scheduling group and the current group members.

The scheduling-class command will also fail using the group keyword when a rate override for the scheduling class exists on an HSMDA scheduler instance associated with the policy. The rate override for the scheduling class indicates the class is directly attached to a strict priority level, conflicting with the policy group keyword trying to place the class in the specified group. The command will fail without effecting the scheduling class definition on the policy and return an override-mismatch error specifying the scheduling object where the override exists.

The configured priority level rate limits can be overridden at the egress port or channel using the egress-scheduler-override level priority-level command. When a scheduler instance has an override defined for a priority level, both the rate and cir values are overridden even when one of them is not explicitly expressed in the override command. For instance, if the CIR kilobits-per-second portion of the override is not expressed, the scheduler instance defaults to not having a CIR rate limit for the priority level even when the port scheduler policy has an explicit CIR limit defined.

Values—
1, 2
weight weight-in-group
Specifies the relative weight of class-id to the other scheduling classes within the group. If group is specified without the weight keyword, a default weight is 1.
Values—
1 to 100
rate rate
If the scheduling-class command is executed with the rate keyword specified, either max or a specified megabits-per-second rate must follow. If class-id was previously mapped into one of the two weighted scheduling groups, the class will be removed. However, if removing the class from the group will cause the group to no longer have contiguous class members, the command will fail with no effect on the specified class. A non-contiguous grouping error will be returned specifying the weighted group. The lowest or highest members within a weighted group must be removed prior to removing the middle member. For example, if scheduling classes 3, 4 and 5 were members of weighted group 1, class 4 cannot be removed first.

The scheduling-class command using the rate keyword will also fail in the event where an override for the group weight is in place on the scheduling class within a scheduler associated with the policy. The override command is expecting the class to be associated with a weighted scheduling group and the policy rate definition is attempting to remove the class from the group. An override mismatch error will be generated specifying the scheduling object where the override exists (such as a SAP, subscriber or ingress HSMDA).

Once a rate has been successfully defined for a scheduling class, the specified rate is automatically updated on all HSMDA scheduler instances associated with the scheduling policy. The exception is where the scheduler instance has a local override for the rate on the scheduling class.

The max keyword specifies that a limit is not enforced for the specified class-id and that the class-id is not a member of a weighted scheduling class group. The max keyword is mutually exclusive to the kilobits-per-second parameter and when specified, must directly follow the rate keyword. Setting the rate of the class to max will fail when the class currently has a group weight override defined on a scheduling object (SAP, subscriber profile or ingress HSMDA).

Values—
1 to 40000000, max

HSMDA Slope QoS Policy Commands

hsmda-slope-policy

Syntax 
hsmda-slope-policy policy-name [create]
no hsmda-slope-policy policy-name
Context 
config>qos
Description 

This command creates an HSMDA RED slope policy. The policy may be assigned to an ingress or egress HSMDA queue. The policy contains the Maximum Buffer Size (MBS) that will be applied to the queue and the high and low priority RED slope definitions. The function of the MBS and RED slopes is to provide congestion control for an HSMDA queue. The MBS parameter defines the maximum depth a queue may reach when accepting packets. The low and high priority RED slopes provides for random early detection of congestion and slope based discards based on queue depth.

An HSMDA slope policy can be applied to queues defined in the SAP ingress and SAP egress QoS policy HSMDA queues context. Once an HSMDA slope policy is applied to a SAP QoS policy queue, it cannot be deleted. Any edits to the policy are updated to all HSMDA queues indirectly associated with the policy.

Default HSMDA Slope Policy

An HSMDA slope policy named “default” always exists on the system and does not need to be created. The default policy is automatically applied to all HSMDA queues unless another HSMDA slope policy is specified for the queue. The default policy cannot be modified or deleted. Attempting to execute the no hsmda-slope-policy default command results in an error.

The no form of the command removes the specified HSMDA slope policy from the configuration. If the HSMDA slope policy is currently associated with an HSMDA queue, the command will fail.

Table 65 displays the default slope policy parameters.

Table 65:  HSMDA Default Slope Policy Values   

Parameter

Default Value

queue-mbs

16,800 bytes

high-slope

start-depth

100.00

max-depth

100.00

max-prob

100.00

shutdown

no shutdown

high-slope

start-depth

90.00

max-depth

90.00

max-prob

100.00

shutdown

no shutdown

Parameters 
policy-name—
Specifies a HSMDA slope policy. Each HSMDA slope policy must be uniquely named within the system. Names of up to 32 ASCII characters are supported with the normal character restrictions. An HSMDA slope policy must be exist prior to applying the policy name to an HSMDA queue. 1024 policies are allowed per system.
create—
The create keyword is required when the create command is enabled in the environment context to create a new HSMDA scheduler policy. This keyword is not required when the protection is disabled. The keyword is ignored when the HSMDA scheduler policy already exists.

high-slope

Syntax 
high-slope
Context 
config>qos>hsmda-slope-policy
Description 

This command enables the high priority RED slope context of an HSMDA slope policy. Within the high-slope context, the high priority RED slope configuration commands defining the start of slope, end of slope and maximum probability points may be executed.

For ingress, packets classified as priority high or profile in are mapped to the high priority RED slope for queue congestion management.

At egress, packets received from ingress as in-profile are mapped to the high priority RED slope for queue congestion management. In-profile is derived at ingress either from within-CIR profiling or from explicit profile in classification.

start-depth

Syntax 
start-depth percent-of-queue-depth
no start-depth
Context 
config>qos>hsmda-slope-policy>high-slope
config>qos>hsmda-slope-policy>low-slope
Description 

This command defines the starting point for a slope relative to the maximum depth of the queue-mbs value of the HSMDA slope policy. At the point the slope starts, it rises from a discard probability of zero until it reaches the max-depth and max-prob points defining where the slope rises directly to a discard probability of 100%.

As packets arrive at the queue, a random number is generated that is ranged from 0 to 100% discard probability. The packet will be associated with either the high priority slope or the low priority slope. The current queue depth plots the position where the slope will be evaluated. If the random number is equal to or greater than the slope’s discard probability at the current depth, the packet is eligible to enter the queue. If the random number is less than the slope discard probability, the packet is discarded.

The defined percent-of-queue-depth value for the start-depth command is defined as a percentage of the queue-mbs value. The value defined for the start depth must be less than or equal to the current percentage value for max-depth. If the defined value is greater than max-depth, the start-depth command will fail with no change to the current value. If the max-depth value is less than the desired start-depth value, first change max-depth to a value equal to or greater than the desired start-depth.

The no form of the command restores the default start point percentage value for the slope. The low and high slopes have different default values. If the default value is greater than the current max-depth value, the no start-depth command will fail.

Parameters 
percent-of-queue-depth—
Specifies the start depth for the high or low slopes.

low-slope

Syntax 
low-slope
Context 
config>qos>hsmda-slope-policy
Description 

This command enables the low priority RED slope context of an HSMDA slope policy. Within the low-slope context, the low priority RED slope configuration commands defining the start of slope, end of slope and maximum probability points may be executed.

For ingress, packets classified as priority low or profile out are mapped to the low priority RED slope for queue congestion management.

At egress, packets received from ingress as out-of-profile are mapped to the low priority RED slope for queue congestion management. Out-of-profile is derived at ingress either from above-CIR profiling or from explicit profile out classification.

max-depth

Syntax 
max-depth percent-of-queue-depth
no max-depth
Context 
config>qos>hsmda-slope-policy>high-slope
config>qos>hsmda-slope-policy>low-slope
Description 

This command defines the ending queue depth point for a slope relative to the maximum depth of the queue-mbs value of the HSMDA slope policy. At the point the slope ends, it has risen from the starting queue depth value with a discard probability of zero. At max-depth, the slope will have risen to the discard probability defined by max-depth at which point the slope rises directly to a discard probability of 100%.

If the queue depth has reached the point defined by max-depth, all packets associated with the slope will be discarded.

The defined percent-of-queue-depth for max-depth is defined as a percentage of the queue-mbs value. The value defined as the maximum depth must be greater than or equal to the current percentage value for start-depth. If the defined value is less than start-depth, the max-depth command will fail with no change to the current value. If the start-depth value is greater than the desired max-depth value, first change start-depth to a value equal to or less than the desired max-depth.

The no form of the command restores the default ending point percentage value for the slope. The low and high slopes have different default values. If the default value is less than the current start-depth value, the no max-depth command will fail.

The no form of the command restores the default maximum probability percentage value for the end of the slope.

Parameters 
percent-of-queue-depth—
Specifies the max depth for the high or low slopes The percent-of-queue-depth parameter is required when executing the max-depth command. It is expressed as a percentage value with two decimal places (100th of a percent) accuracy. Specifying the fractional portion is optional.

max-prob

Syntax 
max-prob discard-probability-in-percent
no max-prob
Context 
config>qos>hsmda-slope-policy>high-slope
config>qos>hsmda-slope-policy>low-slope
Description 

This command defines the slopes maximum probability point where the slope ends and the discard probability rises directly to 100%. Together with the max-depth command, the max-prob value defines the end of the slope.

The defined percent-of-discard-probability for max-prob is defined as a percentage of a 100% discard probability. If a value of 75% is defined, near the end of the slope close to 75% of the packets will be discarded. At the end of the slope, the discard probability rises to 100% and all packets are discarded.

Parameters 
discard-probability-in-percent—
Specifies the max probability percentage for the high or low slopes. The percent-of-discard-probability parameter is required when executing the max-prob command. It is expressed as a percentage value with two decimal places (100th of a percent) accuracy. Specifying the fractional portion is optional.

HSMDA WRR QoS Policy Commands

hsmda-wrr-policy

Syntax 
hsmda-wrr-policy policy-name [create]
no hsmda-wrr-policy policy-name
Context 
config>qos
Description 

This command creates an HSMDA weighed-round-robin (WRR) scheduling loop policy. The policy may be assigned to an egress HSMDA queue.

The no form of the command removes the specified HSMDA WRR policy from the configuration. If the HSMDA WRR policy is currently associated with an HSMDA queue, the command will fail.

Parameters 
policy-name—
Specifies a HSMDA WRR policy. Each HSMDA WRR policy must be uniquely named within the system. Names of up to 32 ASCII characters are supported with the normal character restrictions. An HSMDA WRR policy must be exist prior to applying the policy name to an HSMDA queue. Up to 32 WRR policies are supported on the system.
create—
The create keyword is required when the create command is enabled in the environment context to create a new HSMDA WRR policy. This keyword is not required when the protection is disabled. The keyword is ignored when the HSMDA WRR policy already exists.

include-queues

Syntax 
include-queues {1-2 | 1-3}
no include-queues
Context 
config>qos>hsmda-wrr-policy
Description 

This command includes either the first two (1 and 2) queues or the first three (1, 2, and 3) queues into the HSMDA WRR scheduling loop policy. This command defines how many queues are members of the scheduling loop.

The no form of the command removes an explicit queues from the HSMDA WRR policy.

Parameters 
1-2—
Includes the first two (1-2) queues into the HSMDA WRR policy.
1-3—
Includes the first three (1-3) queues into the HSMDA WRR policy.

schedule-using-class

Syntax 
scheduling-using-class {1 | 2 | 3}
no scheduling-using-class
Context 
config>qos>hsmda-wrr-policy
config>qos>hsmda-wrr-policy
Description 

This command specifies the scheduling class for the HSMDA WRR scheduling loop policy. This command specifies which scheduling class the scheduling loop will participate with on the system.

The no form of the command removes an explicit scheduling class value from the HSMDA WRR policy.

Parameters 
1—
Specifies scheduling class 1 for the HSMDA WRR policy.
2—
Specifies scheduling class 2 for the HSMDA WRR policy.
3—
Specifies scheduling class 3 for the HSMDA WRR policy.

class-agg-weight

Syntax 
class-agg-weight {1 | 2 | 4 | 8}
no class-agg-weight
Context 
config>qos>hsmda-wrr-policy
config>qos>hsmda-wrr-policy
Description 

This command specifies the aggregate weight within the scheduling class for the HSMDA WRR scheduling loop policy.

The no form of the command removes an explicit aggregate weight value from the HSMDA WRR policy.

Parameters 
1—
Specifies the aggregate weight as 1 for the HSMDA WRR policy.
2—
Specifies the aggregate weight as 2 for the HSMDA WRR policy.
4—
Specifies the aggregate weight as 4 for the HSMDA WRR policy.
8—
Specifies the aggregate weight as 8 for the HSMDA WRR policy.

Show QoS HSMDA Commands

hsmda-pool-policy

Syntax 
hsmda-pool-policy [hsmda-pool-policy-name] [associations] [detail]
Context 
show>qos
Description 

This command displays HSMDA pool policy information.

Parameters 
hsmda-pool-policy-name—
Displays information about the specified HSMDA pool policy up to 32 characters in length.
associations—
Displays entities associated with the specified HSMDA pool policy.
detail—
Displays detailed information.
Output 

Sample Output
*A:ALA-48>show>qos# hsmda-pool-policy
===============================================================================
Qos HSMDA Pool Policy
===============================================================================
Policy Name Description
-------------------------------------------------------------------------------
default Default hsmda Pool policy.
===============================================================================
*A:ALA-48>show>qos#
*A:Dut-A# show qos hsmda-pool-policy ingPoolPol detail
=============================================================================
Qos HSMDA Pool Policy
=============================================================================
Policy Name : ingPoolPol
=============================================================================
Description : (Not Specified)
Sys. Reserve : 10.00
===========================================================
Class Tier
===========================================================
Class Pool Root Parent Alloc. Percent
-----------------------------------------------------------
1 1 100.00
2 2 100.00
3 3 100.00
4 4 100.00
5 5 100.00
6 6 100.00
7 7 100.00
8 8 100.00
===========================================================
===========================================================
Root Tier
===========================================================
Root Pool Root Weight
-----------------------------------------------------------
1 100
2 100
3 100
4 100
5 100
6 100
7 100
8 100
===========================================================
-----------------------------------------------------------------------------
Associations
-----------------------------------------------------------------------------
- MDA Ingress: 4/1
=============================================================================
*A:Dut-A#
*A:Dut-A# show qos hsmda-pool-policy ingPoolPol association
=============================================================================
Qos HSMDA Pool Policy
=============================================================================
Policy Name : ingPoolPol
=============================================================================
Description : (Not Specified)
-----------------------------------------------------------------------------
Associations
-----------------------------------------------------------------------------
- MDA Ingress: 4/1
=============================================================================
*A:Dut-A#

hsmda-pools

Syntax 
hsmda-pools mda mda-id {ingress | egress} [detail]
Context 
show>qos
Description 

This command displays HSMDA pool information.

Parameters 
detail—
Displays detailed information.
mda mda-id
Displays HSMDA pool information associated with the specified XMA or MDA.
Values—
slot/mda
ingress—
Displays HSMDA ingress pool information associated with the specified XMA or MDA.
egress—
Displays HSMDA egress pool information associated with the specified XMA or MDA.
Output 

Sample Output
*A:Dut-A# show qos hsmda-pools ingress mda 4/1
===============================================================================
Root Pools
===============================================================================
Pool ID Size Remaining
-------------------------------------------------------------------------------
1 117891 117889
2 117891 117891
3 117891 117885
4 117891 117891
5 117891 117891
6 117891 117891
7 117891 117891
8 117891 117891
===============================================================================
Class Pools
===============================================================================
Pool ID Size Remaining
-------------------------------------------------------------------------------
1 117891 117891
2 117891 117891
3 117891 117891
4 117891 117891
5 117891 117891
6 117891 117891
7 117891 117890
8 117891 117891
===============================================================================
Port Class Pools
===============================================================================
Port ID Class ID Size Remaining
-------------------------------------------------------------------------------
1 1 117891 117884
1 2 117891 117891
1 3 117891 117891
1 4 117891 117891
1 5 117891 117891
1 6 117891 117891
1 7 117891 117891
1 8 117891 117889
===============================================================================
*A:Dut-A#
*A:Dut-A# show qos hsmda-pools egress mda 4/1
===============================================================================
Root Pools
===============================================================================
Pool ID Size Remaining
-------------------------------------------------------------------------------
1 117891 117891
2 117891 117891
3 117891 117891
4 117891 117891
5 117891 117891
6 117891 117891
7 117891 117891
8 117891 117891
===============================================================================
Class Pools
===============================================================================
Pool ID Size Remaining
-------------------------------------------------------------------------------
1 117891 117891
2 117891 117884
3 117891 117891
4 117891 117884
5 117891 117891
6 117891 117891
7 117891 117891
8 117891 117891
===============================================================================
Port Class Pools
===============================================================================
Port ID Class ID Size Remaining
-------------------------------------------------------------------------------
1 1 117891 117891
1 2 117891 117891
1 3 117891 117886
1 4 117891 117891
1 5 117891 117891
1 6 117891 117891
1 7 117891 117891
1 8 117891 117891
===============================================================================
*A:Dut-A#
*A:Dut-A# show qos hsmda-pools ingress mda 4/1 detail
Buffer Pools HSMDA 4/1
Port Allocation Factors
Port 1 Act-BW: 10 Gbps Modifier: 100 Actual Factor: 10000
Root Pools Percentage of Total: 89.99 Actual Total Size 943128
Pool 1 Allocation Percentage: 12.50 Size: 117891 Remaining: 117891
Class-pool 1 Percentage of Root: 100.00 Size: 117891 Remaining: 117891
Port-class-pool 1 Factor-Size: 117891 Remaining: 117891
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
Pool 2 Allocation Percentage: 12.50 Size: 117891 Remaining: 117884
Class-pool 2 Percentage of Root: 100.00 Size: 117891 Remaining: 117891
Port-class-pool 1 Factor-Size: 117891 Remaining: 117891
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
Pool 3 Allocation Percentage: 12.50 Size: 117891 Remaining: 117891
Class-pool 3 Percentage of Root: 100.00 Size: 117891 Remaining: 117891
Port-class-pool 1 Factor-Size: 117891 Remaining: 117891
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
Pool 4 Allocation Percentage: 12.50 Size: 117891 Remaining: 117891
Class-pool 4 Percentage of Root: 100.00 Size: 117891 Remaining: 117891
Port-class-pool 1 Factor-Size: 117891 Remaining: 117891
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
Pool 5 Allocation Percentage: 12.50 Size: 117891 Remaining: 117891
Class-pool 5 Percentage of Root: 100.00 Size: 117891 Remaining: 117891
Port-class-pool 1 Factor-Size: 117891 Remaining: 117891
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
Pool 6 Allocation Percentage: 12.50 Size: 117891 Remaining: 117891
Class-pool 6 Percentage of Root: 100.00 Size: 117891 Remaining: 117889
Port-class-pool 1 Factor-Size: 117891 Remaining: 117891
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
Pool 7 Allocation Percentage: 12.50 Size: 117891 Remaining: 117891
Class-pool 7 Percentage of Root: 100.00 Size: 117891 Remaining: 117891
Port-class-pool 1 Factor-Size: 117891 Remaining: 117889
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
Pool 8 Allocation Percentage: 12.50 Size: 117891 Remaining: 117891
Class-pool 8 Percentage of Root: 100.00 Size: 117891 Remaining: 117884
Port-class-pool 1 Factor-Size: 117891 Remaining: 117891
Port-class-pool 2 Factor-Size: 0 Remaining: 0
Port-class-pool 3 Factor-Size: 0 Remaining: 0
Port-class-pool 4 Factor-Size: 0 Remaining: 0
Port-class-pool 5 Factor-Size: 0 Remaining: 0
Port-class-pool 6 Factor-Size: 0 Remaining: 0
Port-class-pool 7 Factor-Size: 0 Remaining: 0
Port-class-pool 8 Factor-Size: 0 Remaining: 0
Port-class-pool 9 Factor-Size: 0 Remaining: 0
Port-class-pool 10 Factor-Size: 0 Remaining: 0
*A:Dut-A#

hsmda-scheduler-hierarchy

Syntax 
hsmda-scheduler-hierarchy port port-id [{shapers | shaper shaper-name}]
hsmda-scheduler-hierarchy mda mda-id
hsmda-scheduler-hierarchy sap sap-id [ingress | egress]
hsmda-scheduler-hierarchy subscriber sub-id [ingress | egress]
Context 
show>qos
Description 

This command displays HSMDA scheduler hierarchy information.

Parameters 
port port-id
Displays HSMDA scheduler hierarchy information about the specified port.
Values—

port-id

slot/mda/port [.channel]

slot[/mda[/port]]

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

aps-id

aps-group-id[.channel]

aps

keyword

group-id

1 — 64

ccag-id

slot/mda/path-id[cc-type]

path-id

a, b

cc-type

.sap-net, .net-sap

shapers—
Displays all shaper information.
shaper shape-name
Displays information about the specified shaper.
sap sap-id
Displays information about the specified SAP ID.
Values—

sap-id

null

port-id | lag-id

dot1q

port-id | lag-id:qtag1

qinq

port-id | lag-id:qtag1.qtag2

port-id

slot/mda/port[.channel]

esat-id/slot/port

esat

keyword

id

1 to 20

pxc-id.sub-port

pxc

keyword

id

1 to 64

sub-port

a, b

lag-id

lag-id

lag

keyword

id

1 — 800

qtag1

*, 0 — 4094

qtag2

*, 0 — 4094

ingress—
Displays ingress information about the SAP or subscriber.
egress—
Displays egress information about the SAP or subscriber.
subscriber sub-id
Displays information about the specified subscriber.
Output 

Sample Output
*A:Dut-A# show qos hsmda-scheduler-hierarchy port 4/1/1 shapers
HSMDA Scheduler Policy egrSchedPol
Port Bandwidth: 10 Gbps
Max Rate : 5000457120
Scheduler Priority 8 Rate: 1221455600
Scheduler Class 8 Rate: 1221455600
Scheduler Priority 7 Rate: 1221539520
Scheduler Class 7 Rate: 1221539520
Scheduler Priority 6 Rate: 1221623440
Scheduler Class 6 Rate: 1221623440
Scheduler Priority 5 Rate: 1221539520
Scheduler Class 5 Rate: 1221539520
Scheduler Priority 4 Rate: 113963360
Scheduler Class 4 Rate: 113963360
Scheduler Priority 3 Rate: 0
Scheduler Class 3 Rate: 0
Scheduler Priority 2 Rate: 0
Scheduler Class 2 Rate: 0
Scheduler Priority 1 Rate: 0
Scheduler Class 1 Rate: 0
Secondary Shaper secShaper Rate 4999785760
*A:Dut-A#
*A:Dut-A# show qos hsmda-scheduler-hierarchy port 4/1/1 shaper secShaper
HSMDA Scheduler Policy egrSchedPol
Port Bandwidth: 10 Gbps
Max Rate : 4999785760
Scheduler Priority 8 Rate: 1221539520
Scheduler Class 8 Rate: 1221539520
Scheduler Priority 7 Rate: 1221623440
Scheduler Class 7 Rate: 1221623440
Scheduler Priority 6 Rate: 1221455600
Scheduler Class 6 Rate: 1221455600
Scheduler Priority 5 Rate: 1221455600
Scheduler Class 5 Rate: 1221455600
Scheduler Priority 4 Rate: 113963360
Scheduler Class 4 Rate: 113963360
Scheduler Priority 3 Rate: 0
Scheduler Class 3 Rate: 0
Scheduler Priority 2 Rate: 0
Scheduler Class 2 Rate: 0
Scheduler Priority 1 Rate: 0
Scheduler Class 1 Rate: 0
Secondary Shaper secShaper Rate 4999869680
*A:Dut-A#
*A:Dut-A# show qos hsmda-scheduler-hierarchy mda 4/1
HSMDA Scheduler Policy ingSchedPol
Max Rate : 9772064400
Scheduler Priority 8 Rate: 1221455600
Scheduler Class 8 Rate: 1221455600
Scheduler Priority 7 Rate: 1221455600
Scheduler Class 7 Rate: 1221455600
Scheduler Priority 6 Rate: 1221455600
Scheduler Class 6 Rate: 1221455600
Scheduler Priority 5 Rate: 1221539520
Scheduler Class 5 Rate: 1221539520
Scheduler Priority 4 Rate: 1221539520
Scheduler Class 4 Rate: 1221539520
Scheduler Priority 3 Rate: 1221539520
Scheduler Class 3 Rate: 1221539520
Scheduler Priority 2 Rate: 1221455600
Scheduler Class 2 Rate: 1221455600
Scheduler Priority 1 Rate: 1221539520
Scheduler Class 1 Rate: 1221539520
*A:Dut-A#
*A:Dut-A#
*A:Dut-A# show qos hsmda-scheduler-hierarchy sap 4/1/1:1 ingress
HSMDA Scheduler Policy ingSchedPol
Port Bandwidth: 10 Gbps
Max Rate : 9772094400
Scheduler Priority 8 Rate: 1221539520
Scheduler Class 8 Rate: 1221539520
[4/1/1:1] Queue 8 Rate 14982240
Scheduler Priority 7 Rate: 1221539520
Scheduler Class 7 Rate: 1221539520
[4/1/1:1] Queue 7 Rate 14982240
Scheduler Priority 6 Rate: 1221455600
Scheduler Class 6 Rate: 1221455600
[4/1/1:1] Queue 6 Rate 14982240
Scheduler Priority 5 Rate: 1221539520
Scheduler Class 5 Rate: 1221539520
[4/1/1:1] Queue 5 Rate 14899920
Scheduler Priority 4 Rate: 1221455600
Scheduler Class 4 Rate: 1221455600
[4/1/1:1] Queue 4 Rate 14982240
Scheduler Priority 3 Rate: 1221455600
Scheduler Class 3 Rate: 1221455600
[4/1/1:1] Queue 3 Rate 14982240
Scheduler Priority 2 Rate: 1221539520
Scheduler Class 2 Rate: 1221539520
[4/1/1:1] Queue 2 Rate 14982240
Scheduler Priority 1 Rate: 1221539520
Scheduler Class 1 Rate: 1221539520
[4/1/1:1] Queue 1 Rate 14982240
*A:Dut-A#
*A:Dut-A# show qos hsmda-scheduler-hierarchy sap 4/1/1:1 egress
HSMDA Scheduler Policy egrSchedPol
Port Bandwidth: 10 Gbps
Max Rate : 5000373200
Scheduler Priority 8 Rate: 1221623440
Scheduler Class 8 Rate: 1221623440
[4/1/1:1] Queue 8 Rate 14982240
Scheduler Priority 7 Rate: 1221455600
Scheduler Class 7 Rate: 1221455600
[4/1/1:1] Queue 7 Rate 14982240
Scheduler Priority 6 Rate: 1221539520
Scheduler Class 6 Rate: 1221539520
[4/1/1:1] Queue 6 Rate 14982240
Scheduler Priority 5 Rate: 1221455600
Scheduler Class 5 Rate: 1221455600
[4/1/1:1] Queue 5 Rate 14982240
Scheduler Priority 4 Rate: 113963360
Scheduler Class 4 Rate: 113963360
[4/1/1:1] Queue 4 Rate 1399440
Scheduler Priority 3 Rate: 0
Scheduler Class 3 Rate: 0
[4/1/1:1] Queue 3 Rate 0
Scheduler Priority 2 Rate: 0
Scheduler Class 2 Rate: 0
[4/1/1:1] Queue 2 Rate 0
Scheduler Priority 1 Rate: 0
Scheduler Class 1 Rate: 0
[4/1/1:1] Queue 1 Rate 0
*A:Dut-A#
*A:Dut-A# show qos hsmda-scheduler-hierarchy subscriber s1.1.1 egress
HSMDA Scheduler Policy egrSchedPol
Port Bandwidth: 10 Gbps
Max Rate : 7972904400
Scheduler Priority 8 Rate: 1084307200
Scheduler Class 8 Rate: 1084307200
[4/2/1:41] Queue 8 Rate 0
Scheduler Priority 7 Rate: 1085220800
Scheduler Class 7 Rate: 1085220800
[4/2/1:41] Queue 7 Rate 112000
Scheduler Priority 6 Rate: 1018748800
Scheduler Class 6 Rate: 1018748800
[4/2/1:41] Queue 6 Rate 0
Scheduler Priority 5 Rate: 1006536000
Scheduler Class 5 Rate: 1006536000
[4/2/1:41] Queue 5 Rate 0
Scheduler Priority 4 Rate: 1002505600
Scheduler Class 4 Rate: 1002505600
[4/2/1:41] Queue 4 Rate 0
Scheduler Priority 3 Rate: 951526400
Scheduler Class 3 Rate: 951526400
[4/2/1:41] Queue 3 Rate 0
Scheduler Priority 2 Rate: 938782400
Scheduler Class 2 Rate: 938782400
[4/2/1:41] Queue 2 Rate 57600
Scheduler Priority 1 Rate: 916656400
Scheduler Class 1 Rate: 916656400
[4/2/1:41] Queue 1 Rate 51520
*A:Dut-A#

hsmda-scheduler-policy

Syntax 
hsmda-scheduler-policy [hsmda-scheduler-policy-name] [associations] [detail]
Context 
show>qos
Description 

This command displays HSMDA scheduler policy information.

Parameters 
hsmda-scheduler-policy-name—
Displays information about the specified HSMDA scheduler policy.
associations—
Displays entities associated with the specified HSMDA scheduler policy.
detail—
Displays detailed information.
Output 

Sample Output
*A:Dut-A# show qos hsmda-scheduler-policy ingSchedPol detail
===============================================================================
QoS HSMDA Scheduler Policy
===============================================================================
Policy Name : ingSchedPol
===============================================================================
Description : Scheduler Policy Id ingSchedPol
Max Rate: max
Group 1 Rate: max
No classes assigned to group
Group 2 Rate: max
No classes assigned to group
No Group
Class 1 - Rate: max
Class 2 - Rate: max
Class 3 - Rate: max
Class 4 - Rate: max
Class 5 - Rate: max
Class 6 - Rate: max
Class 7 - Rate: max
Class 8 - Rate: max
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
- MDA Ingress : 4/1 override
===============================================================================
*A:Dut-A#
*A:Dut-A# show qos hsmda-scheduler-policy ingSchedPol association
===============================================================================
QoS HSMDA Scheduler Policy
===============================================================================
Policy Name : ingSchedPol
===============================================================================
Description : Scheduler Policy Id ingSchedPol
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
- MDA Ingress : 4/1 override
===============================================================================
*A:Dut-A#

hsmda-slope-policy

Syntax 
hsmda-slope-policy [hsmda-slope-policy-name] [associations] [detail]
Context 
clear>qos
Description 

This command displays HSMDA slope policy information.

Parameters 
hsmda-slope-policy-name—
Displays information about the specified HSMDA slope policy.
associations—
Displays entities associated with the specified HSMDA slope policy.
detail—
Displays detailed information.
Output 

Sample Output
*A:Dut-A# show qos hsmda-slope-policy slopePol detail
===============================================================================
Qos HSMDA Slope Policy
===============================================================================
Policy Name : slopePol
===============================================================================
Description : (Not Specified)
Provisioned Queue MBS : 168000
-------------------------------------------------------------------------------
High Slope Parameters
-------------------------------------------------------------------------------
Start Depth : 100.00 Admin State : Enabled
Max Depth : 100.00 Max Prob. : 100.00
-------------------------------------------------------------------------------
Low Slope Parameters
-------------------------------------------------------------------------------
Start Depth : 90.00 Admin State : Enabled
Max Depth : 90.00 Max Prob. : 100.00
-------------------------------------------------------------------------------
SAP-Ingress Associations
-------------------------------------------------------------------------------
Policy ID Queues
-------------------------------------------------------------------------------
1000 1 2 3 4 5 6 7 8
-------------------------------------------------------------------------------
SAP-Egress Associations
-------------------------------------------------------------------------------
Policy ID Queues
-------------------------------------------------------------------------------
No Association Found.
-------------------------------------------------------------------------------
SAP Override Associations
-------------------------------------------------------------------------------
SAP ID Direction Queues
-------------------------------------------------------------------------------
No Association Found.
-------------------------------------------------------------------------------
Sub-Profile Override Associations
-------------------------------------------------------------------------------
Sub-Profile Direction Queues
-------------------------------------------------------------------------------
No Association Found.
===============================================================================
*A:Dut-A#
*A:Dut-A# show qos hsmda-slope-policy slopePol association
===============================================================================
Qos HSMDA Slope Policy
===============================================================================
Policy Name : slopePol
===============================================================================
Description : (Not Specified)
-------------------------------------------------------------------------------
SAP-Ingress Associations
-------------------------------------------------------------------------------
Policy ID Queues
-------------------------------------------------------------------------------
1000 1 2 3 4 5 6 7 8
-------------------------------------------------------------------------------
SAP-Egress Associations
-------------------------------------------------------------------------------
Policy ID Queues
-------------------------------------------------------------------------------
No Association Found.
-------------------------------------------------------------------------------
SAP Override Associations
-------------------------------------------------------------------------------
SAP ID Direction Queues
-------------------------------------------------------------------------------
No Association Found.
-------------------------------------------------------------------------------
Sub-Profile Override Associations
-------------------------------------------------------------------------------
Sub-Profile Direction Queues
-------------------------------------------------------------------------------
No Association Found.
===============================================================================
*A:Dut-A#