config>qos>scheduler-policy
The description command associates a text string with a configuration context to help identify the context in the configuration file.
The no form of this command removes any description string from the context.
The copy command is a configuration level maintenance tool used to create new policies using existing policies. It also allows bulk modifications to an existing policy with the use of the
overwrite keyword.
If overwrite is not specified, an error will occur if the destination policy exists.
The scheduler-policy command creates a scheduler policy or allows you to edit an existing policy.The policy defines the hierarchy and operating parameters for virtual schedulers. Merely creating a policy does not create the schedulers; it only provides a template for the schedulers to be created when the policy is associated with a SAP or multi-service site.
If a scheduler-policy-name does not exist, it is assumed that an attempt is being made to create a new policy. The success of the command execution is dependent on the following:
3.
|
The create keyword is entered with the command if the system is configured to require it (enabled in the environment create command).
|
none — Each scheduler policy must be explicitly created.
The configuration of parent-location and
frame-based-accounting in a scheduler policy is mutually exclusive to ensure consistency between the different scheduling levels.
The no frame-based-accounting command is used to return all schedulers within the policy and queues associated with the policy to the default packet based accounting mode. If frame based accounting is not currently enabled for the scheduling policy, the no frame-based-accounting command has no effect.
The no form of the command reverts to the default.
The save config and
show config commands only display information on scheduler tiers that contain defined schedulers. When all schedulers have been removed from a level, that level ceases to be included in output from these commands.
Each scheduler must have a unique name within the context of the scheduler policy; however the same name can be reused in multiple scheduler policies. If scheduler-name already exists within the policy tier level (regardless of the inclusion of the keyword create), the context changes to that scheduler name for the purpose of editing the scheduler parameters. Modifications made to an existing scheduler are executed on all instantiated schedulers created through association with the policy of the edited scheduler. This can cause queues or schedulers to become orphaned (invalid parent association) and adversely affect the ability of the system to enforce service level agreements (SLAs).
If the scheduler-name exists within the policy on a different tier (regardless of the inclusion of the keyword create), an error occurs and the current CLI context will not change.
If the scheduler-name does not exist in this or another tier within the scheduler policy, it is assumed that an attempt is being made to create a scheduler of that name. The success of the command execution is dependent on the following:
3.
|
The create keyword is entered with the command if the system is configured to require it (enabled in the environment create command).
|
parent scheduler-name [weight
weight] [level
level] [cir-weight
cir-weight] [cir-level
cir-level]
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 scheduler attempts to operate based on its configured rate parameter. Removing the parent association on the scheduler within the policy will take effect immediately on all schedulers with
scheduler-name that have been created using the
scheduler-policy-name.
The scheduler-name must already exist within the context of the scheduler policy in a tier that is higher (numerically lower).
Values
|
Any valid scheduler-name existing on a higher tier within the scheduler policy.
|
Weight defines the relative weight of this scheduler in comparison to other child schedulers and queues at the same strict level defined by the
level parameter. Within the level, all weight values from active children at that level are summed and the ratio of each active child’s weight to the total is used to distribute the available bandwidth at that level. A weight is considered to be active when the queue or scheduler the weight pertains to has not reached its maximum rate and still has packets to transmit.
The level keyword defines the strict priority level of this scheduler in comparison to other child schedulers and queues vying for bandwidth on the parent scheduler-name during the ‘above CIR’ distribution phase of bandwidth allocation. During the above CIR distribution phase, any queues or schedulers defined at a lower strict level receive no parental bandwidth until all queues and schedulers defined with a higher (numerically larger) strict level on the parent have reached their maximum bandwidth or have satisfied their offered load requirements.
When the similar cir-level parameter default (undefined) are retained for the child scheduler, bandwidth is only allocated to the scheduler during the above CIR distribution phase.
The cir-weight keyword defines the relative weight of this scheduler in comparison to other child schedulers and queues at the same
cir-level defined by the
cir-level parameter. Within the strict
cir-level, all
cir-weight values from active children at that level are summed and the ratio of each active child’s
cir-weight to the total is used to distribute the available bandwidth at that level. A
cir-weight is considered to be active when the queue or scheduler that the
cir-weight pertains to has not reached the CIR and still has packets to transmit.
A 0 (zero) cir-weight value signifies that the child scheduler will receive bandwidth only after bandwidth is distributed to all other non-zero weighted children in the strict cir-level.
The cir-level keyword defines the strict priority CIR level of this scheduler in comparison to other child schedulers and queues vying for bandwidth on the parent
scheduler-name during the ‘within CIR’ distribution phase of bandwidth allocation. During the ‘within CIR’ distribution phase, any queues or schedulers defined at a lower strict CIR level receive no parental bandwidth until all queues and schedulers defined with a higher (numerically larger) strict CIR level on the parent have reached their CIR bandwidth or have satisfied their offered load requirements.
If the scheduler’s cir-level parameter retains the default (undefined) state, bandwidth is only allocated to the scheduler during the above CIR distribution phase.
port-parent [weight
weight] [level
level] [cir-weight
cir-weight] [cir-level
cir-level]
The port-parent command defines a child/parent association between an egress queue and a port based scheduler or between an intermediate service scheduler and a port based scheduler. The command may be issued in three distinct contexts;
sap-egress queue queue-id,
network-queue queue queue-id and
scheduler-policy scheduler scheduler-name. The
port-parent command allows for a set of within-CIR and above-CIR parameters that define the port priority levels and weights for the queue or scheduler. If the
port-parent command is executed without any parameters, the default parameters are assumed.
In this context, the port-parent command is mutually exclusive to the
parent command (used to create a parent/child association between a queue and an intermediate scheduler). Executing a
port-parent command when a parent definition is in place causes the current intermediate scheduler association to be removed and replaced by the defined port-parent association. Executing a
parent command when a port-parent definition exists causes the port scheduler association to be removed and replaced by the defined intermediate scheduler name.
The no form of this command removes a port scheduler parent association for the queue or scheduler. If a port scheduler is defined on the port which the queue or scheduler instance exists, the queue or scheduler will become orphaned if an port scheduler is configured on the egress port of the queue or scheduler.
rate [pir-rate] [cir
cir-rate]
The rate command defines the maximum bandwidth that the scheduler can offer its child queues or schedulers. The maximum rate is limited to the amount of bandwidth the scheduler can receive from its parent scheduler. If the scheduler has no parent, the maximum rate is assumed to be the amount available to the scheduler. When a parent is associated with the scheduler, the CIR parameter provides the amount of bandwidth to be considered during the parent scheduler’s ‘within CIR’ distribution phase.
When a scheduler is defined without specifying a rate, the default rate is max. If the scheduler is a root scheduler (no parent defined), the default maximum rate must be changed to an explicit value. Without this explicit value, the scheduler will assume that an infinite amount of bandwidth is available and allow all child queues and schedulers to operate at their maximum rates.
The no form of this command returns all queues created with this
queue-id by association with the QoS policy to the default PIR and CIR parameters.
[no
] port-scheduler-policy
port-scheduler-name
The no form of the command removes a port scheduler policy from the system. If the port scheduler policy is associated with an egress port or channel, the command will fail.
[no] dist-lag-rate-shared
This command does not have any affect when the port on which this port-scheduler-policy is configured is part of a LAG in
link mode. Similarly when rates are configured as percent-active rates, the value of this object is irrelevant.
The no form of the command removes the group from the port scheduler policy.
The rate and
percent-rate commands override one another. If the current rate for a policer is defined using the percent-rate command and the rate command is executed, the percent-rate values are deleted. In a similar fashion, the percent-rate command causes any rate command values to be deleted. A policer’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.
The cir keyword is optional and when defined the required cir-percent CIR parameter expresses the policer’s CIR as a percentage of the immediate parent root policer/arbiter rate or the FP capacity.
rate pir-rate [cir
cir-rate]
level priority-level pir
pir-rate [cir
cir-rate] group
name [weight
weight] [monitor-threshold
percent]
level priority-level percent-rate
pir-percent [percent-cir
cir-percent] group
name [weight
weight] [monitor-threshold
percent]
level priority-level pri
pir-rate [cir
cir-rate] [monitor-threshold
percent]
level priority-level percent-rate
pir-percent [percent-cir
cir-percent] [monitor-threshold
percent]
When executing the level command, at least one of the optional keywords, rate or
cir, must be specified. If neither keyword is included, the command will fail.
This command defines an explicit maximum frame based bandwidth limit for the port scheduler policies scheduler context. By default, once a scheduler policy is associated with a port or channel, the instance of the scheduler on the port automatically limit the bandwidth to the lesser of port or channel line rate and a possible egress-rate value (for Ethernet ports). If a max-rate is defined that is smaller than the port or channel rate, the expressed kilobits-per-second value is used instead. The max-rate command is another way to sub-rate the port or channel.
The no form of this command removes an explicit rate value from the port scheduler policy. Once removed, all instances of the scheduler policy on egress ports or channel are allowed to run at the available line rate unless the instance has a max-rate override in place.
The no form of this command removes the congestion monitoring threshold.
orphan-override [level
priority-level] [weight
percent] [cir-level
priority-level] [cir-weight
cir-weight]
The no form of the command removes the orphan override port parent association for the orphan queues and schedulers on port schedulers created with the port scheduler policy. Any orphan queues and schedulers on a port associated with the port scheduler policy will revert to default orphan behavior.
scheduler-policy scheduler-name [association | sap-ingress
policy-id | sap-egress
policy-id]
A:ALA-12# show qos scheduler-policy SLA1
==============================================================================
QoS Scheduler Policy
==============================================================================
Policy-Name : SLA1
Description : NetworkControl(3), Voice(2) and NonVoice(1) have strict priorities
-----------------------------------------------------------------------------
Tier/Scheduler Lvl/Wt PIR Parent
CIR Lvl/Wt CIR
------------------------------------------------------------------------------
1 All_traffic 1/1 11000 None
-/- max
2 NetworkControl 3/1 100 All_traffic
3/- max
2 NonVoice 1/1 11000 All_traffic
1/- max
2 Voice 2/1 5500 All_traffic
2/- max
3 Internet_be 1/1 max NonVoice
1/- max
3 Internet_priority 2/1 max NonVoice
2/- max
3 Internet_voice 1/1 max Voice
-/- max
3 VPN_be 1/1 max NonVoice
1/- max
3 VPN_nc 1/1 100 NetworkControl
-/- 36
3 VPN_priority 2/1 max NonVoice
2/- max
3 VPN_reserved 3/1 max NonVoice
3/- max
3 VPN_video 5/1 1500 NonVoice
5/- 1500
3 VPN_voice 1/1 2500 Voice
-/- 2500
==============================================================================
A:ALA-12#
A:ALA-12# show qos scheduler-policy SLA1 association
=============================================================================
QoS Scheduler Policy
=============================================================================
Policy-Name : SLA1
Description : NetworkControl(3), Voice(2) and NonVoice(1) have strict priorities
------------------------------------------------------------------------------
Associations
------------------------------------------------------------------------------
Service-Id : 6000 (Epipe) Customer-Id : 274
- SAP : 1/1/3.1:0 (Egress)
Service-Id : 7000 (VPLS) Customer-Id : 7
- SAP : 1/1/5:0 (Egress)
- Multi Service Site : west (Ingress)
==============================================================================
A:ALA-12#
A:ALA-12# show qos scheduler-policy SLA1 sap-ingress 100
=============================================================================
Compatibility : Scheduler Policy SLA1 & Sap Ingress 100
=============================================================================
Orphan Queues :
None Found
Hierarchy :
Root
|
|---(S) : All_traffic
| |
| |---(S) : NetworkControl
| | |
| | |---(S) : VPN_nc
| | | |
| | | |---(Q) : 17
| | | |
| | | |---(Q) : 27
| |
| |---(S) : NonVoice
| | |
| | |---(S) : Internet_be
| | |
| | |---(S) : Internet_priority
| | |
| | |---(S) : VPN_be
| | | |
| | | |---(Q) : 10
| | | |
| | | |---(Q) : 20
| | |
| | |---(S) : VPN_priority
| | | |
| | | |---(Q) : 12
| | | |
| | | |---(Q) : 22
| | |
| | |---(S) : VPN_reserved
| | | |
| | | |---(Q) : 13
| | | |
| | | |---(Q) : 23
| | |
| | |---(S) : VPN_video
| | | |
| | | |---(Q) : 15
| | | |
| | | |---(Q) : 25
| |
| |---(S) : Voice
| | |
| | |---(S) : Internet_voice
| | |
| | |---(S) : VPN_voice
| | | |
| | | |---(Q) : 16
| | | |
| | | |---(Q) : 26
|
|---(Q) : 1
|
|---(Q) : 2
=============================================================================
A:ALA-12#
A:ALA-12# show qos scheduler-policy SLA1 sap-egress 101
==============================================================================
Compatibility : Scheduler Policy SLA1 & Sap Egress 101
==============================================================================
Orphan Queues :
None Found
Hierarchy :
Root
|
|---(S) : All_traffic
| |
| |---(S) : NetworkControl
| | |
| | |---(S) : VPN_nc
| |
| |---(S) : NonVoice
| | |
| | |---(S) : Internet_be
| | |
| | |---(S) : Internet_priority
| | |
| | |---(S) : VPN_be
| | |
| | |---(S) : VPN_priority
| | |
| | |---(S) : VPN_reserved
| | |
| | |---(S) : VPN_video
| |
| |---(S) : Voice
| | |
| | |---(S) : Internet_voice
| | |
| | |---(S) : VPN_voice
==============================================================================
A:ALA-12#
A:D# show qos scheduler-hierarchy customer 1 site bc
===============================================================================
Scheduler Hierarchy - Customer 1 MSS bc
===============================================================================
Root (Ing)
| slot(1)
|--(S) : gp
Root (Egr)
| slot(1)
|--(S) : gp
| |
| |--(S) : pb
| | |
| | |--(S) : pbs
| |
| |--(S) : mb
| | |
| | |--(S) : mbs
|
|--(S) : rb
| |
| |--(S) : rbs
===============================================================================
A:D#
scheduler-hierarchy port
port-id [detail
] queue-group
queue-group-name [scheduler
scheduler-name] [ingress
| egress
]
*A:Dut-R# show qos scheduler-hierarchy port 1/2/1 detail
===============================================================================
Scheduler Hierarchy - Port 1/2/1
===============================================================================
Port-scheduler-policy p1
Port Bandwidth : 10000000 Max Rate : max
Consumed : 0 Offered : 0
[Within CIR Level 8]
Rate : max
Consumed : 0 Offered : 0
[Within CIR Level 7]
Rate : max
Consumed : 0 Offered : 0
[Within CIR Level 6]
Rate : max
Consumed : 0 Offered : 0
(Q) : 2->1/2/1:1->3
Assigned : 768 Offered : 0
Consumed : 0
Weight : 0
[Within CIR Level 5]
Rate : max
Consumed : 0 Offered : 0
[Within CIR Level 4]
Rate : max
Consumed : 0 Offered : 0
[Within CIR Level 3]
Rate : max
Consumed : 0 Offered : 0
[Within CIR Level 2]
Rate : max
Consumed : 0 Offered : 0
(S) voip(SAP 1/2/1:1)
Assigned : 0 Offered : 0
Consumed : 0
Weight : 40
(S) all(SAP 1/2/1:1)
Assigned : 19000 Offered : 0
Consumed : 0
Weight : 50
[Within CIR Level 1]
Rate : max
Consumed : 0 Offered : 0
[Within CIR Level 0]
Rate : 0
Consumed : 0 Offered : 0
[Above CIR Level 8]
Rate : max
Consumed : 0 Offered : 0
[Above CIR Level 7]
Rate : max
Consumed : 0 Offered : 0
[Above CIR Level 6]
Rate : max
Consumed : 0 Offered : 0
[Above CIR Level 5]
Rate : max
Consumed : 0 Offered : 0
[Above CIR Level 4]
Rate : max
Consumed : 0 Offered : 0
[Above CIR Level 3]
Rate : max
Consumed : 0 Offered : 0
[Above CIR Level 2]
Rate : max
Consumed : 0 Offered : 0
(S) voip(SAP 1/2/1:1)
Assigned : 10000000 Offered : 0
Consumed : 0
Weight : 30
(S) all(SAP 1/2/1:1)
Assigned : 960000 Offered : 0
Consumed : 0
Weight : 50
[Above CIR Level 1]
Rate : max
Consumed : 0 Offered : 0
(Q) : 2->1/2/1:1->3
Assigned : 786 Offered : 0
Consumed : 0
Weight : 1
===============================================================================
*A:Dut-R#
Values:
sap-id null [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]
dot1q [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]:
qtag1
qinq [
port-id |
bundle-id |
bpgrp-id | lag-id]:
qtag1.qtag2
atm [
port-id |
aps-id][:
vpi/vci|
vpi|
vpi1.vpi2]
frame [
port-id |
aps-id]:
dlci
cisco-hdlc
slot/mda/port.channel
cem
slot/mda/port.channel
ima-grp [
bundle-id[:vpi/vci|vpi|
vpi1.vpi2]
port-id
slot/mda/port[.
channel]
bundle-id bundle-
type-
slot/mda.bundle-num
bundle keyword
type ima, fr, ppp
bundle-num 1 — 336
bpgrp-id bpgrp-
type-
bpgrp-num
bpgrp keyword
type ima, ppp
bpgrp-num 1 — 2000
aps-id aps-
group-id[.
channel]
aps keyword
group-id 1 — 64
ccag-id ccag-
id.
path-id[
cc-type]:
cc-id
ccag keyword
id 1 — 8
path-id a, b
cc-type .sap-net, .net-sap
cc-id 0 — 4094
lag-id lag-id
lag keyword
id 1 — 200
qtag1 0 — 4094
qtag2 *, 0 — 4094
vpi NNI: 0 — 4095
UNI: 0 — 255
vci 1, 2, 5 — 65535
dlci 16 — 1022
ipsec-id ipsec-
id.[private | public]:
tag
ipsec keyword
id 1 — 4
tag 0 — 4094
*A:Dut-R# show qos scheduler-hierarchy sap 1/2/1:1 ingress detail
===============================================================================
Scheduler Hierarchy - Sap 1/2/1:1
===============================================================================
Legend :
(*) real-time dynamic value
(w) Wire rates
-------------------------------------------------------------------------------
Root (Ing)
| slot(1)
|--(S) : tplay
| | AdminPIR:960000 AdminCIR:960000(sum)
| |
| | [Within CIR Level 0 Weight 0]
| | Assigned:0 Offered:0
| | Consumed:0
| |
| | [Above CIR Level 0 Weight 0]
| | Assigned:0 Offered:0
| | Consumed:0
| |
| | TotalConsumed:0
| | OperPIR:960000
| |
| | [As Parent]
| | Rate:960000
| | ConsumedByChildren:960000
| |
| |--(S) : voice
| | | AdminPIR:max AdminCIR:max(sum)
| | |
| | | [Within CIR Level 6 Weight 1]
| | | Assigned:960000 Offered:120000
| | | Consumed:120000
| | |
| | | [Above CIR Level 1 Weight 1]
| | | Assigned:960000 Offered:120000
| | | Consumed:0
| | |
| | | TotalConsumed:120000
| | | OperPIR:960000
| | |
| | | [As Parent]
| | | Rate:960000
| | | ConsumedByChildren:120000
| | |
| | |--(S) : AccessIngress:2->1/2/1:1->3
| | | | AdminPIR:max AdminCIR:max(sum)
| | | |
| | | | [Within CIR Level 0 Weight 1]
| | | | Assigned:960000 Offered:0
| | | | Consumed:0
| | | |
| | | | [Above CIR Level 1 Weight 1]
| | | | Assigned:960000 Offered:120000
| | | | Consumed:120000
| | | |
| | | | TotalConsumed:120000
| | | | OperPIR:960000
| | | |
| | | | [As Parent]
| | | | OperPIR:960000 OperCIR:960000
| | | | ConsumedByChildren:120000
| | | |
| | | |--(Q) : 2->1/2/1:1->3 5/1
| | | | | AdminPIR:10000000 AdminCIR:10000000
| | | | | CBS:6144 MBS:12288
| | | | | Depth:0 HiPrio:2048
| | | | |
| | | | | [CIR]
| | | | | Assigned:960000 Offered:120000
| | | | | Consumed:120000
| | | | |
| | | | | [PIR]
| | | | | Assigned:960000 Offered:120000
| | | | | Consumed:0
| | | | |
| | | | | OperPIR:960000 OperCIR:960000
| | | |
| | | |--(Q) : 2->1/2/1:1->3 1/2
| | | | | AdminPIR:10000000 AdminCIR:10000000
| | | | | CBS:6144 MBS:12288
| | | | | Depth:0 HiPrio:2048
| | | | |
| | | | | [CIR]
| | | | | Assigned:840000 Offered:0
| | | | | Consumed:0
| | | | |
| | | | | [PIR]
| | | | | Assigned:840000 Offered:0
| | | | | Consumed:0
| | | | |
| | | | | OperPIR:840000 OperCIR:840000
| | | |
| |
| |--(S) : vod
| | | AdminPIR:max AdminCIR:max(sum)
| | |
| | | [Within CIR Level 2 Weight 75]
| | | Assigned:840000 Offered:2400000
| | | Consumed:840000
| | |
| | | [Above CIR Level 2 Weight 75]
| | | Assigned:840000 Offered:2400000
| | | Consumed:0
| | |
| | | TotalConsumed:840000
| | | OperPIR:840000
| | |
| | | [As Parent]
| | | Rate:840000
| | | ConsumedByChildren:840000
| | |
| | |--(S) : AccessIngress:2->1/2/1:1->2
| | | | AdminPIR:max AdminCIR:max(sum)
| | | |
| | | | [Within CIR Level 0 Weight 1]
| | | | Assigned:840000 Offered:0
| | | | Consumed:0
| | | |
| | | | [Above CIR Level 1 Weight 1]
| | | | Assigned:840000 Offered:2400000
| | | | Consumed:840000
| | | |
| | | | TotalConsumed:840000
| | | | OperPIR:840000
| | | |
| | | | [As Parent]
| | | | OperPIR:840000 OperCIR:840000
| | | | ConsumedByChildren:840000
| | | |
| | | |--(Q) : 2->1/2/1:1->2 5/1
| | | | | AdminPIR:10000000 AdminCIR:10000000
| | | | | CBS:6144 MBS:12288
| | | | | Depth:10236 HiPrio:2048
| | | | |
| | | | | [CIR]
| | | | | Assigned:840000 Offered:2400000
| | | | | Consumed:840000
| | | | |
| | | | | [PIR]
| | | | | Assigned:840000 Offered:2400000
| | | | | Consumed:0
| | | | |
| | | | | OperPIR:840000 OperCIR:840000
| | | |
| | | |--(Q) : 2->1/2/1:1->2 1/2
| | | | | AdminPIR:10000000 AdminCIR:10000000
| | | | | CBS:6144 MBS:12288
| | | | | Depth:0 HiPrio:2048
| | | | |
| | | | | [CIR]
| | | | | Assigned:420000 Offered:0
| | | | | Consumed:0
| | | | |
| | | | | [PIR]
| | | | | Assigned:420000 Offered:0
| | | | | Consumed:0
| | | | |
| | | | | OperPIR:420000 OperCIR:420000
| | | |
| |
| |--(S) : hsi
| | | AdminPIR:max AdminCIR:0(sum)
| | |
| | |
| | | [Within CIR Level 2 Weight 5]
| | | Assigned:0 Offered:0
| | | Consumed:0
| | |
| | | [Above CIR Level 1 Weight 1]
| | | Assigned:0 Offered:961000
| | | Consumed:0
| | |
| | | TotalConsumed:0
| | | OperPIR:0
| | |
| | | [As Parent]
| | | Rate:0
| | | ConsumedByChildren:0
| | |
| | |--(S) : AccessIngress:2->1/2/1:1->1
| | | | AdminPIR:max AdminCIR:0(sum)
| | | |
| | | | [Within CIR Level 0 Weight 1]
| | | | Assigned:0 Offered:0
| | | | Consumed:0
| | | |
| | | | [Above CIR Level 1 Weight 1]
| | | | Assigned:0 Offered:961000
| | | | Consumed:0
| | | |
| | | | TotalConsumed:0
| | | | OperPIR:0
| | | |
| | | | [As Parent]
| | | | OperPIR:0 OperCIR:0
| | | | ConsumedByChildren:0
| | | |
| | | |--(Q) : 2->1/2/1:1->1 5/1
| | | | | AdminPIR:10000000 AdminCIR:0
| | | | | CBS:0 MBS:0
| | | | | Depth:0 HiPrio:0
| | | | |
| | | | | [CIR]
| | | | | Assigned:0 Offered:0
| | | | | Consumed:0
| | | | |
| | | | | [PIR]
| | | | | Assigned:0 Offered:961000
| | | | | Consumed:0
| | | | |
| | | | | OperPIR:0 OperCIR:0
| | | |
| | | |--(Q) : 2->1/2/1:1->1 1/2
| | | | | AdminPIR:10000000 AdminCIR:0
| | | | | CBS:0 MBS:0
| | | | | Depth:0 HiPrio:0
| | | | |
| | | | | [CIR]
| | | | | Assigned:0 Offered:0
| | | | | Consumed:0
| | | | |
| | | | | [PIR]
| | | | | Assigned:0 Offered:0
| | | | | Consumed:0
| | | | |
| | | | | OperPIR:0 OperCIR:0
===============================================================================
*A:Dut-R#
*A:Dut-R# show qos scheduler-hierarchy sap 5/1/1:1 egress detail
===============================================================================
Scheduler Hierarchy - Sap 5/1/1:1
===============================================================================
Legend :
(*) real-time dynamic value
(w) Wire rates
-------------------------------------------------------------------------------
Root (Egr)
| slot(5)
|--(S) : tplay
| | AdminPIR:960000 AdminCIR:19768(sum)
| |
| | [Within CIR Level 0 Weight 0]
| | Assigned:0 Offered:0
| | Consumed:0
| |
| | [Above CIR Level 0 Weight 0]
| | Assigned:0 Offered:0
| | Consumed:0
| |
| | TotalConsumed:0
| | OperPIR:960000
| |
| | [As Parent]
| | Rate:960000
| | ConsumedByChildren:19661
| |
| |
| |--(S) : hsi
| | | AdminPIR:max AdminCIR:3000(sum)
| | |
| | | [Within CIR Level 2 Weight 5]
| | | Assigned:3000 Offered:3000
| | | Consumed:3000
| | |
| | | [Above CIR Level 1 Weight 1]
| | | Assigned:946339 Offered:6000
| | | Consumed:3000
| | |
| | | TotalConsumed:6000
| | | OperPIR:946339
| | |
| | | [As Parent]
| | | Rate:946339
| | | ConsumedByChildren:6000
| | |
| | |--(Q) : 2->5/1/1:1->1
| | | | AdminPIR:6000 AdminCIR:3000
| | | | CBS:4 MBS:64
| | | | Depth:56 HiPrio:8
| | | |
| | | | [Within CIR Level 0 Weight 1]
| | | | Assigned:3000 Offered:0
| | | | Consumed:0
| | | |
| | | | [Above CIR Level 1 Weight 1]
| | | | Assigned:6000 Offered:6000
| | | | Consumed:6000
| | | |
| | | | TotalConsumed:6000
| | | | OperPIR:6000 OperCIR:3000
| | |
| |--(S) : vod
| | | AdminPIR:max AdminCIR:16000(sum)
| | |
| | | [Within CIR Level 2 Weight 75]
| | | Assigned:16000 Offered:13100
| | | Consumed:13100
| | |
| | | [Above CIR Level 2 Weight 75]
| | | Assigned:956439 Offered:13100
| | | Consumed:0
| | |
| | | TotalConsumed:13100
| | | OperPIR:956439
| | |
| | | [As Parent]
| | | Rate:956439
| | | ConsumedByChildren:13100
| | |
| | |--(Q) : 2->5/1/1:1->2
| | | | AdminPIR:20000 AdminCIR:16000
| | | | CBS:20 MBS:64
| | | | Depth:0 HiPrio:8
| | | |
| | | | [Within CIR Level 0 Weight 1]
| | | | Assigned:16000 Offered:0
| | | | Consumed:0
| | | |
| | | | [Above CIR Level 1 Weight 1]
| | | | Assigned:20000 Offered:13100
| | | | Consumed:13100
| | | |
| | | | TotalConsumed:13100
| | | | OperPIR:20000 OperCIR:16000
| |
| |--(S) : voice
| | | AdminPIR:max AdminCIR:768(sum)
| | |
| | | [Within CIR Level 6 Weight 1]
| | | Assigned:768 Offered:561
| | | Consumed:561
| | |
| | | [Above CIR Level 1 Weight 1]
| | | Assigned:940900 Offered:561
| | | Consumed:0
| | |
| | | TotalConsumed:561
| | | OperPIR:940900
| | |
| | | [As Parent]
| | | Rate:940900
| | | ConsumedByChildren:561
| | |
| | |--(Q) : 2->5/1/1:1->3
| | | | AdminPIR:786 AdminCIR:768
| | | | CBS:8 MBS:64
| | | | Depth:0 HiPrio:8
| | | |
| | | | [Within CIR Level 0 Weight 1]
| | | | Assigned:768 Offered:0
| | | | Consumed:0
| | | |
| | | | [Above CIR Level 1 Weight 1]
| | | | Assigned:786 Offered:561
| | | | Consumed:561
| | | |
| | | | TotalConsumed:561
| | | | OperPIR:784 OperCIR:768
===============================================================================
*A:Dut-R#
scheduler-hierarchy subscriber
sub-ident-string [scheduler
scheduler-name] [ingress
| egress
] [detail
]
A:D# show qos scheduler-hierarchy subscriber RoutedCoHost1
===============================================================================
Scheduler Hierarchy - Subscriber RoutedCoHost1
===============================================================================
Root (Ing)
| slot(1)
|--(S) : grandpa
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->8
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->8 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->8 2/1
| | |
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->7
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->7 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->7 2/1
| | |
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->6
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->6 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->6 2/1
| | |
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->5
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->5 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->5 2/1
| | |
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->4
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->4 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->4 2/1
| | |
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->3
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->3 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->3 2/1
| | |
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->2 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->2 2/1
| | |
| |
| |--(S) : AccessIngress:Sub=1:1 200->1/2/5:1->1
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->1 1/2
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->1 2/1
| | |
Root (Egr)
| slot(1)
|--(S) : gp
| |
| |--(S) : pb
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->1
| | |
| | |--(S) : pbs
| | | |
| | | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->2
| | | |
| |
| |--(S) : mb
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->3
| | |
| | |--(S) : mbs
| | | |
| | | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->4
| | | |
|
|--(S) : rb
| |
| |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->5
| |
| |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->7
| |
| |--(S) : rbs
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->6
| | |
| | |--(Q) : Sub=RoutedCoHost1:adsl-hsi 200->1/2/5:1->8
| | |
show qos scheduler-hierarchy subscriber x detail
...
|--(Q) : Sub=hpolSub43:hpolSlaProf1 2000->2/1/5:2000->2 (Port 2/1/5)
| | AdminPIR:100000 AdminCIR:0
| | AvgFrmOv:0.00
| | AdminPIR:100000(w) AdminCIR:0(w)
| | CBS:0 B MBS:125952 B
| | Depth:0 B HiPrio:15360 B
| | MaxAggRate:22032821(w) CurAggRate:0(w)
| |
| | [Within CIR Level 0 Weight 0]
| | Assigned:0(w) Offered:0(w)
| | Consumed:0(w)
| |
| | [Above CIR Level 1 Weight 60]
| | Assigned:1000(w) Offered:0(w)
| | Consumed:0(w)
| |
| | TotalConsumed:0
| | OperPIR:1000 OperCIR:0
...
A:ALA-12# show qos scheduler-name NetworkControl
==================================================================
Scheduler : NetworkControl
==================================================================
Scheduler Policy : SLA1
Scheduler Policy : alpha
Scheduler Policy : beta
==================================================================
A:ALA-12#
A:ALA-12# show qos scheduler-stats customer 274 site west scheduler NetworkControl ingress
==============================================================================
Scheduler Stats
==============================================================================
Scheduler Forwarded Packets Forwarded Octets
-----------------------------------------------------------------------------
NetworkControl 0 0
=============================================================================
A:ALA-12#
Values:
sap-id null [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]
dot1q [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]:
qtag1
qinq [
port-id |
bundle-id |
bpgrp-id | lag-id]:
qtag1.qtag2
atm [
port-id |
aps-id][:
vpi/vci|
vpi|
vpi1.vpi2]
frame [
port-id |
aps-id]:
dlci
cisco-hdlc
slot/mda/port.channel
cem
slot/mda/port.channel
ima-grp [
bundle-id[:vpi/vci|vpi|
vpi1.vpi2]
port-id
slot/mda/port[.
channel]
bundle-id bundle-
type-
slot/mda.bundle-num
bundle keyword
type ima, fr, ppp
bundle-num 1 — 336
bpgrp-id bpgrp-
type-
bpgrp-num
bpgrp keyword
type ima, ppp
bpgrp-num 1 — 2000
aps-id aps-
group-id[.
channel]
aps keyword
group-id 1 — 64
ccag-id ccag-
id.
path-id[
cc-type]:
cc-id
ccag keyword
id 1 — 8
path-id a, b
cc-type .sap-net, .net-sap
cc-id 0 — 4094
eth-tunnel eth-tunnel-
id[:
eth-tun-sap-id]
id: 1 — 1024
eth-tun-sap-id 0 — 4094
lag-id lag-id
lag keyword
id 1 — 200
qtag1 0 — 4094
qtag2 *, 0 — 4094
vpi NNI: 0 — 4095
UNI: 0 — 255
vci 1, 2, 5 — 65535
dlci 16 — 1022
ipsec-id ipsec-
id.[private | public]:
tag
ipsec keyword
id 1 — 4
tag 0 — 4094
A:ALA-12# show qos scheduler-stats sap 1/1/4.1:0
==============================================================================
Scheduler Stats
==============================================================================
Scheduler Forwarded Packets Forwarded Octets
-----------------------------------------------------------------------------
Ingress Schedulers
All_traffic 0 0
NetworkControl 0 0
Egress Schedulers
All_traffic 0 0
Internet_be 0 0
Internet_priority 0 0
Internet_voice 0 0
NetworkControl 0 0
NonVoice 0 0
VPN_be 0 0
VPN_nc 0 0
VPN_priority 0 0
VPN_reserved 0 0
VPN_video 0 0
VPN_voice 0 0
Voice 0 0
=============================================================================
A:ALA-12#
A:ALA-12# show qos scheduler-stats sap 1/1/5:0 scheduler 1
==============================================================================
Scheduler Stats
==============================================================================
Scheduler Forwarded Packets Forwarded Octets
------------------------------------------------------------------------------
Ingress Schedulers
No Matching Entries.
Egress Schedulers
No Matching Entries.
==============================================================================
A:ALA-12#
A:ALA-12# show qos scheduler-stats sap 1/1/4.1:0 scheduler All_traffic
=============================================================================
Scheduler Stats
==============================================================================
Scheduler Forwarded Packets Forwarded Octets
------------------------------------------------------------------------------Ingress Schedulers
All_traffic 0 0
Egress Schedulers
All_traffic 0 0
==============================================================================
A:ALA-12#
A:D# show qos scheduler-stats subscriber RoutedCoHost1
===============================================================================
Scheduler Stats
===============================================================================
Scheduler Forwarded Packets Forwarded Octets
-------------------------------------------------------------------------------
Ingress Schedulers
gp 0 0
Egress Schedulers
gp 0 0
mb 0 0
mbs 0 0
pb 0 0
pbs 0 0
rb 0 0
rbs 0 0
===============================================================================
*A:D#
customer customer-id site
customer-site-name [egress
] [detail
]
port port-id queue-group
queue-group-name [egress
] [access|network
] [instance
instance-id] [detail
]
port port-id vport
name [detail
]
sap sap-id [egress
] [detail
]
sap sap-id encap-group
group-name [member
encap-id] [detail
]
Values:
sap-id null [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]
dot1q [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]:
qtag1
qinq [
port-id |
bundle-id |
bpgrp-id | lag-id]:
qtag1.qtag2
atm [
port-id |
aps-id][:
vpi/vci|
vpi|
vpi1.vpi2|cp.conn-prof-id]
cp keyword
conn-prof-id [1—8000]
frame [
port-id |
aps-id]:
dlci
cisco-hdlc
slot/mda/port.channel
cem
slot/mda/port.channel
ima-grp [
bundle-id[:vpi/vci|vpi|
vpi1.vpi2|cp.conn-prof-id]
cp keyword
conn-prof-id [1—8000]
port-id
slot/mda/port[.
channel]
bundle-id bundle-
type-
slot/mda.bundle-num
bundle keyword
type ima, fr, ppp
bundle-num 1 — 336
bpgrp-id bpgrp-
type-
bpgrp-num
bpgrp keyword
type ima, ppp
bpgrp-num 1 — 2000
aps-id aps-
group-id[.
channel]
aps keyword
group-id 1 — 64
ccag-id ccag-
id.
path-id[
cc-type]:
cc-id
ccag keyword
id 1 — 8
path-id a, b
cc-type .sap-net, .net-sap
cc-id 0 — 4094
eth-tunnel eth-tunnel-
id[:
eth-tun-sap-id]
id: 1 — 128
eth-tun-sap-id 0 — 4094
lag-id lag-id
lag keyword
id 1 — 200
pw-id pw-
id
pw keyword
id 1— 10239
qtag1 0 — 4094
qtag2 *, null, 0 — 4094
vpi NNI: 0 — 4095
UNI: 0 — 255
vci 1, 2, 5 — 65535
dlci 16 — 1022
tunnel-id tunnel-
id.[private | public]:
tag
tunnel keyword
id 1 — 16
tag 0 — 4094
port-scheduler-policy port-scheduler-policy-name scheduler-policy
scheduler-policy-name sap-egress
policy-id
*A:Dut-R# show qos port-scheduler-policy p1
===============================================================================
QoS Port Scheduler Policy
===============================================================================
Policy-Name : p1
Max Rate : max Last changed : 05/21/2007 10:39:15
Lvl1 PIR : max Lvl1 CIR : max
Lvl2 PIR : max Lvl2 CIR : max
Lvl3 PIR : max Lvl3 CIR : max
Lvl4 PIR : max Lvl4 CIR : max
Lvl5 PIR : max Lvl5 CIR : max
Lvl6 PIR : max Lvl6 CIR : max
Lvl7 PIR : max Lvl7 CIR : max
Lvl8 PIR : max Lvl8 CIR : max
Orphan Lvl : default Orphan Weight : default
Orphan CIR-Lvl : default Orphan CIR-Weight : default
===============================================================================
QoS Port Scheduler Policy
===============================================================================
Policy-Name : p1
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
- Port : 5/1/1
===============================================================================
*A:Dut-R#
The following configuration displays dist-lag-rate-shared and
percent-rate for level,
group and
max-rate in a port-scheduler-policy
*B:vineshDut-A>config>qos>port-sched-plcy# info
----------------------------------------------
dist-lag-rate-shared
max-rate percent 30.00
group "test" create
percent-rate 20.00 cir 20.00
exit
level 1 percent-rate 10.00 percent-cir 10.00
level 2 percent-rate 20.00 percent-cir 20.00
level 3 percent-rate 30.00 percent-cir 30.00
level 4 percent-rate 40.00 percent-cir 40.00
level 5 percent-rate 50.00 percent-cir 50.00
level 6 percent-rate 60.00 percent-cir 60.00
level 7 percent-rate 70.00 percent-cir 70.00
level 8 percent-rate 80.00 percent-cir 80.00
*B:vineshDut-A>config>port# info
----------------------------------------------
ethernet
mode access
egress-scheduler-policy "psp2"
egress-scheduler-override create
max-rate percent 50.00
level 1 percent-rate 10.00 percent-cir 10.00
level 2 percent-rate 20.00 percent-cir 20.00
level 3 percent-rate 30.00 percent-cir 30.00
level 4 percent-rate 40.00 percent-cir 40.00
level 5 percent-rate 50.00 percent-cir 50.00
level 6 percent-rate 60.00 percent-cir 60.00
level 7 percent-rate 70.00 percent-cir 70.00
level 8 percent-rate 80.00 percent-cir 80.00
exit
autonegotiate limited
exit
no shutdown
----------------------------------------------
The following output shows a port-scheduler-policy showing Dist Lag Rate and percent parameters
*B:vineshDut-A>config>port# /show qos port-scheduler-policy "psp2"
===============================================================================
QoS Port Scheduler Policy
===============================================================================
Policy-Name : psp2
Description : (Not Specified)
Max Rate : max Max Rate Percent : 30.00
Dist LAG Rate : True Last changed : 07/16/2014 21:31:51
Group : test
Group PIR : max Group CIR : max
Group PIR Percent : 20.00 Group CIR Percent : 20.00
Lvl1 PIR : max Lvl1 CIR : max
Lvl1 PIR Percent : 10.00 Lvl1 CIR Percent : 10.00
Lvl2 PIR : max Lvl2 CIR : max
Lvl2 PIR Percent : 20.00 Lvl2 CIR Percent : 20.00
Lvl3 PIR : max Lvl3 CIR : max
Lvl3 PIR Percent : 30.00 Lvl3 CIR Percent : 30.00
Lvl4 PIR : max Lvl4 CIR : max
Lvl4 PIR Percent : 40.00 Lvl4 CIR Percent : 40.00
Lvl5 PIR : max Lvl5 CIR : max
Lvl5 PIR Percent : 50.00 Lvl5 CIR Percent : 50.00
Lvl6 PIR : max Lvl6 CIR : max
Lvl6 PIR Percent : 60.00 Lvl6 CIR Percent : 60.00
Lvl7 PIR : max Lvl7 CIR : max
Lvl7 PIR Percent : 70.00 Lvl7 CIR Percent : 70.00
Lvl8 PIR : max Lvl8 CIR : max
Lvl8 PIR Percent : 80.00 Lvl8 CIR Percent : 80.00
Orphan Lvl : default Orphan Weight : default
Orphan CIR-Lvl : default Orphan CIR-Weight : default
===============================================================================
Part of show port Output
-------------------------------------------------------------------------------
Egr Port Sched Override
-------------------------------------------------------------------------------
Max Rate : max* Max Rate Percent : 50.00
Lvl1 PIR : max* Lvl1 CIR : max*
Lvl1 PIR Percent : 10.00 Lvl1 CIR Percent : 10.00
Lvl2 PIR : max* Lvl2 CIR : max*
Lvl2 PIR Percent : 20.00 Lvl2 CIR Percent : 20.00
Lvl3 PIR : max* Lvl3 CIR : max*
Lvl3 PIR Percent : 30.00 Lvl3 CIR Percent : 30.00
Lvl4 PIR : max* Lvl4 CIR : max*
Lvl4 PIR Percent : 40.00 Lvl4 CIR Percent : 40.00
Lvl5 PIR : max* Lvl5 CIR : max*
Lvl5 PIR Percent : 50.00 Lvl5 CIR Percent : 50.00
Lvl6 PIR : max* Lvl6 CIR : max*
Lvl6 PIR Percent : 60.00 Lvl6 CIR Percent : 60.00
Lvl7 PIR : max* Lvl7 CIR : max*
Lvl7 PIR Percent : 70.00 Lvl7 CIR Percent : 70.00
Lvl8 PIR : max* Lvl8 CIR : max*
Lvl8 PIR Percent : 80.00 Lvl8 CIR Percent : 80.00
* means the value is inherited
-------------------------------------------------------------------------------
sap sap-id [scheduler
scheduler-name] [ingress
| egress
]
Values:
sap-id null [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]
dot1q [
port-id |
bundle-id |
bpgrp-id | lag-id |
aps-id]:
qtag1
qinq [
port-id |
bundle-id |
bpgrp-id | lag-id]:
qtag1.qtag2
atm [
port-id |
aps-id][:
vpi/vci|
vpi|
vpi1.vpi2]
frame [
port-id |
aps-id]:
dlci
cisco-hdlc
slot/mda/port.channel
cem
slot/mda/port.channel
ima-grp [
bundle-id[:vpi/vci|vpi|
vpi1.vpi2]
port-id
slot/mda/port[.
channel]
bundle-id bundle-
type-
slot/mda.bundle-num
bundle keyword
type ima, fr, ppp
bundle-num 1 — 336
bpgrp-id bpgrp-
type-
bpgrp-num
bpgrp keyword
type ima, ppp
bpgrp-num 1 — 2000
aps-id aps-
group-id[.
channel]
aps keyword
group-id 1 — 64
ccag-id ccag-
id.
path-id[
cc-type]:
cc-id
ccag keyword
id 1 — 8
path-id a, b
cc-type .sap-net, .net-sap
cc-id 0 — 4094
lag-id lag-id
lag keyword
id 1 — 200
qtag1 0 — 4094
qtag2 *, 0 — 4094
vpi NNI: 0 — 4095
UNI: 0 — 255
vci 1, 2, 5 — 65535
dlci 16 — 1022
ipsec-id ipsec-
id.[private | public]:
tag
ipsec keyword
id 1 — 4
tag 0 — 4094