< Home

remark ip-precedence

Function

The remark ip-precedence command configures an action of re-marking the IP precedence in IP packets in a traffic behavior.

The undo remark ip-precedence command deletes the configuration.

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

Format

remark ip-precedence ip-precedence

undo remark ip-precedence

Parameters

Parameter

Description

Value

ip-precedence

Specifies the IP precedence.

The value is an integer that ranges from 0 to 7. A larger value indicates a higher priority.

Views

Traffic behavior view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the downstream device needs to provide differentiated services based on the IP precedence, run the remark ip precedence command to configure the device to re-mark the IP precedence in IP packets in a traffic behavior.

Follow-up Procedure

Run the traffic policy command to create a traffic policy and run the classifier behavior command in the traffic policy view to bind the traffic classifier to the traffic behavior containing IP precedence re-marking.

Precautions

After the re-marking action is configured, the device still processes outgoing packets based on the original priority but the downstream Layer 3 device or above processes the packets based on the re-marked priority.

A traffic policy containing the remark ip-precedence action can be only used in the inbound direction.

The remark dscp and remark ip-precedence commands cannot be used in the same traffic behavior.

If you run the remark ip-precedence command in the same traffic behavior view multiple times, only the latest configuration takes effect.

Example

# Re-mark the IP precedence in IP packets with 6 in the traffic behavior b1.

<HUAWEI> system-view
[HUAWEI] traffic behavior b1
[HUAWEI-behavior-b1] remark ip-precedence 6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >