NTP


nv show system ntp

Shows the NTP configuration on the switch.

In Cumulus Linux 5.14 and earlier, this command is nv show service ntp.

Version History

Introduced in Cumulus Linux 5.15.0

Example

cumulus@switch:~$ nv show system ntp
           operational                     applied                                                
---------  ------------------------------  ------------------------------ 
reference  local                                                          
offset     25 ms                                                          
status     synchronised                                                   
state      enabled                         enabled                        
vrf        mgmt                            mgmt                           
[server]   0.cumulusnetworks.pool.ntp.org  0.cumulusnetworks.pool.ntp.org 
[server]   1.cumulusnetworks.pool.ntp.org  1.cumulusnetworks.pool.ntp.org 
[server]   2.cumulusnetworks.pool.ntp.org  2.cumulusnetworks.pool.ntp.org 
[server]   3.cumulusnetworks.pool.ntp.org  3.cumulusnetworks.pool.ntp.org 
[listen]   eth0                            eth0                           

nv show system ntp <vrf-id>

Shows the NTP configuration in the specified VRF.

Cumulus Linux 5.15 and later no longer supports this command.

Command Syntax

Syntax Description
<vrf-id> The VRF name.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv show service ntp default
          operational                     applied                       
--------  ------------------------------  ------------------------------
[pool]    4.cumulusnetworks.pool.ntp.org  4.cumulusnetworks.pool.ntp.org
[server]  192.168.0.254                   192.168.0.254                 
[server]  time.nist.gov                   time.nist.gov                 
listen    swp10                           swp10

nv show system ntp listen

Shows the NTP listen interfaces.

Version History

Introduced in Cumulus Linux 5.15.0

Example

cumulus@switch:~$ nv show system ntp listen
Interface
---------
eth0   

nv show system ntp listen <interface-id>

Shows specific NTP interface configuration.

Command Syntax

Syntax Description
<interface-id> The NTP listen interface.

Version History

Introduced in Cumulus Linux 5.15.0

Example

cumulus@switch:~$ nv show system ntp listen eth0  

nv show service ntp <vrf-id> pool <server-id>

Shows information about the specified remote NTP server pool.

Cumulus Linux 5.15 and later no longer supports this command.

Command Syntax

Syntax Description
<vrf-id> The VRF name.
<server-id> The hostname or IP address of the NTP server.

Version History

Introduced in Cumulus Linux 5.0.0

Example

cumulus@switch:~$ nv show service ntp default pool 4.cumulusnetworks.pool.ntp.org
        operational  applied
------  -----------  -------
iburst  on           on

nv show system ntp server <server-id>

Shows information about the specified remote NTP server.

Command Syntax

Syntax Description
<server-id> The hostname or IP address of the NTP server.

Version History

Introduced in Cumulus Linux 5.15.0

Example

cumulus@switch:~$ nv show system ntp server time.nist.gov
                  operational  applied
----------------  -----------  -------
iburst            enabled      enabled
state             enabled      enabled
version           4            4      
association-type  server       server