debugging ntp-service

Function

The debugging ntp-service command enables NTP debugging.

The undo debugging ntp-service command disables NTP debugging.

By default, NTP debugging is disabled.

Format

debugging ntp-service { access | adjustment | authentication | event | filter | packet [ ipv6 ] [ send | receive ] | parameter | refclock | selection | synchronization | validity | rate | all }

undo debugging ntp-service { access | adjustment | authentication | event | filter | packet [ ipv6 ] [ send | receive ] | parameter | refclock | selection | synchronization | validity | rate | all }

Parameters

Parameter Description Value
access

Enables debugging of access control.

-

adjustment

Enables debugging of clock adjustment.

-

authentication

Enables authentication debugging.

-

event

Enables event debugging.

-

filter

Enables debugging of loopback filter information.

-

packet

Enables the packet debugging.

-

ipv6

Enables debugging of IPv6 NTP.

-

send

Enables sent packet debugging.

-

receive

Enables receive packet debugging.

-

parameter

Enables debugging of clock parameters.

-

refclock

Enables debugging of reference clocks.

-

selection

Enables debugging of clock selection information.

-

synchronization

Enables debugging of clock synchronization information.

-

validity

Enables debugging of validity of the remote host.

-

rate

Rate adjustment debugging functions.

-

all

Enables all debugging functions.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ntp debug

Usage Guidelines

This command displays all types of NTP debugging information, or the specified type of NTP debugging information when you configure a key word so that you can determine whether the currently received and sent packets are correct.

Example

# Enable debugging of NTP authentication.
<HUAWEI> debugging ntp-service authentication
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.