untagged (sub-interface view)

Function

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.

Format

untagged { dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> | default }

undo untagged [ dscp { dscp-value1 [ to dscp-value2 ] } &<1-10> | default ]

Parameters

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.

  • valdscp2: specifies the maximum DSCP value.
  • valdscp2 must be greater than or equal to valdscp1. valdscp1 and valdscp2 specify a DSCP value range.
  • If you do not specify to valdscp2, valdscp1 specifies the DSCP value in packets.
  • If the valdscp1 [ to valdscp2 ] parameters are run more than once, all configurations take effect.

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.

-

Views

100ge sub-interface view, 10GE sub-interface view, 200GE sub-interface view, 25GE sub-interface view, 400GE sub-interface view, 40GE sub-interface view, 50GE sub-interface view, Eth-Trunk sub-interface view, GE sub-interface view, Global VE sub-interface view, VE sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
ethernet write

Usage Guidelines

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.

Example

# Configure an untagged sub-interface to transmit services configured with the DSCP value not being 1 or 3 to 6.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1.2
[*HUAWEI-GigabitEthernet0/1/1.2] untagged default
# Configure an untagged sub-interface to transmit services configured with the DSCP value 1 or 3 to 6.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1.1
[*HUAWEI-GigabitEthernet0/1/1.1] untagged dscp 1 3 to 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >