qos

Function

The qos cir command configures QoS parameters for a VSI.

The undo qos command deletes the configuration of QoS parameters for a VSI.

By default, QoS parameters are not configured for a VSI.

Format

qos cir cir-value [ pir pir-value ] [ qos-profile qos-profile-name ]

undo qos [ cir cir-value [ pir pir-value ] [ qos-profile qos-profile-name ] ]

Parameters

Parameter Description Value
pir pir-value

Specifies the PIR.

The value is 0 or an integer ranging from 16 to 4294967294, in kbit/s.

  • If you do not specify pir pir-value, the pir-value value is equal to the cir-value value.
  • If you want to specify pir pir-value, ensure that the pir-value value is greater than or equal to the cir-value value.

-pir-value and cir-value cannot be both 0s. If the cir-value value is 0, you must specify pir-value.

-In a cross-NP module scenario, the pir-value doubles.

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 CIR.

The value is 0 or an integer ranging from 16 to 4294967294, in kbit/s.

Views

VSI--PBBENABLE view, VSI-AUTO view, VSI-BD view, VSI-DEFAULT view, VSI-STATIC view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

In an L2VPN scenario, if 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 strictly based on service priorities.

To meet the resource requirements of VPLS services carried over a tunnel without affecting the quality of other VPN services, you can configure VPLS QoS. To configure QoS parameters for a VSI, run the qos cir command. The configuration takes effect to all PWs in the VSI.

Prerequisites

A VSI has been created, or the VSI view has been displayed using the vsi command.

Precautions

The qos cir (VSI view) command is mutually exclusive with the following commands:

  • qos cir (VSI-LDP-PW view)
  • pbb i-vsi enable
  • pbb b-vsi enable
  • mld-snooping enable
  • igmp-snooping enable

Only the NetEngine 8000 F1A supports PBB VPLS.

Example

# Configure QoS parameters in the VSI view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi a2
[*HUAWEI-vsi-a2] qos cir 500 pir 500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >