vyos@vyos:~$ show ntp ntpq: read: Connection refused vyos@vyos:~$ show ntp info ntpq: read: Connection refused ntpq: read: Connection refused vyos@vyos:~$ show ntp server 0.de.pool.ntp.org Exiting, name server cannot be used: Temporary failure in name resolution (-3)20 Mar 13:23:46 ntpdate[7409]: name server cannot be used: Temporary failure in name resolution (-3)
To reproduce:
set system ntp listen-address '1192.0.2.41' set system ntp listen-address '2001:db8::41' set system ntp server 0.de.pool.ntp.org prefer set system ntp vrf 'MGMT'
Running the op-mode command within the VRF context works:
vyos@vyos:~$ sudo ip vrf exec MGMT ntpq -n -c peers remote refid st t when poll reach delay offset jitter ============================================================================== *193.30.121.7 131.188.3.223 2 u 277 1024 377 19.942 0.011 0.363