Skip to main content
Cisco SD-WAN
Support
Product Documentation
Viptela Documentation

clock

clock—Set the time and date on the device. If you have configured NTP on the device, the NTP time overwrites the time and date that you set with the clock command.

Command Syntax

clock set date ccyy-mm-dd
clock set time hh:mm:ss.sss

Options

Date
ccyy-mm-dd
Set the date by specifying four-digit year, two-digit month, and two-digit day. The year can be from 2000 to 2060.
Time
hh:mm:ss.sss
Set the time by two-digit hour (using a 24-hour clock), two-digit minute, two-digit seconds, and an optional three-digit hundredths of seconds.

Note that you must set the time and date in a single command, but the order in which you specify them does not matter.

Output Fields

None

Example Output

vEdge# clock set time 14:30:00 date 2013-11-25
vEdge# show uptime
14:30:03 up 13:51, 1 user, load average: 0.00, 0.01, 0.05

Release Information

Command introduced in Viptela Software Release 14.1.

Additional Information

ntp
show uptime

  • Was this article helpful?