22-19
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 22 Configuring Clocking
Configuring PTP for the Cisco ASR 901 Router

Setting System Time to Current Time

To set the system time to the current time before configuring PTP, complete the steps given below:
SUMMARY STEPS
1. enable
2. calendar set hh : mm : ss day month year
3. clock read-calendar
4. show clock
DETAILED STEPS

Configuring PTP Ordinary Clock

The following sections describe how to configure a PTP ordinary clock.
Configuring Master Ordinary Clock, page 22-19
Configuring Slave Ordinary Clock, page 22-21

Configuring Master Ordinary Clock

Complete the following steps to configure the a master ordinary clock:
SUMMARY STEPS
1. enable
2. configure terminal
3. ptp clock ordinary domain domain
Command Purpose
Router# calendar set
hh : mm : ss day
month year
Example:
Router# calendar set 09:00:00 6 Feb 2013
Sets the hardware clock.
hh : mm : ss—RCurrent time in hours (using
24-hour notation), minutes, and seconds.
day—Current day (by date) in the month.
monthCurrent month (by name).
year—Current year (no abbreviation).
Router# clock read-calendar
Example:
Router# clock read-calendar
Synchronizes the system clock with the calendar time.
Router# show clock
Example:
Router# show clock
Verifies the clock setting.