cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3075
Views
10
Helpful
2
Replies

ASR1002-X NTP throguh VRFs

abrezov
Level 1
Level 1

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
1 Accepted Solution

Accepted Solutions

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.

View solution in original post

2 Replies 2

Joseph W. Doherty
Hall of Fame
Hall of Fame
As long a you source from an interface in the same VRF (which you're doing?), it might work.

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.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card