reset ptp statistics

Function

The reset ptp statistics command clears statistics about PTP packets on interfaces.

Format

reset ptp statistics { all | interface { interface-name | interface-type interface-number } }

Parameters

Parameter Description Value
all

Clears statistics about PTP packets of all interfaces.

-

interface interface-type interface-number

Clears statistics about PTP packets on a specific interface.

-

interface-name

Interface name.

-

Views

User view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
clksync execute

Usage Guidelines

Usage Scenario

To clear statistics about PTP packets on a specific interface or all interfaces, run the reset ptp statistics command. After this, run the display ptp interface interface-type interface-number command to display statistics about PTP packets. The command output helps you check whether PTP device can implement time synchronization.

In VS mode, this command is supported only by the admin VS.

Example

# Clear statistics about PTP packets on GE 0/1/1.
<HUAWEI> reset ptp statistics interface GigabitEthernet0/1/1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic