beautypg.com

Chapter 5. clock commands, Clock set, Clock source – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 72: Chapter 5.clock commands, Clock set clock source, Chapter 5. "clock commands

background image

Page 71

Allied Telesis
AT-8000S-S94-3.0 Command Line Interface User’s Guide

Chapter 5. Clock Commands

clock set

The clock set Privileged EXEC mode command manually sets the system clock. To avoid an SNTP conflict, this
command should only be used if there is no clock source set.

Syntax

clock set hh:mm:ss day month year

or

clock set hh:mm:ss month day year

Parameters

hh:mm:ss — Current time in hours (military format), minutes, and seconds (hh: 0 - 23, mm: 0 - 59, ss: 0 - 59).

day — Current day (by date) in the month (1 - 31).

month — Current month using the first three letters by name (Jan, …, Dec).

year — Current year (2000 - 2097).

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC mode

User Guidelines

There are no user guidelines for this command.

Example

The following example sets the system time to 13:32:00 on the 7th March 2002.

clock source

The clock source Global Configuration mode command configures an external time source for the system clock.
Use no form of this command to disable external time source.

Syntax

clock source {sntp}

no clock source

Parameters

sntp — SNTP servers

Console# clock set 13:32:00 7 Mar 2002