Posted on May 22, 2018 7:38 pm
 |  Asked by Fredrik
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)

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 prefer iburst source Management1
ntp serve all

Note: It can take a little while to sync.

Marked as spam


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 iburst source Vlan4
ntp server vrf MGT iburst source Vlan4
ntp server vrf MGT prefer iburst source Vlan4

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

Make sure you can ping from VRF

ping vrf mgmt

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

this is my config:

ip name-server vrf mgmt
ntp server vrf mgmt
clock timezone MST7MDT

Post your Answer

You must be logged in to post an answer.