remark 8021p

Function

The remark 8021p command re-marks the 802.1p value of a VLAN packet.

The undo remark 8021p command cancels the configuration.

By default, re-marking the 802.1p value of a VLAN packet is not configured in traffic behavior view.

Format

remark 8021p 8021p-value

undo remark 8021p [ 8021p-value ]

Parameters

Parameter Description Value
8021p-value

Specifies the 802.1p value of a VLAN packet, that is, the priority value of a VLAN packet.

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 change the priority of a VLAN packet in the traffic classifier, you can run this command to re-mark the 802.1p value of the packet and adjust the priority of the packet.

Prerequisites

The traffic behavior is configured.

Follow-up Procedure

The traffic policy is configured and the policy is applied to interfaces.

Precautions

If remark 8021p for incoming traffic is required, you need to run both the trust upstream default and trust 8021p commands for incoming traffic to implement the re-marking function.

Example

# Re-mark the 802.1p priority of a VLAN packet to 2.
<HUAWEI> system-view
[~HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] remark 8021p 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >