XGS-5240-Series User Manual

Table Of Contents
Configuration Guide of XGS-5240-Series
68-4
show ntp session [ <ip-address> | <ip
v6-address> ]
To display the information of NTP sessi
on.
11. Debug
Command
Explication
Admin Mode
debug ntp authentication
no debug ntp authentication
To enable debug switch of NTP authenti
cation.
debug ntp packets [send | receive]
no debug ntp packets [send | receive]
To enable debug switch of NTP packet
information.
debug ntp adjust
no debug ntp adjust
To enable debug switch of time update
information.
debug ntp sync
no debug ntp sync
To enable debug switch of time synchro
nize information.
debug ntp events
no debug ntp events
To enable debug switch of NTP event i
nformation.
68.3 Typical Examples of NTP Function
A client switch wanted to synchronize time with time server in network, there is tw
o time server in network, the one is used as host, the other is used as standby, the c
onnection and configuration as follows (Switch A and Switch B are the switch or route
which support NTP server ):