cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1161
Views
0
Helpful
4
Replies

NTP offset nexus NX-OS

TommyM
Level 1
Level 1

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 

 

4 Replies 4

Austin Sabio
Level 4
Level 4

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 

Thanks

I have run the command, but cant figure out how I would work out the offset from the output.

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!