Syntax
ptp domain domain-number
undo ptp domain
Default
The PTP domain number is 0.
Views
System view
Predefined user roles
network-admin
Parameters
domain-number: Specifies the PTP domain by its domain number, in the range of 0 to 255.
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
Examples
# Configure the domain number to use for the device as 2.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode oc
[Sysname] ptp domain 2
Related commands
•
ptp mode
•
ptp profile
ptp enable
Use ptp enable to enable PTP on the port.
Use undo ptp enable to disable PTP.
Syntax
ptp enable
undo ptp enable
Default
PTP is disabled on the port.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
An OC can have only one PTP port.
As a best practice, enable PTP on the port after you configure PTP parameters.
67