nv show system ntp
|
|
nv show system ntp Shows the NTP configuration and status.
|
|
|
Syntax Description |
N/A |
|
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/ntp |
|
|
Related Commands |
nv show system ntp server |
|
|
Notes |
NTP DHCP is enabled by default: if the DHCP server provides NTP servers, the switch synchronizes with them. |
|
nv show system ntp server
|
|
nv show system ntp server [<server-id> | detail] Shows the NTP server configuration and synchronization details.
|
|
|
Syntax Description |
server-id |
Hostname or IP address of the NTP server.
|
|
detail |
Shows synchronization details for the NTP servers. |
|
|
Default |
N/A |
|
|
History |
25.02.2002
|
|
|
Example |
|
|
|
REST API |
GET https://<ip>/nvue_v1/system/ntp/server
|
|
|
Related Commands |
nv set system ntp server |
|
|
Notes |
|
|
nv show system ntp key
|
|
nv show system ntp key [<key-id>] Shows the NTP authentication keys.
|
|
|
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 |
nv set system ntp key |
|
|
Notes |
|
|
nv set/unset system ntp
|
|
nv set system ntp [state {enabled,disabled} | dhcp {enabled,disabled} | vrf {default} | authentication {enabled,disabled}]
Sets the global NTP configuration.
|
|
|
Syntax Description
|
state |
Enables or disables NTP. |
|
dhcp |
Enables or disables the use of NTP servers that the DHCP server provides. |
|
|
vrf |
VRF to run NTP daemon in. Limited to "default" only. |
|
|
authentication |
Enables or disables NTP authentication. |
|
|
Default
|
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 listen
|
|
nv set system ntp listen <interface-id>
Sets the interface on which NTP listens.
|
|
|
Syntax Description |
interface-id |
Management interface name, for example, eth0. You can set only one interface. |
|
Default |
eth0 |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/ntp/listen |
|
|
Related Commands |
nv show system ntp |
|
|
Notes |
|
|
nv set/unset system ntp server
|
|
nv set system ntp server [<server-id> [iburst {enabled,disabled} | state {enabled,disabled} | key <1-65535> | trusted {yes,no} | version {3,4} | association-type {server,pool}]]
Configures NTP servers. You can configure up to 10 servers.
|
|
|
Syntax Description
|
server-id |
Hostname or IP address of the NTP server. |
|
iburst |
Aggressive polling: the switch sends a burst of eight packets when the server is unreachable, for faster synchronization. |
|
|
state |
Enables or disables the use of this NTP server. |
|
|
key |
ID (1–65535) of the key for authenticating this NTP server. You cannot assign a key to a pool. |
|
|
trusted |
Marks the NTP server as trusted. You cannot mark a pool as trusted.
|
|
|
version |
The NTP protocol version to communicate with the remote server. |
|
|
association-type |
NTP association type: server or pool |
|
|
Default
|
iburst |
disabled |
|
state |
enabled |
|
|
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 NTP authentication is enabled, the switch uses incoming NTP packets for time synchronization only if they come from an authenticated time source.
|
|
nv set/unset system ntp key
|
|
nv {set,unset} system ntp key [<key-id> [trusted {yes,no} | type {md5,sha1,sha256,sha384,sha512} | value <value>]] Configures NTP authentication keys. |
|
|
Syntax Description
|
key-id |
NTP authentication key ID: 1–65535 |
|
trusted |
Marks the key as trusted. |
|
|
type |
Key type: md5, sha1, sha256, sha384, or sha512 |
|
|
value |
Secret key value: printable ASCII characters except #, or a hex string. A value longer than 20 characters is read as hex. The maximum key length is 32 bytes. If you omit the value, the switch prompts for it. |
|
|
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: