Cisco Systems 1000 Series Network Router User Manual


 
12-16
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
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
tod {R0 | R1} {cisco | ntp}
Example:
Router(config-ptp-clk)# tod R0 ntp
Configures the time-of-day message format used by the
1PPS or BITS interface.
Note Currently, only R0 1PPS port is supported; R1
is not valid. Also, only ntp mode is supported,
not cisco mode.
Step 4
output [1pps] { R0 | R1 }
Example:
Router(config-ptp-clk)# output R0 ntp
Enables output of time-of-day messages using a 1PPS
interface.
Note Currently, only R0 1PPS port is supported; R1
is not valid.
Step 5
clock-port name slave
Example:
Router(config-ptp-clk)# clock-port
SLAVE slave
Specifies the clocking mode of a PTP port and enters the
clock port configuration mode.
Step 6
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 7
clock source ip-address
Example:
Router(config-ptp-port)# clock source
10.10.10.10
Specifies the source IP address of a PTP master clock.
Note You can specify only 1 master clock IP address.
Priority-based clock source selection is not
supported.
Step 8
end
Example:
Router(config-ptp-port)# end
Exits global configuration mode.