No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
qos car

qos car

Function

The qos car command configures QoS CAR parameters on an interface.

The undo qos car command deletes the configured QoS CAR parameters on the interface.

By default, the system has no QoS CAR parameter configured.

Format

qos car inbound cir cir-value [ cbs cbs-value [ pbs pbs-value ] | pir pir-value [ cbs cbs-value pbs pbs-value ] ]

undo qos car inbound

Parameters

Parameter

Description

Value

inbound

Binds a QoS CAR profile to an interface in the inbound direction.

-

cir cir-value

Specifies the committed information rate (CIR), which is the average rate of traffic that can pass through.

The value is an integer that ranges from 64 to 4294967295, in kbit/s.

pir pir-value

Specifies the peak information rate (PIR), which is the maximum rate of traffic that can pass through.

The value is an integer that ranges from 64 to 4294967295, in kbit/s.

The PIR value must be larger than or equal to the CIR value.

cbs cbs-value

Specifies the committed burst size (CBS), which is the average volume of burst traffic that can pass through.

The value is an integer that ranges from 1500 to 4294967295, in bytes.

The default setting is as follows:
  • If the PIR is not set or the PIR and CIR are the same, the CBS is 188 times the CIR. If the value 188 times the CIR exceeds the maximum value (4294967295) of the CBS, 4294967295 is used.
  • If the PIR is set and the PIR and CIR are different, the CBS is 125 times the CIR. If the value 125 times the CIR exceeds the maximum value (4294967295) of the CBS, 4294967295 is used.

pbs pbs-value

Specifies the peak burst size (PBS), which is the maximum volume of burst traffic that can pass through.

The value is an integer that ranges from 1500 to 4294967295, in bytes.

The default setting is as follows:
  • If the PIR is not set or the PIR and CIR are the same, the PBS is 313 times the CIR. If the value 313 times the CIR exceeds the maximum value (4294967295) of the PBS, 4294967295 is used.
  • If the PIR is set and the PIR and CIR are different, the PBS is 125 times the PIR. If the value 125 times the PIR exceeds the maximum value (4294967295) of the PBS, 4294967295 is used.

Views

GE interface view, MultiGE interface view, XGE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Traffic policing controls traffic by monitoring the rate of traffic, and discards excess traffic to limit traffic within a proper range and to protect network resources.

When data is sent from a high-speed link to a low-speed link, the bandwidth on the interface of the low-speed link is insufficient. As a result, a large number of packets are discarded. To solve this problem, configure traffic policing for outgoing traffic on the interface of the high-speed link. The interface then discards the packets whose rate exceeds the traffic policing rate so that the outgoing traffic rate is limited in a proper range. You can also configure traffic policing for incoming traffic on the interface of the low-speed link. The interface then discards the received packets whose rate exceeds the traffic policing rate.

The packet color is determined by cbs cbs-value and pbs pbs-value of this command:
  • When the size of a packet is less than the CBS, the packet is colored green.
  • When the size of a packet is greater than or equal to the CBS but less than the PBS, the packet is colored yellow.
  • When the size of a packet is greater than or equal to the PBS, the packet is colored red.

Precautions

When the traffic shaping rate is greater than the maximum rate of an interface, traffic policing is not performed on the interface. You need to set the CIR or PIR to be smaller than the maximum rate of the interface.

When the CBS is smaller than the number of bytes in a packet, packets of this type are discarded.

To prevent device failure to identify the packet color, you are advised to set the PBS to be larger than the CBS.

Example

# Set the CIR value to 10000 kbit/s and the CBS value to 10240 bytes on GE0/0/1.

<Huawei> system-view
[Huawei] interface gigabitethernet 0/0/1
[Huawei-GigabitEthernet0/0/1] qos car inbound cir 10000 cbs 10240
[Huawei-GigabitEthernet0/0/1] quit
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 210907

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next