The qos phb enable vlan command enables priority mapping on the outbound interface.
The undo qos phb enable vlan command disables priority mapping on the outbound interface.
By default, an interface does not check the PHB table when forwarding packets downstream.
Parameter | Description | Value |
---|---|---|
ds-name | Specifies the name of a DS domain. |
The value is a string of 1 to 48 case-sensitive characters. |
default | Specify default domain. |
- |
vlan | Indicates VLAN configuration on a Layer 2 interface. |
- |
vlan-id1 | Specifies a start VLAN ID. |
The value is an integer ranging from 1 to 4094. |
to vlan-id2 | Specifies an end VLAN ID. |
The value is an integer ranging from 1 to 4094. vlan-id2 must be greater than vlan-id1. |
Usage Scenario
This command indicates that a DS domain is bound to the Layer 2 interface based on Layer 2 VLAN packets to implement priority mappings for the VLAN packets.
As defined in simple traffic classification, external priorities of upstream packets are mapped to internal priorities based on the behavior aggregate (BA) table; internal priorities of downstream packets are mapped to external priorities based on the PHB table. After the qos phb enable command is used on the outbound interface, internal priorities of the outgoing packets on the interface are mapped to external priorities based on the PHB table.<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] portswitch [*HUAWEI-GigabitEthernet0/1/0] port trunk allow-pass vlan 1 to 10 [*HUAWEI-GigabitEthernet0/1/0] qos phb enable vlan 1 to 10