debugging ptp

Function

The debugging ptp all command enables all the 1588v2 debugging.

The debugging ptp event command enables the 1588v2 event debugging.

The debugging ptp packet command enables the 1588v2 packet debugging.

The undo debugging ptp all command disables all the 1588v2 debugging.

The undo debugging ptp event command disables the 1588v2 event debugging.

The undo debugging ptp packet command disables the 1588v2 packet debugging.

Format

debugging ptp { all | event | packet }

undo debugging ptp { all | event | packet }

Parameters

Parameter Description Value
all

Displays all debugging information.

-

event

Enables the 1588v2 event debugging.

-

packet

Enables the 1588v2 packet debugging.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
clksync debug

Usage Guidelines

Usage Scenario

The debugging ptp command output helps you locate 1588v2 faults if there are.

Configuration Impact

The debugging ptp command affects the system performance. Disable the debugging function after you complete troubleshooting.

Example

# Enable the 1588v2 event debugging, shut down GE 0/1/0, and display the debugging information.
<HUAWEI> debugging ptp event
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.