53
Specifying a PTP standard
Before configuring PTP, specify a PTP standard first. Otherwise, PTP cannot operate. Changing the
PTP standard for the device clears all PTP configurations defined by the standard.
To specify a PTP standard:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Specify a PTP standard.
ptp profile
{
1588v2
|
8021as
}
By default, no PTP standard is
configured, and PTP is not
running on the device.
Specifying a clock node type
You can configure only one of the following six types of clock nodes for a device: OC, BC, E2ETC,
P2PTC, E2ETC+OC, or P2PTC+OC.
Follow these guidelines when you specify the clock node type:
• Before specifying the clock node type, specify a PTP standard first.
• If the PTP standard is IEEE 802.1AS, the clock node type cannot be E2ETC or E2ETC+OC.
• Changing the clock node type clears all PTP configurations except the PTP standard.
To specify the clock node type:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Specify the clock node type
for the device.
ptp
mode
{
bc
|
e2etc
|
e2etc-oc
|
oc
|
p2ptc
|
p2ptc-oc
}
By default, no clock node type is
specified.
Specifying a PTP domain
Within a PTP domain, all devices follow the same rules to communicate with each other. Devices in
different PTP domains cannot communicate with each other.
To specify a PTP domain:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Specify a PTP domain for the
device.
ptp
domain
value
By default, PTP devices are in
PTP domain 0.
Configuring an OC to operate only as a member clock
Typically an OC can work either as a master clock to send synchronization messages or a member
clock to receive synchronization messages. This task allows you to configure an OC to operate as
only a member clock.
This task is applicable only to OCs.
This configuration is automatically cleared after you change the clock node type for the device.