Posted on May 22, 2018 7:38 pm
 |  Asked by Fredrik
 |  2609 views
Tags:
RESOLVED
0
0
Print Friendly, PDF & Email

I want the NTP traffic to go on a different VRF than default.

There is a command ‘ntp source vrf vlan ‘ that i have set but it will not send any NTP traffic.
the vrf ‘default’ is only used for an underlay VXLAN L3 network and have no internet access, so i have a vrf ‘MGT’
that has the management IP, SNMP and such.

but i’m at loss of what to do with NTP..
running 4.20.5F on 7150, 7280 and 7010 switches (same on all)

1
Posted by Tyler Conrad
Answered on May 22, 2018 8:27 pm

Hi Fredrik,

Can you please output your entire NTP configuration? There’s a few knobs that need to be tuned when using a VRF.

Working Example using Ma1 in MGMT VRF:
Arista-5#show run sec ntp
ntp source vrf MGMT Management1
ntp server vrf MGMT pool.ntp.org prefer iburst source Management1
ntp serve all

Note: It can take a little while to sync.

Marked as spam

Thanks

i missed that there was a vrf section on the ’ntp source’ lines too…

My working config is now.

ntp source vrf MGT Vlan4
ntp server vrf MGT 192.36.143.153 iburst source Vlan4
ntp server vrf MGT ntp1.hosting.local iburst source Vlan4
ntp server vrf MGT se.pool.ntp.org prefer iburst source Vlan4

(Fredrik at May 23, 2018 6:33 pm)
0
Answered on May 22, 2018 9:55 pm

Make sure you can ping from VRF

ping vrf mgmt 4.2.2.2

if you used fqdn vs IP, make sure you have dns in mgmt vrf:

this is my config:

ip name-server vrf mgmt 192.168.10.15
ntp server vrf mgmt 0.pool.ntp.org
clock timezone MST7MDT

Post your Answer

You must be logged in to post an answer.