nv show system ntp
|
|
nv show system ntp Display NTP configuration.
|
|
|
Syntax Description |
N/A |
|
|
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> | detail] Display NTP servers configuration and detail data.
|
|
|
Syntax Description |
server-id |
Hostname or IP address of the NTP server.
|
|
detail |
Detail view: Show detail data from NTP servers. |
|
|
Default |
N/A |
|
|
History |
25.02.2002 25.02.5002 Added thedetail option and updated output
|
|
|
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 system ntp [state {enabled,disabled} | dhcp {enabled,disabled} | vrf {default} | authentication {enabled,disabled}]
Update NTP global configuration.
|
|
|
Syntax Description
|
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
|
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>
Update NTP listen configuration.
|
|
|
Syntax Description |
interface-id |
Interface ID |
|
Default |
eth0 |
|
|
History |
25.02.5002 |
|
|
Example |
|
|
|
REST API |
PATCH https://<ip>/nvue_v1/system/ntp/listen |
|
|
Related Commands |
nv set system ntp server |
|
|
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}]]
Update the NTP servers configuration.
|
|
|
Syntax Description
|
server-id |
Hostname or IP address of the NTP server. |
|
iburst |
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
|
iburst |
on |
|
state |
disabled |
|
|
trusted |
no |
|
|
version |
4 |
|
|
association-type |
server |
|
|
History |
25.02.2002 25.02.5002 Updated command output. Updated command option (iburst) |
|
|
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: