Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    clock

    Syntax

    clock <-d date> <-dst dst-mode> <-g offset> <-t time> -T system:mm[x]

    Release Information

    Command supported by Junos OS Release 9.1 and later.

    Description

    (JCS management module CLI) Display or configure the JCS management module clock settings.

    Options

    -d date—(Optional) Current calendar date in mm/dd/yyyy format.

    -dst dst-mode—(Optional) Daylight saving mode for the clock. Choices include:

    • off—Daylight saving time is off (Standard time)
    • uc—United States and Canada
    • others—Nonstandard daylight saving time (outside the United States and Canada)

    -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.

    Required Privilege Level

    operator (display)

    supervisor (display or configure)

     

    Related Documentation

     

    List of Sample Output

    clock (Display)
    clock (Configure)

    Output Fields

    When you enter this command, you are provide with feedback on the status of your request.

    Sample Output

    clock (Display)

    system> clock –T system:mm[1]
    03/31/2008 16:27:11 GMT+5:00 dst uc

    clock (Configure)

    system> clock -d 04/01/2008 -t 22:12:04 dst uc –T system:mm[1]
    OK

    Published: 2013-07-16