The untagged command configures a matching policy on an untagged sub-interface. Untagged VLAN packets entering an interface are distributed to different untagged sub-interfaces according to the DSCP values of these packets and then access the L3VPN.
The undo untagged command restores the default configuration.
By default, no matching policy is configured on sub-interfaces.
Parameter | Description | Value |
---|---|---|
dscp dscp-value1 |
Specifies the minimum DSCP value. |
The value is an integer ranging from 0 to 63. |
dscp dscp-value2 |
Specifies the DSCP value in packets.
In one untagged command, a maximum of 10 DSCP value ranges can be specified using to. According to relevant standards, six bits of the Type of Service (ToS) field in an IPv4 packet header serve as the DSCP, which provides reference for differentiated services (DiffServ) and is used to ensure the Quality of Service (QoS) on the IP network. The operation of the traffic controller on the gateway depends on the DSCP field. |
The value is an integer ranging from 0 to 63. |
default |
Indicates that packets that do not match 802.1p value/DSCP value/EthType configured on a sub-interface are processed by the default sub-interface. |
- |
Usage Scenario
On Layer 2 networks, packets carry one or two VLAN tags to identify users and services. If an access device does not support QinQ or one VLAN ID is used by multiple services, the access device may add service access information to the 802.1p/DSCP field. In this situation, edge devices on the network need to use the 802.1p/DSCP value to identify access users, bound the users to different VPNs, and apply different QoS scheduling policies. Untagged sub-interfaces provide different L3VPN services for untagged services based on their DSCP values.
Configuration Impact
After the untagged dscp command is configured on an untagged sub-interface, the interface of the sub-interface cannot process Layer 3 services, and untagged packets are distributed to the sub-interface for processing.
Precautions
After the untagged command is configured on an untagged sub-interface, the port default vlan command cannot be configured on the interface of the sub-interface.
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1.2 [*HUAWEI-GigabitEthernet0/1/1.2] untagged default
<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/1.1 [*HUAWEI-GigabitEthernet0/1/1.1] untagged dscp 1 3 to 6