Cisco Systems A9014CFD Router User Manual


 
22-25
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
Configuring PTP in Unicast Mode
In unicast mode, the slave port and the master port need to know each other’s IP address. Unicast mode
has one to one mapping between the slave and the master. One master can have just one slave and
vice-versa. Unicast mode is not a good option for scalability.
The command used for configuring Cisco ASR 901 on unicast mode is clock-port.
Before configuring Cisco ASR 901 on different modes, you need to configure the loopback address. The
following example shows the configuration of loopback address:
Note This loopback address cannot be used for any protocol other than PTP.
Router(config)#int loopback
Router(config-if)#ip address 8.8.8.2 255.255.255.255
Router(config-if)#
no sh
Router#sh run int loopback
Building configuration...
Current configuration : 72 bytes
!
interface loopback
ip address 8.8.8.2 255.255.255.255
end
!
Note Ensure that this loopback interface is reachable (using ICMP ping) from remote locations, before
assigning the interface to PTP. Once the interface is assigned to PTP, it does not respond to ICMP pings.
The following example shows the configuration of Cisco ASR 901 on the unicast mode:
Router# configure terminal
Router(config)# ptp clock ordinary domain 0
Router(config-ptp-clk) clock-port SLAVE slave
Router(config-ptp-port)# transport ipv4 unicast interface loopback 10
Router(config-ptp-port)# clock-source 8.8.8.1
Configuring PTP in Unicast Negotiation Mode
In unicast negotiation mode, master port does not know the slave port at the outset. Slave port sends
negotiation TLV when active and master port figures out that there is some slave port for
synchronization. Unicast negotiation mode is a good option for scalability as one master has multiple
slaves.
Command Purpose
Router(config-ptp-clk)# clock-port
Configures Cisco ASR 901 on unicast mode. The
following options can be configured with this
command:
Port Name
Port Role