Set date, Alliedware plus command – Allied Telesis AT-S63 User Manual

Page 78

Advertising
background image

Chapter 3: Basic Switch Commands

78

Section I: Basic Operations

SET DATE

Syntax

set date=

dd-mm-yyyy

Parameter

date

Specifies the date for the switch in day-month-year

format.

Description

You use this command to manually set the date on the switch in the event
you are not using an SNTP server. The switch maintains the date even
when the unit is powered off or reset.

Example

This command sets the switch’s date to December 11, 2004:

set date=11-12-2004

AlliedWare Plus

Command

Syntax

clock set

hh:mm:ss

dd-mm-yyyy

Mode

Privileged Exec mode

Description

This AlliedWare Plus command is used to manually set both the date and
the time. The command must include both the date and the time.

Example

This example sets the time to 2:15 pm and the date to February 4, 2009:

awplus> enable
awplus# clock set 14:15:0 4-2-2009

Command

Available

AlliedWare Plus

Advertising