Set Controller-Date - HP P2000 Reference Manual

Msa system
Hide thumbs Also See for P2000:
Table of Contents

Advertisement

set controller-date

Description Sets the date and time parameters for the system. You can set the date and time manually or
configure the system to communicate with a Network Time Protocol (NTP) server. Date and time
values use Coordinated Universal Time (UTC). Alternatively, you can configure NTP by using the
ntp-parameters
NOTE:
If you specify NTP and date/time parameters in the same command, the NTP parameters
take precedence and the date/time parameters are ignored. If the NTP server cannot be contacted,
the date and time will not be changed and no error message will be displayed.
Syntax To set the date and time manually:
set controller-date
jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec
day
hh:mm:ss
year
To configure use of NTP:
set controller-date
ntp enabled|disabled|on|off
ntpaddress IP-address
timezone +|-hh[:mm]
Parameters jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec
The month.
day
The day number (1–31).
hh:mm:ss
The hour (0–23), the minutes (0–59), and the seconds (0–59).
year
The year as a four-digit number.
ntp enabled|disabled|on|off
Enables or disables use of NTP. When NTP is enabled and the specified NTP server is available,
each controller's time is synchronized with the server.
ntpaddress IP-address
The network address of an available NTP server.
timezone +|-hh[:mm]
The system's time zone as an offset in hours (- 1 to - 1 2, +1 to +13) and minutes (0–59) from UTC. For
example, the Pacific Time Zone offset is -8 during Pacific Standard Time or -7 during Pacific Daylight
Time.
Example Manually set the system date to 1:45 PM on September 22, 2009:
# set controller-date sep 22 13:45:0 2009
Success: Command completed successfully.
Set the system to use NTP with an offset for Mountain Standard Time:
# set controller-date ntp enabled ntpaddress 69.10.36.3 timezone -7
Success: Command completed successfully.
Set the system to use NTP with an offset for the Bangalore, India time zone:
# set controller-date ntp enabled ntpaddress 69.10.36.3 timezone +5:30
Success: Command completed successfully.
command.
HP P2000 G3 MSA System CLI Reference Guide 129
set

Advertisement

Table of Contents
loading

This manual is also suitable for:

P2000 g3

Table of Contents