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

S12700 V200R013C00 Command Reference

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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 (SSID profile view)

qos car (SSID profile view)

Function

The qos car command configures QoS CAR parameters.

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

By default, no QoS CAR parameters are configured in an SSID profile.

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

Applies a QoS CAR profile to the inbound direction of an interface.

-

cir cir-value

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

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 greater 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 an interface.

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

By default:
  • If the PIR value is not set, the CBS value is 188 times the CIR value. 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 CIR is set to less than or equal to 80, the CBS is 10000.
  • If the PIR is set and the CIR is larger than 80, 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 an interface.

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

By default:
  • If the CIR is set and the PIR is set to less than or equal to 80, the PBS is 10000.
  • If the CIR is set and the PIR is larger than 80, 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

SSID profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Traffic policing discards excess traffic to limit incoming and outgoing traffic within a proper range and to protect network resources.

When traffic is transmitted from a high-speed link to a low-speed link, the inbound interface of the low-speed link is prone to severe data loss. The data traffic rate needs to be limited. 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, limiting the outgoing traffic rate 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 parameters cbs cbs-value and pbs pbs-value of this command.
  • When the size of a packet is less than the CBS value, the packet is colored green.
  • When the size of a packet is greater than or equal to the CBS value but less than the PBS value, the packet is colored yellow.
  • When the size of a packet is greater than or equal to the PBS value, the packet is colored red.

QoS CAR parameters can be configured in an SSID profile to implement traffic policing on user traffic on all VAPs to which the user profile is applied. These VAPs share a token bucket, and more VAPs indicate fewer network resources that each VAP can occupy.

Precautions

QoS CAR parameters configured in an SSID profile are valid only when the service data forwarding mode is set to tunnel forwarding.

When the traffic policing rate is greater than the maximum rate of an interface, traffic policing does not take effect on the interface. Set the value of cir-value smaller than the rate of the interface.

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

To ensure that the device correctly identifies packet colors, you are advised to set the PBS value greater than the CBS value.

Example

# Configure traffic policing parameters for incoming packets.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name p1
[HUAWEI-wlan-ssid-prof-p1] qos car inbound cir 64 cbs 9000 pbs 18000
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065659

Views: 113071

Downloads: 83

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