NTP


nv show service ntp

Shows the NTP configuration on the switch.

Version History

Introduced in Cumulus Linux 5.0.0

Example

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

nv show service ntp <vrf-id>

Shows the NTP configuration in the specified VRF.

Command Syntax

SyntaxDescription
<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 service ntp <vrf-id> pool <server-id>

Shows information about the specified remote NTP server pool.

Command Syntax

SyntaxDescription
<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 service ntp <vrf-id> server <server-id>

Shows information about the specified remote NTP server.

Command Syntax

SyntaxDescription
<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 server time.nist.gov
        operational  applied
------  -----------  -------
iburst               on