You are here: CLI_commands > clock set
Previous TopicNext Topic

clock set

clock set <year> <month> <day> <time>

Description

This command sets the date and time on the IAP system clock.

Syntax

Parameter

Description

Range
<year> Sets the year. Requires all 4 digits. Numeric
<month> Sets the month. 1-12
<day> Sets the day. 1-31
<time> Sets the time. Specify hours, minutes, and seconds separated by spaces. Numeric

Usage Guidelines

You can configure the year, month, day, and time. Specify the time using a 24-hour clock with hours, minutes and seconds separated by spaces.

Example

The following example sets the clock to 21 May 2013, 1:03:52 AM:

(Instant AP)# clock set 2013 5 21 1 3 52

Command History

Version

Description

Aruba Instant 6.2.1.0-3.3

This command is introduced.

Command Information

IAP Platform

Command Mode

All platforms

Privileged EXEC mode