The qos-profile command applies the QoS profile to interfaces.
The undo qos-profile command removes the QoS profile that is applied to interfaces.
By default, no QoS profile is applied to an interface.
undo qos-profile { inbound | outbound }
qos-profile qos-profile-name { inbound | outbound } [ identifier { none | vid | ce-vid | vid-ce-vid } ] [ group group-name ]
qos-profile qos-profile-name { inbound | outbound } [ identifier none ] linkage-bandwidth
qos-profile qos-profile-name { inbound | outbound } { identifier { vid | ce-vid | vid-ce-vid } } linkage-bandwidth
Parameter | Description | Value |
---|---|---|
qos-profile-name |
Specifies the name of a QoS profile. |
The value is a string of 1 to 63 characters. |
inbound |
Specifies the inbound direction. |
- |
identifier |
Specifies which queue packets enter. |
- |
none |
Indicates that users share the bandwidth of one SQ. |
- |
vid |
Specifies the external VLAN ID. |
- |
ce-vid |
Specifies the internal VLAN ID. |
- |
vid-ce-vid |
Specifies the internal and external VLAN ID. |
- |
group group-name |
Specifies the name of a shared group of QoS profile instances. After the CAR percentage is configured in a QoS profile, the group parameter cannot be specified when the QoS profile is applied to an interface. |
The value is a string of 1 to 31 characters. |
outbound |
Specifies the outbound direction. |
- |
linkage-bandwidth |
Enables bandwidth association. By default, bandwidth association is disabled. The bandwidth association configuration in the qos-profile command allows the bandwidth value in percentage rate limiting to be changed with the bandwidth configuration change, and minimizes the configuration workload during service deployment change. This parameter is mutually exclusive with the group parameter. |
- |
100GE interface view, 10G LAN interface view, EVC view of a 10GE interface, 25GE interface view, 400GE sub-interface view, 400GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, GE optical interface view, Global VE sub-interface view, PW-VE sub-interface view, VNI view, EVC view of an Eth-Trunk interface, EVC view of a GE interface
Usage Scenario
To achieve uniform scheduling of incoming traffic flows on multiple interfaces, you need to implement traffic management by user levels.
Precautions
<HUAWEI> system-view [~HUAWEI] qos-profile test [*HUAWEI-qos-profile-test] quit [*HUAWEI] vni 8 [*HUAWEI-vni8] qos-profile test inbound
<HUAWEI> system-view [~HUAWEI] qos-profile p1 [*HUAWEI-qos-profile-p1] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] qos-profile p1 inbound