Users Guide
2. Configure PTP globally.
TR2(config)# ptp clock boundary
TR2(config)# ptp source ipv4 10.0.0.11
TR2(config)# ptp source ipv6 10:0:0::b
TR2(config)# ptp system-time enable
3. Configure PTP on the interfaces.
TR2(config)# interface ethernet 1/1/1:1
TR2(conf-if-eth1/1/1:1)# ptp enable
TR2(conf-if-eth1/1/1:1)# ptp transport ipv4 multicast
TR2(config)# interface ethernet 1/1/25:1
TR2(conf-if-eth1/1/25:1)# ptp enable
TR2(conf-if-eth1/1/25:1)# ptp transport ipv4 multicast
PTP commands
clear ptp counters
Resets the statistics of the PTP packets that are received at or transmitted from an interface.
Syntax
clear ptp counters [{ethernet node/slot/port[:subport]} | {port-channel
port-channel-id}]
Parameters
● ethernet node/slot/port[:subport]—Enter the Ethernet interface information.
● port-channel port-channel-id—Enter the port channel interface number.
Defaults None
Command Mode EXEC
Security and
Access
Netadmin and sysadmin
Usage
Information
None
Example
OS10# clear ptp counters ethernet 1/1/14
Supported
Releases
10.5.1.0 or later
debug ptp
Enables debug logs for the PTP stack.
Syntax
debug ptp {all | bmca | protocol | servo | system | timestamps} {level
level}
Parameters
● all—All debug logs of system, stack, and servo
● bmca—Best Master Clock Algorithm (BMCA) logs
● protocol—PTP protocol engine and transport layer logs
● servo—Servo and PLL logs
● system—System and task logs
● timestamps—Logs related to timestamps
● level—Specify the debug log level. Enter a value from 1 to 5. Level 1 is critical and level 5 is
informational.
Defaults
● Debug: Not enabled
● Debug level: 1
System management 237