03-16-2018 08:40 AM - edited 03-05-2019 10:07 AM
Hello,
I am having trouble getting my ASR1002-X to sync time with NTP servers that are accessible through the management interface.
My management interface is in the "Mgmt-intf" vrf for isolation purposes. This VRF has a default route to a router with internet access.
Will this work? I'm concerned that none of these commands allow you to specify a VRF to use (as NX-OS allows you to).
#show run | include ntp ntp source GigabitEthernet0 ntp server 129.6.15.28 prefer source GigabitEthernet0 ntp server 129.6.15.29 source GigabitEthernet0
#show ntp associations detail 129.6.15.28 configured, ipv4, insane, invalid, unsynced, stratum 16 ref ID .INIT., time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899) our mode client, peer mode unspec, our poll intvl 1024, peer poll intvl 1024 root delay 0.00 msec, root disp 0.00, reach 0, sync dist 15945.50 delay 0.00 msec, offset 0.0000 msec, dispersion 15937.50, jitter 0.00 msec precision 2**10, version 4 assoc id 51493, assoc name 129.6.15.28 assoc in packets 0, assoc out packets 210, assoc error packets 0 org time DE55EB96.85E35568 (03:07:02.523 EDT Fri Mar 16 2018) rec time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899) xmt time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899) filtdelay = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 filtoffset = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 filterror = 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 minpoll = 6, maxpoll = 10 129.6.15.29 configured, ipv4, insane, invalid, unsynced, stratum 16 ref ID .INIT., time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899) our mode client, peer mode unspec, our poll intvl 1024, peer poll intvl 1024 root delay 0.00 msec, root disp 0.00, reach 0, sync dist 15944.98 delay 0.00 msec, offset 0.0000 msec, dispersion 15937.50, jitter 0.00 msec precision 2**10, version 4 assoc id 51494, assoc name 129.6.15.29 assoc in packets 0, assoc out packets 210, assoc error packets 0 org time DE55EBB9.8624DEA0 (03:07:37.524 EDT Fri Mar 16 2018) rec time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899) xmt time 00000000.00000000 (19:00:00.000 EST Thu Dec 31 1899) filtdelay = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 filtoffset = 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 filterror = 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 16000.0 minpoll = 6, maxpoll = 10
Solved! Go to Solution.
03-16-2018 11:34 AM
Yea, I fixed it, the actual commands needed were:
ntp server vrf Mgmt-intf 129.6.15.28 prefer ntp server vrf Mgmt-intf 129.6.15.29
I guess I'm too used to NX-OS where "vrf" is specified at the end of the command.
03-16-2018 09:58 AM
03-16-2018 11:34 AM
Yea, I fixed it, the actual commands needed were:
ntp server vrf Mgmt-intf 129.6.15.28 prefer ntp server vrf Mgmt-intf 129.6.15.29
I guess I'm too used to NX-OS where "vrf" is specified at the end of the command.
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