beautypg.com

Clock set – Allied Telesis AT-8100 Series User Manual

Page 152

background image

Chapter 8: Basic Switch Management Commands

152

CLOCK SET

Syntax

clock set

hh:mm:ss dd mmm yyyy

Parameters

hh:mm:ss

Specifies the hour, minute, and second for the switch’s time in 24-
hour format.

dd

Specifies the day of the month.

mmm

Specifies the month. The month is specified by its first three letters.
For example, June is Jun. The first letter must be uppercase and
the second and third letters lowercase.

year

Specifies the year. The year must be specified in four digits (for
example, 2011 or 2012).

Mode

Privileged Exec mode

Confirmation Command

“SHOW CLOCK” on page 169

Description

Use this command to manually set the date and the time on the switch.
The command must include both the date and the time.

Note

When set manually the date and time are not retained by the switch
when it is reset or powered off.

Example

This example sets the time and date to 2:15 pm, April 7, 2011:

awplus> enable
awplus# clock set 14:15:0 7 Apr 2011