73
[Sysname] ptp mode oc
[Sysname] ptp priority clock-source local priority1 10
Related commands
•
ptp
mode
•
ptp
profile
ptp profile
Use
ptp profile
to configure a PTP profile for the device.
Use
undo ptp profile
to restore the default.
Syntax
ptp
profile
{
1588v2
|
8021as
}
undo
ptp
profile
Default
PTP operates only after you configure a PTP profile.
Views
System view
Predefined user roles
network-admin
Parameters
1588v2
: Specifies the PTP profile as IEEE 1588 version 2.
8021as
: Specifies the PTP profile as IEEE 802.1AS.
Usage guidelines
Configure a PTP profile for the device before any other PTP configurations.
If you change or remove the PTP profile, PTP functions do not operate and all the configurations for
that PTP profile will be removed.
Examples
# Configure the PTP profile as IEEE 1588 version 2.
<Sysname> system-view
[Sysname] ptp profile 1588v2
ptp slave-only
Use
ptp
slave-only
to configure the OC to operate only as a member clock.
Use
undo
ptp
slave-only
to restore the default.
Syntax
ptp
slave-only
undo
ptp
slave-only
Default
An OC can operate either as a master clock or a member clock.