Basic Operation Guide 2013/06

Table Of Contents
Configure the time zone and daylight time rule. These commands:
Set the time zone you want to use
Define the daylight time rule for keeping the correct time when daylight-saving-time shifts occur.
Syntax:
time timezone <-720 - 840> time daylight-time-rule <none |
alaska | continental-us-and-canada |
middle-europe-and-portugal | southern-hemisphere |
western-europe | user-defined>
East of the 0 meridian, the sign is "+". West of the 0 meridian, the sign is "-".
For example, the time zone setting for Berlin, Germany is +60 (zone +1, or 60 minutes), and the
time zone setting for Vancouver, Canada is -480 (zone -8, or -480 minutes). To configure the time
zone and daylight time rule for Vancouver, Canada:
HP Switch(config)# time timezone -480 daylight-time-rule
continental-us-and-canada
Configure the time and date. The switch uses the time command to configure both the time of day
and the date. Also, executing time without parameters lists the switch’s time of day and date. Note
that the CLI uses a 24-hour clock scheme; that is, hour (hh) values from 1 p.m. to midnight are
input as 13 - 24, respectively.
Syntax:
time [hh:mm [:ss]] [mm/dd/ [yy] yy ]
For example, to set the switch to 9:45 a.m. on November 17, 2012:
HP Switch(config)# time 9:45 11/17/12
NOTE: Executing reload or boot resets the time and date to their default startup values.
104 Interface access and system information