02-19-2024 10:34 PM
Hi,
I am looking command to configure NTP on Cisco N540x router.If you can reply me today it will really help.
Thanks
Prashanth
02-19-2024 10:49 PM
Hello @poojaryp1974 ,
the following command will configure NTP on your router:
router#configure
router(config)#ntp server <IP address of NTP Server>
router(config-ntp)#commit
02-20-2024 12:38 AM
Hello
You do not say if this rtr is to the an authoritative device (server) or it is a peer(client)
Server =An authoritative server to you own rtr
Peer (client) = An non authoritative server that you can share and sync time with.
Ive never used a N54x however NTP is fairly straight forward from a cli perspective, but you should have two options <server/peer>
Example below relates to a ntp client:
ntp server x.x.x.
ntp server x.x.x.x prefer
ntp peer x.x.x.x
(optional)
access-list x permit <server/peer> = limits the ntp devices you wish to communicate with
ntp access-group peer (access-list x)
ntp authenticate
ntp trusted-key xx
ntp authentication-key xx <auth> <word>
ntp source <interface>
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