Switch date and time, Setting the switch date and time – HP StorageWorks MSA 2.8 SAN Switch User Manual

Page 51

Advertising
background image

Basic Switch Management

51

Fabric OS Procedures Version 3.1.x/4.1.x User Guide

Switch Date and Time

All switches maintain current date and time in non-volatile memory. Date and
time are used for logging events. Switch operation does not depend on the date
and time; a switch with an incorrect date and time value still functions properly.

Note:

This command is disabled when the security feature is enabled. With security

enabled you can only view the current setting.

Setting the Switch Date and Time

To set the date and time of a switch:

1. Log into the switch as the admin user.

2. At the command line, enter the

date

command using the following syntax:

date “MMDDhhmmYY”

The values represent the following:

— MM is the month, valid values are 01-12.

— DD is the date, valid values are 01-31.

— hh is the hour, valid values are 00-23.

— mm is minutes, valid values are 00-59.

— YY is the year, valid values are 00-99.

Note:

Year values greater than 69 are interpreted as 1970—1999, year values less

than 70 are interpreted as 2000—2069. The date function does not support daylight

savings time or time zones.

Example:

switch:admin> date "0505215089"

Fri May 5 21:50:00 UTC 1989

switch:admin>

Advertising