clock

This command configures the date and time of the device.

Syntax

(config-system)# clock 
(clock)# 

Command

Description

date

Defines the date in the format dd/mm/yyyy (i.e., day/month/year).

date-header-time-sync {off|on}

Enables the device to obtain its date and time for its internal clock from the SIP Date header in 200 OK messages received in response to sent REGISTER messages.

date-header-time-sync-interval

Defines the minimum time (in seconds) between synchronization updates using the SIP Date header method for clock synchronization.

ptp-time-sync {off|on}

Enables the device (virtual machine) to obtain its date and time from the host's virtual PTP (Precision Time Protocol) device.

Note: The parameter is applicable only to Mediant CE/VE deployed on Azure or Hyper-V.

summer-time

Configures daylight saving time.

time

Defines the current time in the format hh:mm:ss (i.e., hour:minutes:seconds).

utc-offset

Defines the time zone (offset from UTC) in seconds.

Command Mode

Privileged User

Example

This example configures the date of the device.

(config-system)# clock 
(clock)# date 23/11/2016