Define the following attributes to create a service egress queue:
adaptation-rule —the method used by the system to derive the PIR and CIR for the queue
cbs — overrides the reserved buffers default for the queue
high-prio-only — the percentage of buffer space for the queue to be used exclusively by in-profile packets
mbs — the maximum number of buffers allowed for a specific queue
rate — the PIR and CIR values for the queue
slope-policy — the slope policy for the queue
Use the following CLI syntax to configure the service egress QoS queue parameters:
config>qos
sap-egress policy-id
queue queue-id [queue-type]
adaptation-rule [pir adaptation-rule] [cir adaptation-rule]
cbs size-in-kbytes
high-prio-only percent
mbs size [bytes | kilobytes]
rate pir-rate [cir cir-rate]
slope-policy name
*A:ALU-1# configure qos sap-egress 500
config>qos>sap-egress# queue 7
config>qos>sap-egress>queue# adaptation-rule pir closest cir closest
config>qos>sap-egress>queue# cbs 10
config>qos>sap-egress>queue# high-prio-only 10
config>qos>sap-egress>queue# mbs 10
config>qos>sap-egress>queue# rate max cir max
config>qos>sap-egress>queue# slope-policy "Slope Policy"
config>qos>sap-egress>queue# exit
config>qos>sap-egress# exit
*A:ALU-1#
The following output displays the queue configuration for service egress policy 500:
ALU-1>config>qos# info
--------------------------------------------------
#--------------------------------------------------
echo "QoS Policy Configuration"
#--------------------------------------------------
....
sap-egress 500 create
description "Egress Policy 500"
queue 1 create
exit
queue 7 best-effort create
rate max cir max
cbs 10
mbs 10
high-prio-only 10
exit
fc be create
exit
fc ef create
dscp in-profile cp2 out-profile cp3
exit