< Home

reset ntp-service statistics packet

Function

The reset ntp-service statistics packet command clears statistics on NTP packets.

Format

reset ntp-service statistics packet [ ipv6 | peer [ ip-address [ vpn-instance vpn-instance-name ] | ipv6 [ ipv6-address [ vpn-instance vpn-instance-name ] ] ] ]

Parameters

Parameter Description Value
ipv6 Clears the statistics about global IPv6 NTP packets. -
peer Clears statistics related to NTP peers. -
ip-address Specifies the IP address of an NTP peer. -
vpn-instance vpn-instance-name Specifies the VPN instance bound to an NTP peer. The value must be an existing VPN instance name.
ipv6 Clears the packet statistics on IPv6 peers. -
ipv6-address Clears the NTP packet statistics on the specified IPv6 peer. -

Views

User view

Default Level

3: Management level

Usage Guidelines

When debugging NTP, you can use this command to clear the statistics on NTP.

The statistics on NTP cannot be recovered after being cleared. Confirm before you delete the statistics.

Example

# Clear statistics on NTP packets.

<HUAWEI> reset ntp-service statistics packet 

# Clear statistics on NTP peers.

<HUAWEI> reset ntp-service statistics packet peer 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic