Cisco Systems 1000 Series Network Router User Manual


 
12-15
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
OL-16506-17
Chapter 12 IEEE 1588v2 PTP Support
Configuring IEEE 1588v2 PTP
Examples
The following example shows how to configure input time-of-day messages:
Router# configure terminal
Router(config)# ptp clock ordinary domain 0
Router(config-ptp-clk)# tod R0 ntp
Router(config-ptp-clk)# input 1pps
R0
Router(config-ptp-clk)# clock-port MASTER master
Router(config-ptp-port)# transport ipv4 unicast interface Loopback11 negotiation
Router(config-ptp-port)# clock destination 20.20.20.20
Router(config-ptp-port)# end
Configuring Output Time-of-Day Messages
This section describes how to configure output time-of-day messages.
Note You can configure ToD output only on PTP slave clock ports.
SUMMARY STEPS
1. configure terminal
2. ptp clock ordinary domain domain_number
3. tod{R0 | R1} {cisco | ntp}
4. output [1pps] {R0|R1}
5. clock-port name slave
6. transport ipv4 unicast interface {GigabitEthernet | Loopback} interface-number {negotiation}
7. clock source ip-address
8. end
Step 7
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 8
end
Example:
Router(config-ptp-port)# end
Exits global configuration mode.
Command Purpose