Cisco Systems A9014CFD Router User Manual


 
22-35
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
DETAILED STEPS
Command Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
ptp clock ordinary domain
domain
hybrid
Example:
Router(config)# ptp clock ordinary
domain 0
Configures the PTP clock as an ordinary clock and enters
clock configuration mode.
domain—The PTP clocking domain number. Valid
values are from 0 to 127.
hybrid—(Optional) Enables the PTP boundary clock
to work in hybrid mode. Enables the hybrid clock such
that the output of the clock is transmitted to the remote
slaves.
Step 4
clock-port
port-name
slave
Example:
Router(config-ptp-clk)# clock-port
Slave slave
Sets the clock port to PTP slave mode and enters clock port
configuration mode. In slave mode, the port exchanges
timing packets with a PTP master clock.
Step 5
transport ipv4 unicast interface
interface-type interface-number
Example:
Router(config-ptp-port)# transport
ipv4 unicast interface loopback 0
Sets port transport parameters.
interface-type—The type of the interface.
interface-number—The number of the interface.
Step 6
clock source
source-address
Example:
Router(config-ptp-port)# clock
source 8.8.8.1
Specifies the address of a PTP master clock.
Step 7
announce timeout
value
Example:
Router(config-ptp-port)# announce
timeout 8
(Optional) Specifies the number of PTP announcement
intervals before the session times out.
value—The range is from 1 to 10. The default is 3.