ntp
Syntax
ntp -T system:mm[x] <-en (enabled | disabled)> <-i ip-address | hostname> <-f update-frequency> <-synch>
Release Information
Command supported by Junos OS Release 9.1 and later.
Description
(JCS management module CLI) Configure or display the JCS management module network time protocol (NTP) settings.
Options
-T system:mm[x]—Specify a JCS management module as the command target. Replace x with the primary management module number (1 or 2). The JCS management module is the only valid target available for this command.
-en (enabled | disabled)—(Optional) Enable or disable NTP for the JCS management module.
-i ip-address|hostname—(Optional) IP address or hostname of the NTP server.
-f update-frequency—(Optional) Update frequency (in minutes). The JCS management module clock is automatically updated at the frequency specified. Replace update-frequency with a value from 1 through 45000.
-synch—(Optional) Synchronize the JCS management module clock with the NTP server.
Required Privilege Level
operator (display)
supervisor (display or configure)
Related Topics
List of Sample Output
ntp (Display)ntp (Configure)
Output Fields
Table 1 lists the output fields for the ntp command. Output fields are listed in the approximate order in which they appear.
Table 1: ntp Output Fields
Field Name | Field Description |
|---|---|
-en | NTP status (enabled or disabled). |
-i | IP address or hostname of the NTP server. |
-f | How often (in minutes) the JCS management module is updated by the NTP server. |
-v3en | V3 authentication status (enabled or disabled) between the JCS management module and the NTP server. |
Sample Output
ntp (Display)
system> ntp -T system:mm[1]-en enabled -i timeserver -f 5 -v3en disabled
ntp (Configure)
system> ntp -T system:mm[1] -en enable -I timeserver2
-f 15OK
