remark ip-precedence

Function

The remark ip-precedence command re-marks the precedence of IP packets.

The undo remark ip-precedence command cancels the configuration.

By default, the re-marking the precedence of IP packets is not configured in traffic behavior view.

Format

remark ip-precedence ip-precedence

undo remark ip-precedence [ ip-precedence ]

Parameters

Parameter Description Value
ip-precedence

Specifies the value of IP precedence.

It 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

You can run this command to re-mark the IP precedence of packets in the traffic classifier.

Prerequisites

The traffic behavior is configured.

Follow-up Procedure

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

Precautions

If the remark ip-precedence command is run repeatedly in the same traffic behavior view, the later configuration overrides the previous one.

This command re-marks only the outermost label of packets.

Example

# Set the IP precedence of packets to 1.
<HUAWEI> system-view
[~HUAWEI] traffic behavior b1
[*HUAWEI-behavior-b1] remark ip-precedence 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >