Chapter 22 Configuring Clocking

Configuring PTP for the Cisco ASR 901 Router

 

Command or Action

Purpose

 

 

 

Step 4

clock-port port-nameslave

Sets the clock port to PTP slave mode and enters the clock

 

 

port configuration mode. In slave mode, the port exchanges

 

Example:

timing packets with a PTP master clock.

 

 

 

Router(config-ptp-clk)# clock-port

 

 

SLAVE slave

 

 

 

 

Step 5

transport ipv4 unicast interface

Sets port transport parameters.

 

interface-type interface-number

interface-type—The type of the interface.

 

[negotiation]

 

 

interface-number—The number of the interface.

 

Example:

negotiation—(Optional) Enables dynamic discovery

 

Router(config-ptp-port)# transport

of slave devices and their preferred format for sync

 

ipv4 unicast interface Loopback 0

interval and announce interval messages.

 

negotiation

 

 

 

 

 

Step 6

clock source source-address

Specifies the address of a PTP master clock.

 

Example:

 

 

Router(config-ptp-port)# clock

 

 

source 133.133.133.133

 

 

 

 

Step 7

clock-port port-namemaster

Sets the clock port to PTP master mode. In master mode,

 

 

the port exchanges timing packets with PTP slave devices.

 

Example:

Note The master clock-port does not establish a clocking

 

Router(config-ptp-port)# clock-port

session until the slave clock-port is phase aligned.

 

Master master

 

 

 

 

Step 8

transport ipv4 unicast interface

Sets port transport parameters.

 

interface-type interface-number

interface-type—The type of the interface.

 

[negotiation]

 

 

interface-number—The number of the interface.

 

Example:

negotiation—(Optional) Enables dynamic discovery

 

Router(config-ptp-port)# transport

of slave devices and their preferred format for sync

 

ipv4 unicast interface Loopback 1

interval and announce interval messages.

 

negotiation

 

 

 

 

 

Step 9

exit

Exits clock port configuration mode.

 

Example:

 

 

Router(config-ptp-port)# exit

 

 

 

 

Note The hybrid clock (HC) relies on an external clock source for frequency recovery while phase is recovered through PTP. Once the HC reaches the normal or phase aligned state, and if the external frequency channel is active and traceable to PRC, then the HC moves into the phase aligned state even when the PTP link is down.

Verifying Hybrid modes

Use the show running-config section ptp command to display the sample output.

Router# show running-config section ptp

 

Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide

22-38

OL-23826-09

Page 416
Image 416
Cisco Systems A9014CFD manual Verifying Hybrid modes, 22-38, Router# show running-config section ptp