nv show system ntp
|
|
nv show system ntp [-w status] Display NTP configuration and status.
|
|
|
Syntax Description |
-w status |
Status view: Show short NTP status |
|
Default |
N/A |
|
|
History |
25.02.2002 25.02.3000 : Updated command output |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/ntp |
|
|
Related Commands |
|
|
|
Notes |
By default, NTP DHCP is enabled, so if the DHCP server sends out NTP servers to the clients, the switch will get it and will be synchronized with it. |
|
nv show system ntp server
|
|
nv show system ntp server [<server-id> | -w query] Display NTP servers configuration and query data.
|
|
|
Syntax Description |
server-id |
Hostname or IP address of the NTP server.
|
|
-w query |
Query view: Show query data from NTP servers. |
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/ntp/server
|
|
|
Related Commands |
|
|
|
Notes |
|
|
nv show system ntp key
|
|
nv show system ntp key [<key-id>] Display NTP authentication keys inventory.
|
|
|
Syntax Description |
key-id |
NTP authentication key ID.
|
|
Default |
N/A |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/ntp/key
|
|
|
Related Commands |
|
|
|
Notes |
|
|
nv set/unset system ntp
|
|
nv {set,unset} system ntp [listen {eth0} | state {enabled,disabled} | dhcp {enabled,disabled} | vrf {default} | authentication {enabled,disabled}] Update NTP global configuration. |
|
|
Syntax Description
|
listen |
NTP interface to listen on. Limited to "eth0" only. |
|
state |
NTP state configuration. |
|
|
dhcp |
Use NTP servers leased from DHCP server. |
|
|
vrf |
VRF to run NTP daemon in. Limited to "default" only. |
|
|
authentication |
Enables NTP authentication. |
|
|
Default
|
listen |
eth0 |
|
state |
enabled |
|
|
dhcp |
enabled |
|
|
vrf |
default |
|
|
authentication |
disabled |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/ntp
|
|
|
Related Commands |
nv set system ntp server |
|
|
Notes |
|
|
nv set/unset system ntp server
|
|
nv {set,unset} system ntp server [<server-id> [aggressive-polling {on,off} | state {enabled,disabled} | key <1-65535> | trusted {yes,no} | version {3,4} | association-type {server,pool}]] Update the NTP servers configuration. |
|
|
Syntax Description
|
server-id |
Hostname or IP address of the NTP server. |
|
aggressive-polling |
Aggressive polling of the server. |
|
|
state |
Temporarily disable/enable this NTP server. |
|
|
key |
Specify the key ID to securely communicate with the remote NTP server. |
|
|
trusted |
Trust that NTP server.
|
|
|
version |
The NTP protocol version to communicate with the remote server. |
|
|
association-type |
NTP server association type. |
|
|
Default
|
aggressive-polling |
on |
|
state |
disabled |
|
|
trusted |
no |
|
|
version |
4 |
|
|
association-type |
server |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/ntp/server
|
|
|
Related Commands |
nv set system ntp key |
|
|
Notes |
When authentication of incoming NTP packets is enabled, the switch ensures that they come from an authenticated time source before using them for time synchronization on the switch.
|
|
nv set/unset system ntp key
|
|
nv {set,unset} system ntp key [<key-id> [trusted {yes,no} | type {md5,sha1} | value <value>]] Update the NTP keys configuration. |
|
|
Syntax Description
|
key-id |
NTP authentication key ID. |
|
trusted |
Trust that NTP authentication key. |
|
|
type |
Authentication key type. |
|
|
value |
Secret authentication key value. |
|
|
Default |
trusted |
no |
|
type |
md5 |
|
|
History |
25.02.2002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/ntp/key
|
|
|
Related Commands |
nv set system ntp server |
|
|
Notes |
|
|
Last updated: