< Home

iplpm loss-measure color-flag

Function

The iplpm loss-measure color-flag command configures the color bit used in device-level packet loss measurement.

The undo iplpm loss-measure color-flag command restores the default color bit used in device-level packet loss measurement.

By default, bit 0 in the Flags field is used as the color bit for device-level packet loss measurement. The default configuration is recommended.

Format

iplpm loss-measure color-flag { tos-bit tos-bit | flags-bit0 }

undo iplpm loss-measure color-flag

Parameters

Parameter Description Value
tos-bit tos-bit Specifies bit 6 or 7 in the ToS field of IP packets as the color bit for device-level packet loss measurement. The value is 6 or 7.
flags-bit0 Specifies bit 0 in the Flags field of IP packets as the color bit for device-level packet loss measurement. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Device-level packet loss measurement contains measurement on the entire device and direct link. Before deploying Packet Conservation Algorithm for Internet (iPCA) to implement device-level packet loss measurement, run this command to configure the color bit. You can select a color bit according to the actual situation and network planning.

Precautions

Before changing the color bit for device-level packet loss measurement, run the undo iplpm global loss-measure enable command in the system view to disable device-level packet loss measurement. If packet loss measurement is configured on the direct link, run the undo iplpm link loss-measure enable command in the interface view to disable packet loss measurement on the direct link and ensure that the color bits on both devices of the direct link are changed to be the same.

When both network-level and device-level packet loss measurements are enabled on a device, the color bits must be differentiated.

Example

# Configure bit 7 in the ToS field as the color bit for device-level packet loss measurement.

<HUAWEI> system-view
[HUAWEI] iplpm loss-measure color-flag tos-bit 7
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >