16 debug ntp sync, 17 debug ntp events, 18 show ntp status – PLANET XGS3-24040 User Manual

Page 845: Debug ntp sync, Debug ntp events, Show ntp status

Advertising
background image

60-6

60.16 debug ntp sync

Command: debug ntp sync

no debug ntp sync

Function: To enable/disable debug switch of displaying local time synchronization information.

Parameter: None.

Default: Disabled.

Command Mode: Admin Mode.

Usage Guide: None.

Example: To enable debug switch of displaying local time synchronization information.

Switch# debug ntp sync

60.17 debug ntp events

Command: debug ntp events

no debug ntp events

Function: To enable/disable debug switch of displaying NTP event.

Parameter: None.

Default: Disable the debug switch of displaying NTP event.

Command Mode: Admin Mode.

Usage Guide: To enable debug switch of displaying NTP event, after that, if some server changed from

available to unavailable or from unavailable to available, the received illegal packet events will be printed.

Example: To enable debug switch of displaying NTP event information.

Switch# debug ntp events

60.18 show ntp status

Command: show ntp status

Function: To display time synchronization status, include synchronized or not, layers, address of time

source and so on.

Parameter: None.

Default: None.

Command Mode: Admin and Configuration Mode.

Usage Guide: None.

Example:

Switch# show ntp status

Clock status: synchronized

Clock stratum: 3

Reference clock server: 1.1.1.2

Clock offset: 0.010 s

Root delay: 0.012 ms

Root dispersion: 0.000 ms

Reference time: TUE JAN 03 01:27:24 2006

Advertising