This command configures and displays the management-module network time protocol (NTP) settings.
Function | What it does | Command | Valid targets |
---|---|---|---|
Display management module NTP settings | Displays the NTP settings for the specified I/O
module. Possible return values are:
|
ntp |
where x is the primary management-module bay number. |
Enable / disable NTP | Enables or disables NTP for the management-module. |
ntp -en
state
where state is enabled or disabled. This
command can only be run by users who have one or more of the following
command authorities:
|
where x is the primary management-module bay number. |
NTP server IP address or hostname - set | Checks syntax and sets the IP address or hostname of the NTP server. |
ntp
-i
ipaddress/hostname
where ipaddress/hostname is the IP address or hostname of the NTP server. This
command can only be run by users who have one or more of the following
command authorities:
|
where x is the primary management-module bay number. |
NTP update frequency - set | Sets how often the management module clock is automatically updated by the NTP server. |
ntp
-f
time
where time is the NTP update frequency, in minutes with a maximum value of 45000. This
command can only be run by users who have one or more of the following
command authorities:
|
where x is the primary management-module bay number. |
NTP - Enable / disable V3 authentication | Enables or disables V3 authentication between the
management-module and the NTP server.
Note: The NTP server authentication
key must be set, using the ntp -v3 command option, before enabling
V3 authentication.
|
ntp -v3en
state
where state is enabled or disabled. This command can only be run by users who have one or more
of the following command authorities:
|
where x is the primary management-module bay number. |
NTP server authentication key - set | Sets the v3 authentication key that the management
module uses to access the NTP server. The authentication key contains
the following values:
|
ntp
-v3
key_index
key_type
key
where:
This command can only be run by users who have
one or more of the following command authorities:
|
where x is the primary management-module bay number. |
NTP clock- synchronize | Synchronizes the management-module clock with the NTP server. (You must configure a valid NTP server before you can synchronize.) |
ntp
-synch
This command can only be run by users
who have one or more of the following command authorities:
|
where x is the primary management-module bay number. |
Example:
ntp
The following example shows the information that is returned from this command:
system:mm[2]> ntp
-en enabled
-i timeserver
-f 5
-v3en disabled
-v3 Not configured
NTP is disabled.
system:mm[2]>