beautypg.com

Clock set – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 206

background image

System Configuration and Monitoring Commands

Software Reference for x310 Series Switches

8.6

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

clock set

This command sets the time and date for the system clock.

Syntax

clock set >

Mode

Privileged Exec

Usage

Configure the timezone before setting the local time. Otherwise, when you change the
timezone, the device applies the new offset to the local time.

Example

To set the time and date on your system to 2pm on the 2nd of April 2007, use the
command:

Related Commands

clock timezone

Parameter

Description

Local time in 24-hour format

Day of the current month

<1-31>

The first three letters of the current month.

Current year

<2000-2035>

Note

If Network Time Protocol (NTP) is enabled, then you cannot change the time or
date using this command. NTP maintains the clock automatically using an
external time source. If you wish to manually alter the time or date, you must
first disable NTP.

awplus#

clock set 14:00:00 2 apr 2007