clock <-d date> <-dst dst-mode> <-g offset> <-t time> -T system:mm[x]
Command supported by JUNOS Release 9.1 and later.
(JCS management module CLI) Display or configure the JCS management module clock settings.
-d date—(Optional) Current calendar date in mm/dd/yyyy format.
-dst dst-mode—(Optional) Daylight saving mode for the clock. Choices include:
-g offset—(Optional) UTC (GMT) offset in hours. Replace offset with a value from -12 to +12.
-t time—(Optional) Current time in 24–hour hh:mm:ss format.
-T system:mm[x]—Specify the JCS management module as the target of the command. Replace x with a value of 1 or 2.
operator (display)
supervisor (display or configure)
When you enter this command, you are provide with feedback on the status of your request.
system> clock –T system:mm[1]03/31/2008 16:27:11 GMT+5:00 dst uc
system> clock -d 04/01/2008 -t 22:12:04 dst
uc –T system:mm[1]OK