EasyManua.ls Logo

HPE SN6000B

HPE SN6000B
95 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Setting the date and time
The date and time are maintained by the switch's battery-backed RTC circuit. Incorrect date and time will
not affect switch operation. However, setting the date and time accurately is important because these
values are used for logging, error detection, and troubleshooting.
Setting the date
Procedure
1. Log in to the switch using the admin account. The default password is password.
2. Enter the date command:
date "mmddHHMMyy"
The values are as follows:
mm is the month; valid values are 01 through 12.
dd is the date; valid values are 01 through 31.
HH is the hour; valid values are 00 through 23.
MM is minutes; valid values are 00 through 59.
yy is the year; valid values are 00 through 99. (Values greater than 69 are interpreted as 1970 through
1999; values less than 70 are interpreted as 2000-2069.)
switch:admin> date
Fri Dec 30 17:01:48 UTC 2016
switch:admin> date "0109142417"
Mon Jan 9 14:24:00 UTC 2017
Setting the time zone
Users with administrative permissions can set the time zone for the switch by the zone name (such as
PST), by the country and city, or by time zone location (such as US/Central).
If you do not set the time zone, the switch retains the previous zone settings. The tstimezone
command includes an --old option, which reverts to the prior time zone format. For more information,
see the Fabric OS Command Reference.
The tstimezone command has three options:
Procedure
1. The tstimezonecommand with no parameters displays the current time zone setting.
2. The tstimezone --interactive command displays all time zones supported in the firmware.
3. The timeZone_fmt command sets the time zone based on the country and city, or a time zone ID,
such as PST, that you enter.
This command requires administrator privileges.
The time zone setting has the following characteristics:
Automatically adjusts for Daylight Savings Time.
Changing the time zone updates the local time zone setup and is reflected in local time calculations.
By default, switches are in the GMT time zone (0,0). If all switches in a fabric are in one time zone, you
can keep the time zone setup at the default setting.
Setting the date and time 45

Table of Contents

Related product manuals