
clock
OVERVIEW
Switch ManagementCategory:
configPrimary context:
ip (page 290)Related Commands
sntp (page 634)
time (page 686)
Usage: [no] clock [...]
Description: Display/set current time, date, and local time parameters.
Called without any parameters displays the information
mentioned above. Use 'clock ?' to see a list of all possible
conguration options.
COMMAND STRUCTURE
■ clock set -- Set current time and/or date (p. 87)
■ date -- Current date to set. (MM/DD[/[YY]YY]) (p. 86)
■ time -- Current time to set. (HH:MM[:SS]) (p. 88)
■ [no] clock summer-time -- Enable/disable daylight-saving time changes (p. 87)
■ clock timezone -- Set the number of hours your location is to the West(-) or East(+) of GMT (p. 88)
■ gmt < +14:00 | +13:00 | +12:00 | ... > -- Number of hours your timezone is to the West(-) or
East(+) of GMT. (p. 86)
■ us < alaska | aleutian | arizona | ... > -- Timezone for US locations. (p. 88)
COMMAND DETAILS
us (p. 88)summer-time (p. 87)date (p. 86)
time (p. 88)gmt (p. 86)
timezone (p. 88)set (p. 87)
date
■ clock set [DATE]
Current date to set.
gmt
■ clock timezone gmt < +14:00 | +13:00 | +12:00 | ... >
Number of hours your timezone is to the West(-) or East(+) of GMT.
Supported Values:
■ +14:00
■ +13:00
■ +12:00
■ +11:30
■ +11:00
■ +10:30
■ +10:00
86© 2009 Hewlett-Packard Development Company, L.P.