Cisco Systems 1000 Series Network Router User Manual


 
12-9
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
OL-16506-17
Chapter 12 IEEE 1588v2 PTP Support
Configuring IEEE 1588v2 PTP
DETAILED STEPS
Examples
The following example shows how to configure an ordinary clock as PTP master:
Router# configure terminal
Router(config)# ptp clock ordinary domain 0
Router(config-ptp-clk)# clock-port MASTER master
Command Purpose
Step 1
configure terminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 2
ptp clock ordinary domain domain_number
Example:
Router(config)# ptp clock ordinary
domain 0
Creates a PTP clock and specifies the clock mode.
Step 3
clock-port name master
Example:
Router(config-ptp-clk)# clock-port
MASTER master
Specifies the clocking mode of a PTP port and enters the
clock port configuration mode.
Step 4
transport ipv4 unicast interface
{GigabitEthernet | Loopback}
interface-number [negotiation]
Example:
Router(config-ptp-port)# transport ipv4
unicast interface Loopback11
negotiation
Specifies the IP version, transmission mode, and
interface that a PTP clock port uses to exchange timing
packets.
The negotiation keyword specifies the unicast
negotiation mode where the slave and master clock
exchange negotiation messages before establishing a
relationship.
Note Only Loopback interface type is supported.
Step 5
clock destination ip-address
Example:
Router(config-ptp-port)# clock
destination 20.20.20.20
Specifies the IP address of a PTP clock destination.
If the clock port is set to master mode with unicast
negotiation, you need not use this command because the
device uses negotiation to determine the IP address of
PTP slave devices.
Step 6
sync interval interval
Example:
Router(config-ptp-port)# sync interval
-4
(Optional) Specifies the interval used to send PTP
synchronization messages.
The default value is -5.
Step 7
end
Example:
Router(config-ptp-port)# end
Exits global configuration mode.