A PTP Boundary or Ordinary clock synchronizes to the master clock
through the reception of the PTP event packets. To reconfigure clocks to a different domain,
the existing configuration must be deleted. The Boundary and Ordinary clocks can be
configured to operate on a single PTP domain.
-
To create or delete the Boundary or Ordinary clock, use
the following commands:
create network-clock ptp
[boundary | ordinary] {domain domain_number}
delete network-clock ptp [boundary |
ordinary]
-
Enable or disable the Boundary or Ordinary clock, use the
following commands:
enable network-clock ptp [boundary |
ordinary]
disable network-clock ptp
[boundary | ordinary]
Note
After you enable a boundary clock, you cannot
create an ordinary clock. However, you can delete the boundary clock instance and create
a new one in order to change the domain number.
To create an ordinary clock instance in the
switch that has the boundary clock instance enabled, delete the boundary clock instance,
save the configuration and reboot the switch. After the reboot, you can create and enable
the ordinary clock instance. Similarly, to create and enable a boundary clock in a switch
that has an ordinary clock enabled, delete the ordinary clock instance, save the
configuration and reboot the switch. After the reboot you can create and enable a boundary
clock. The following message is displayed when you create the boundary clock instance in a
device with no prior clock
instances:
Warning: The ordinary clock cannot be created after enabling the boundary clock. A delete followed by save and reboot are required to create the ordinary clock.
After you enable a boundary clock instance, if you delete the instance
and try to create an ordinary clock instance, the above message is displayed as an error,
and the ordinary clock instance is not created.
-
To configure priority1 and priority2 values of the
Boundary and Ordinary clock, use the following commands:
configure network-clock ptp [boundary | ordinary]
priority1 priority
configure network-clock ptp
[boundary | ordinary] priority2
priority
-
To display the datasets such as Port, Time-properties and
Parent of the Ordinary or Boundary clock, use the following commands:
show network-clock ptp ordinary {parent | port |
time-property}
show network-clock ptp boundary
{parent | port | time-property}