10-03-2017 01:26 AM - edited 03-08-2019 12:14 PM
Hello,
Is there a simular command, I can run on NX-OS to find out the ntp offset.
Cisco IOS
R1#show ntp associations
address ref clock st when poll reach delay offset disp
*~10..x.x.x 10..x.x.x 4 400 1024 377 15.713 -0.818 1.103
* sys.peer, # selected, + candidate, - outlyer, x falseticker, ~ configured
I have tried the following on but it doesnt give me the offset
N7K-WAN1# show ntp peer-status
Total peers : 7
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
remote local st poll reach delay vrf
-------------------------------------------------------------------------------
=84.x.x.x 10.x.x.x 2 64 377 0.01067 default
Thanks in advanced for the Help
10-03-2017 06:18 AM
Based on my research I don't think the term offset is available with show ntp ... in NX-OS as seen in ios but probably you can check
#show ntp statistics peer ipaddr ip-address.
as it contains info about synchronization time.
NX_7K# show ntp statistics peer ipaddr x.x.x.x
remote host: x.x.x.x
local interface: Unresolved
time last received: 2s
time until next send: 14s
reachability change: 408s
packets sent: 30
packets received: 30
bad authentication: 0
bogus origin: 0
duplicate: 0
bad dispersion: 0
bad reference time: 0
candidate order: 6
I hope this helps. Good luck!
-Austin
10-04-2017 01:54 AM
10-04-2017 02:19 PM
As I said term offset is not available with ntp in NX-OS however ntp statistics is useful when troubleshooting ntp in nexus..on other side its there with ptp protocol.
NX_7K# show ntp statistics peer ipaddr x.x.x.x
remote host: x.x.x.x
local interface: Unresolved
time last received: 2s
time until next send: 14s
reachability change: 408s
packets sent: 30
packets received: 30
bad authentication: 0
bogus origin: 0
duplicate: 0
bad dispersion: 0
bad reference time: 0
candidate order: 6
N7K#show ptp clock
PTP Device Type: Boundary clock
Clock Identity : 0:22:55:ff:ff:79:a4:c1
Clock Domain: 0
Number of PTP ports: 0
Priority1 : 1
Priority2 : 1
Clock Quality:
Class : 248
Accuracy : 254
Offset (log variance) : 65535
Offset From Master : 0
Mean Path Delay : 0
Steps removed : 0
Local clock time:Sun Jul 3 14:13:24 2011
I hope this helps. Good luck!
01-25-2018 04:46 AM - edited 02-20-2018 09:38 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide