The configuration model file matching the QoS profile is huawei-qos-profile.yang.
The /huawei-qos-profile:qos-profiles/profile/name and /huawei-qos-profile:qos-profiles/profile/qos-para/car-para objects can be configured only on the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S.
The /huawei-qos-profile:qos-profiles/profile/qos-para/remark-priority object can be configured only on the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S.
The /hw-qos-profile:flow-wred-profiles, /huawei-qos-profile:flow-queue-profiles, and /huawei-qos-profile:qos-profiles/profile/qos-para/user-queue objects can be configured only on the S5720-HI, S5731-S, S5731S-S, S5731-H, and S5731S-H.
Object |
Description |
Value |
Remarks |
---|---|---|---|
/huawei-qos-profile:qos-profiles/profile/name |
Indicates the name of a QoS profile. |
The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks ("), the string can contain spaces. The value cannot be --. |
The switch supports a maximum of 64 QoS profiles. |
/huawei-qos-profile:qos-profiles/profile/qos-para/car-para/direction |
Indicates the direction of traffic policing. |
The value is of the enumerated type:
|
N/A |
/huawei-qos-profile:qos-profiles/profile/qos-para/car-para/cir |
Indicates the committed information rate (CIR), which is the guaranteed average transmission rate. |
The value is an integer in the range from 64 to 4294967295, in kbit/s. |
If traffic policing is configured in a QoS profile, this object must be configured. |
/huawei-qos-profile:qos-profiles/profile/qos-para/car-para/cbs |
Indicates the committed burst size (CBS), which is the average volume of burst traffic that can pass through an interface. |
The value is an integer in the range from 4000 to 4294967295, in bytes. If the peak information rate (PIR) is not set, the default CBS is 188 times the CIR. If the PIR is set, the default CBS is 125 times the CIR. |
This object must be configured together with the /huawei-qos-profile:qos-profiles/profile/qos-para/car-para/pbs object. |
/huawei-qos-profile:qos-profiles/profile/qos-para/car-para/pir |
Indicates the PIR, which is the maximum rate of traffic that can pass through an interface. |
The value is an integer in the range from 64 to 4294967295, in kbit/s. The PIR must be greater than or equal to the CIR. The default PIR is equal to the CIR. |
N/A |
/huawei-qos-profile:qos-profiles/profile/qos-para/car-para/pbs |
Indicates the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through an interface. |
The value is an integer in the range from 4000 to 4294967295, in bytes. If the PIR is not set, the default PBS is 313 times the CIR. If the PIR is set, the default PBS is 125 times the PIR. |
This object must be configured together with the /huawei-qos-profile:qos-profiles/profile/qos-para/car-para/cbs object. |
/huawei-qos-profile:qos-profiles/profile/qos-para/remark-priority/direction |
Indicates the direction in which the priority of packets is re-marked. |
The value is of the enumerated type:
|
This object must be configured regardless of whether the 802.1p priority of VLAN packets or the DSCP priority of IP packets is re-marked. When the 802.1p priority of VLAN packets is re-marked, this object is meaningless. However, to ensure that other objects are configured successfully, you must set this object to inbound or outbound. In the configurations for re-marking the priority of 802.1p packets, if this object is set to inbound in one group of configuration and to outbound in another group of configuration, the re-marked priority must be the same in the two groups of configurations that are delivered concurrently. Otherwise, the configurations fail to be delivered. If you need to delete the configurations for re-marking the priority of packets, you must delete the two groups of configurations. |
/huawei-qos-profile:qos-profiles/profile/qos-para/remark-priority/priority-type |
Indicates the type of the priority to be re-marked for packets. |
The value is of the enumerated type:
|
N/A |
/huawei-qos-profile:qos-profiles/profile/qos-para/remark-priority/priority-value |
Indicates the value of the priority to be re-marked for packets. |
The value is an integer. A larger value indicates a higher priority. If the priority type is dscp, the value is an integer in the range from 0 to 63. If the priority type is 8021p, the value is an integer in the range from 0 to 7. |
If the packet priority is re-marked multiple times, the latest configuration takes effect. |
/huawei-qos-profile:qos-profiles/profile/qos-para/user-queue/pir |
Indicates the peak information rate (PIR) of a subscriber queue, which is the maximum rate of traffic that can pass through an interface. |
The value is an integer in the range from 64 to 10000000, in kbit/s. |
N/A |
/huawei-qos-profile:qos-profiles/profile/qos-para/user-queue/flow-queue-profile |
Indicates the name of the referenced flow queue profile. If the name of the referenced flow queue profile is not specified, the flow queue profile default is used. |
The value must be the name of an existing flow queue profile. |
N/A |
/huawei-qos-profile:flow-wred-profiles/flow-wred-profile/name |
Indicates the name of a flow queue WRED drop profile. |
The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks ("), the string can contain spaces. |
By default, the system predefines a flow queue WRED drop profile default. This profile cannot be modified or deleted. |
/huawei-qos-profile:flow-wred-profiles/flow-wred-profile/color |
Indicates the packet color. |
The value is of the enumerated type:
|
N/A |
/huawei-qos-profile:flow-wred-profiles/flow-wred-profile/low-limit |
Indicates the lower drop threshold. When the percentage of the packet count in a queue to the queue length reaches this value, the switch starts to discard packets. |
The value is an integer in the range from 0 to 100, in percentage. The default value is 100. |
N/A |
/huawei-qos-profile:flow-wred-profiles/flow-wred-profile/high-limit |
Indicates the upper drop threshold. When the percentage of the packet count in a queue to the queue length reaches this value, the switch discards all subsequent packets. |
The value is an integer in the range from 0 to 100, in percentage. The default value is 100. |
The upper drop threshold must be greater than or equal to the lower drop threshold. |
/huawei-qos-profile:flow-wred-profiles/flow-wred-profile/discard-percentage |
Indicates the maximum drop probability. |
The value is an integer in the range from 1 to 100, in percentage. The default value is 100. |
N/A |
/huawei-qos-profile:flow-wred-profiles/flow-wred-profile/queue-depth/queue-depth-value |
Indicates the length of a flow queue. |
The value is an integer in the range from 1024 to 67092480, in bytes. The default value is 1048576. |
N/A |
/huawei-qos-profile:flow-queue-profiles/flow-queue-profile/name |
Indicates the name of a flow queue profile. |
The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks ("), the string can contain spaces. |
By default, the system predefines a flow queue profile default. This profile cannot be modified or deleted. |
/huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/queue-index |
Indicates the index of a flow queue. |
The value is an integer in the range from 0 to 7. |
N/A |
/huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/shaping-info/shaping-value |
Indicates the traffic shaping rate. |
The value is an integer in the range from 64 to 10000000, in kbit/s. |
By default, the traffic shaping rate is the PIR of a subscriber queue. This object cannot be configured together with the huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/shaping-info/shaping-percent object. |
/huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/shaping-info/shaping-percent |
Indicates the traffic shaping percentage, that is, percentage of the traffic shaping rate to the PIR of a subscriber queue. |
The value is an integer in the range from 1 to 100. |
This object cannot be configured together with the /huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/shaping-info/shaping-value object. |
/huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/schedule-mode |
Indicates the scheduling mode of a flow queue. |
IdentityRef type. The options are as follows:
|
By default, a flow queue uses PQ scheduling. If this object is set to strict-priority-queuing, the /huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/weight object cannot be configured. If this object is set to weighted-fair-queuing, the /huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/weight object must be configured. |
/huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/weight |
Indicates the weight of WFQ scheduling. |
The value is an integer in the range from 1 to 100. |
N/A |
/huawei-qos-profile:flow-queue-profiles/flow-queue-profile/qos-queue-para/flow-wred-profile |
Indicates the name of a flow queue WRED drop profile. |
The value must be the name of an existing flow queue WRED drop profile. |
By default, the system predefines a flow queue WRED drop profile default. This profile cannot be modified or deleted. |