remark inner-8021p

Function

The remark inner-8021p command enables a device to re-mark the 802.1p value in the inner VLAN tag of double-tagged VLAN packets.

The undo remark inner-8021p command disables a device from re-marking the 802.1p value in the inner VLAN tag of double-tagged VLAN packets.

By default, re-marking the 802.1p value in the inner VLAN tag of double-tagged VLAN packets is not configured in traffic behavior view.

Format

remark inner-8021p 8021p-value

undo remark inner-8021p [ 8021p-value ]

Parameters

Parameter Description Value
8021p-value

Specifies an 802.1p value for VLAN packets.

The value is an integer ranging from 0 to 7.

Views

Traffic behavior view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

To enable a device to re-mark the 802.1p value in the inner VLAN tag of double-tagged VLAN packets, run the remark inner-8021p command. After being re-marked, packets are placed in queues based on the new 802.1p values.

Prerequisites

A traffic behavior has been configured.

Configuration Impact

Packets matching the traffic classifier are placed in queues based on the new 802.1p values in the inner VLAN tags.

Follow-up Procedure

Configure a traffic policy and apply the traffic policy to an interface.

If a packet has two- or more-layered VLAN tags, the remark inner-8021p command re-marks only the 802.1p value in the second-layer VLAN tag, with the 802.1p values in the remaining VLAN tags remaining unchanged. If both the remark inner-8021p and remark outer-8021p commands are configured, packets are placed in queues based on the 802.1p values in the outer VLAN tags.

Example

# Enable a device to re-mark the 802.1p value in the inner VLAN tag of packets as 2.
<HUAWEI> system-view
[~HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] remark inner-8021p 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >