08-20-2015 08:12 AM - edited 03-05-2019 02:07 AM
HI, everybody, I set on a cisco N9372 switch config NTP, show that why not to take effect.
NXOS image file is: bootflash:///n9000-dk9.7.0.3.I1.1a.bin
config:
Feature ntp
clock timezone CST 8
ntp server 10.104.240.21 prefer
ntp server 10.104.240.22
ntp source-interface loopback0
----------------------------------------------------------------------------
show that why not to take effect
show ntp status:
Distribution : Disabled
Last operational state: No session
The configuration have what problem, what else need to modify, thank you for your attention!
08-21-2015 01:11 AM
Hello
Can you please post the output of show ntp peer-status ?
Best regards,
Martin
08-22-2015 07:58 PM
hello
CS9372A# show ntp peer-status
Total peers : 2
* - selected for sync, + - peer mode(active),
- - peer mode(passive), = - polled in client mode
remote local st poll reach delay vrf
-------------------------------------------------------------------------------
*10.104.240.21 10.104.240.3 8 64 377 0.00066 default
=10.104.240.22 10.104.240.3 16 64 0 0.00000 default
Best regards,
08-23-2015 11:00 PM
Hello
Your configuration is correct, the device is synchronizing with 10.104.240.21 as indicated by the output of show ntp peer-status.
On some NX-OS versions you can also verify this using show clock where NTP is reported as the time source.
Best regards,
Martin
08-24-2015 03:14 AM
Hello, thank you very much
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