The qos-profile each-vlan command applies a QoS profile to the traffic of a VLAN.
The undo qos-profile command cancels the QoS profile that is applied to the traffic of a VLAN.
By default, no QoS profile is applied to the traffic of a VLAN.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
qos-profile-name |
Specifies the name of a QoS profile. |
The value is a string of 1 to 63 characters. |
each-vlan |
Indicates that the QoS profile takes effect on the traffic of each VLAN separately. If each-vlan is not specified, the QoS takes effect on all the traffic of all VLANs in the user VLAN view. That is, the scheduling parameters in the QoS profile are applied to all VLANs. |
- |
inbound |
Applies the QoS profile to the incoming traffic of a VLAN. |
- |
outbound |
Applies the QoS profile to the outgoing traffic of a VLAN. |
- |
After this command is run to apply a QoS profile to a VLAN, only the CAR parameters in the QoS profile take effect with the VLAN.
Before running this command to apply a QoS profile to a VLAN, make sure that the qos-profile each-vlan command is already run in the system view to create the QoS profile. When each-vlan is used to specify the QoS profile to take effect for each VLAN, if multiple users are connected to this VLAN, these users share the scheduling parameters configured in the QoS profile.<HUAWEI> system-view [~HUAWEI] qos-profile test [*HUAWEI-qos-profile-test] car cir 1000 pir 6000 inbound [*HUAWEI-qos-profile-test] quit [*HUAWEI] interface GigabitEthernet 0/1/7.1 [*HUAWEI-GigabitEthernet0/1/7.1] commit [~HUAWEI-GigabitEthernet0/1/7.1] user-vlan 1 100 [~HUAWEI-GigabitEthernet0/1/7.1-vlan-1-100] qos-profile test each-vlan inbound