29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Managing System Files<br />

Setting the System Clock<br />

Setting the System Clock<br />

The switch clock displays time by using a 24-hour clock format. It can also be set for use in any time<br />

zone. Daylight Savings Time (DST) is supported for a number of standard time zones. DST parameters<br />

can be programmed to support non-standard time zones and time off-set applications.<br />

All switch files and directories listed in the flash directory bear a time stamp. This feature is useful for file<br />

management purposes.<br />

Setting Date and Time<br />

Date<br />

You can set the local date, time zone, and time for your switch or you can also set the switch to run on<br />

Universal Time Coordinate (UTC or GMT).<br />

To display the current system date for your switch, use the system date command. If you do not specify a<br />

new date in the command line, the switch will display the current system date.<br />

To modify the switch’s current system date, enter the new date with the command syntax. The following<br />

command will set the switch’s system date to June 23, 2002.<br />

-> system date 06/23/2002<br />

When you specify the date you must use the mm/dd/yyyy syntax where mm is the month, dd is the day and<br />

yyyy is the year.<br />

Time Zone<br />

Time<br />

To determine the current time zone or to specify a new time zone for your switch, use the<br />

system timezone command. This specifies the time zone for the switch and sets the system clock to run<br />

on UTC time (or Greenwich Mean Time). The following is displayed for the Pacific standard time zone:<br />

-> system timezone<br />

PST: (Coordinated Universal Time) UTC-8 hours<br />

To set a new time zone for the system clock, use the system timezone command along with the appropriate<br />

time zone abbreviation. Refer to the table in “Daylight Savings Time Configuration” on page 2-18 for<br />

time zone abbreviations. The following command sets the system clock to run on Pacific Standard Time:<br />

-> system timezone pst<br />

To display the current local time for your switch, use the system time command. If you do not specify a<br />

new time in the command line, the current system time is displayed as shown:<br />

-> system time<br />

17:08:51<br />

To modify the switch’s current system time, enter the system time command. When you specify the time<br />

you must use the hh:mm:ss syntax where hh is the hour based on a 24 hour clock. The mm syntax<br />

represents minutes and ss represents seconds. You must use two digits to specify the minutes and two<br />

digits to specify the seconds. The following command will set the switch’s system time to 10:45:00 a.m:<br />

-> system time 10:45:00<br />

Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014 page 2-17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!