The qos cir command configures QoS parameters in a PW template.
The undo qos command deletes QoS parameter settings from a PW template.
By default, QoS parameters are not configured in a PW template.
Parameter | Description | Value |
---|---|---|
pir pir-value |
Specifies the Peak Information Rate (PIR). PIR: refers to the maximum number of packets that can be processed per second as well as the maximum bandwidth required to process packets. |
The value is 0 or an integer ranging from 16 to 4294967294, in kbit/s.
pir-value and cir-value cannot be both 0s. If the cir-value value is 0, you must specify pir-value. |
qos-profile qos-profile-name |
Specifies the name of the referenced QoS profile. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed with double quotation marks ("). |
cir cir-value |
Specifies the Committed Information Rate (CIR). The CIR is the relatively minimum bandwidth. When the CIR is set, the following action is taken on packets:
|
The value is 0 or an integer ranging from 16 to 4294967294, in kbit/s. |
Usage Scenario
When multiple VPN services share the same tunnel, bandwidth preemption occurs among these VPN services. Non-VPN traffic also preempts the bandwidth of VPN traffic. As a result, VPN traffic cannot be forwarded or dropped strictly based on service priorities.
The VPN services carried over a tunnel have different resource requirements. To meet the resource requirements of VPWS services carried over a tunnel without affecting the quality of other VPN services, configure VPWS QoS. To configures QoS parameters in a PW template, run the qos cir command.Prerequisites
A PW template has been created and the PW template view is displayed using the pw-template command.
Precautions
On VPLS networks in BGP or BGP AD mode, VSIs do not have PW configurations. Therefore, VPLS networks in BGP or BGP AD mode support VSI-based VPN QoS rather than peer-based VPN QoS.