ptp-adaptive dscp

Function

The ptp-adaptive dscp command sets the QoS scheduling priority for 1588 ACR/ATR packets.

The undo ptp-adaptive dscp command restores the default QoS scheduling priority of 1588 ACR/ATR packets.

By default, the QoS scheduling priority of 1588 ACR/ATR packets is 56.

Format

ptp-adaptive dscp dscp-value

undo ptp-adaptive dscp

Parameters

Parameter Description Value
dscp-value

Specifies the QoS scheduling priority for 1588 ACR/ATR packets.

The value is an integer ranging from 0 to 63.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync write

Usage Guidelines

Usage Scenario

A network works normally based on correct clock synchronization. Therefore, the scheduling priority of clock synchronization packets should be higher the priorities of other service packets. Generally, modifying the default scheduling priority of clock synchronization packets is not recommended.

Prerequisites

1588 ACR/ATR has been enabled.

Precautions

This command is supported only on the admin VS.

Set priorities for 1588 ACR/ATR packets before enabling 1588 ACR/ATR unicast negotiation.

Before changing the priorities of 1588 ACR/ATR packets, disable 1588 ACR/ATR unicast negotiation.

Example

# Set the QoS scheduling priority of 1588 ACR/ATR packets to 60.
<HUAWEI> system-view
[~HUAWEI] ptp-adaptive enable
[*HUAWEI] ptp-adaptive dscp 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >