clock

OVERVIEW

Category:

Switch Management

Primary context:

config

 

 

Related Commands

ip (page 290)

 

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

date (p. 86)

summer-time (p. 87)

us (p. 88)

gmt (p. 86)

time (p. 88)

 

set (p. 87)

timezone (p. 88)

 

 

 

 

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

© 2009 Hewlett-Packard Development Company, L.P.

86