< Home

Data Model

The configuration model file matching queue scheduling and traffic shaping management is huawei-qos.yang.

Table 1 Queue scheduling and traffic shaping management

Object

Description

Value

Remarks

/huawei-qos:qos/traffic-queuing/queue-profiles/queue-profile/name

Indicates the name of a queue scheduling profile.

The value is a string of case-insensitive characters without spaces. For the S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI, the value contains 1 to 16 characters.

A maximum of six scheduling profiles are allowed for the S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI.

/huawei-qos:qos/traffic-queuing/queue-profiles/queue-profile/id

Indicates the queue index.

The value is an integer in the range from 0 to 7.

Eight queues must be configured simultaneously.

/huawei-qos:qos/traffic-queuing/queue-profiles/queue-profile/queue/schedule/schedule-mode

Indicates the queue scheduling mode.

Enumerated value. The values are as follows:

  • strict-priority-queuing: PQ scheduling

  • deficit-round-robin-queuing: WDRR scheduling

  • weight-round-robin-queuing: WRR scheduling

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 do not support weight-round-robin-queuing.

/huawei-qos:qos/traffic-queuing/queue-profiles/queue-profile/queue/schedule/weight

Indicates the weight of a queue that participates in WRR or WDRR scheduling.

The value is an integer in the range from 0 to 63 on the S5720-EI and from 0 to 100 on the other models.

N/A

/huawei-qos:qos/traffic-queuing/queue-profiles/queue-profile/queue/shaping/cir

Indicates the CIR for queue shaping.

The value is an integer, in kbit/s. The value range differs depending on the interface type:

  • Port group: 0 to 10000000
  • Other interfaces: 0 to X, where X indicates the maximum rate supported by the interface

The default value is the maximum bandwidth of an interface.

N/A

/huawei-qos:qos/traffic-queuing/queue-profiles/queue-profile/queue/shaping/cbs

Indicates the CBS for queue shaping.

The value is an integer in the range from 4000 to 4294967295, in bytes.

N/A

/ietf-interfaces:interfaces/interface/huawei-qos:qos/marking/trust

Indicates the type of priority to be mapped for packets.

The value is a string. The values are as follows:

  • cos: 802.1p priority

  • dscp: DSCP priority

N/A

/ietf-interfaces:interfaces/interface/huawei-qos:qos/meter/meter-field/direction

Indicates that the rate of packets on an interface in the specified direction is limited.

Enumerated type. The value is inbound, indicating the inbound direction.

N/A

/ietf-interfaces:interfaces/interface/huawei-qos:qos/meter/meter-field/cir

Indicates the CIR for rate limiting on an interface.

The value is an integer, in kbit/s. The value range differs depending on the interface type:

  • Multi-GE: 64 to 10000000

  • Port group: 64 to 10000000

  • Other interfaces: 64 to X, where X indicates the maximum rate supported by the interface

N/A

/ietf-interfaces:interfaces/interface/huawei-qos:qos/meter/meter-field/cbs

Indicates the CBS for rate limiting on an interface.

The value is an integer in the range from 4000 to 4294967295, in bytes.

If this object is not specified, the default meter-field/cbs is 125 times meter-field/cir.

N/A

/ietf-interfaces:interfaces/interface/huawei-qos:qos/queues/queue-porfile

Indicates the name of a queue scheduling profile.

The value must be the name of an existing queue scheduling profile.

N/A

/ietf-interfaces:interfaces/interface/huawei-qos:qos/shaping/cir

Indicates the CIR when traffic shaping is performed for packets on an interface in the outbound direction.

The value is an integer, in kbit/s. The value range differs depending on the interface type:

  • Multi-GE: 64 to 10000000

  • Port group: 64 to 10000000

  • Other interfaces: 64 to X, where X indicates the maximum rate supported by the interface

N/A

/ietf-interfaces:interfaces/interface/huawei-qos:qos/shaping/cbs

Indicates the CBS when traffic shaping is performed for packets on an interface in the outbound direction.

The value is an integer in the range from 4000 to 4294967295, in bytes.

If this object is not specified, the default shaping/cbs is 125 times shaping/cir.

N/A

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >