
55
Step Command
Remarks
3.
Configure the mode for
carrying timestamps.
ptp
clock-step
{
one-step
|
two-step
}
By default, two-step mode is
adopted.
Specifying a delay measurement mechanism for a BC or an
OC
PTP defines two transmission delay measurement mechanisms: Request_Response and Peer
Delay. Ports on the same link must share the same delay measurement mechanism. Otherwise, they
cannot communicate with one another. BCs and OCs do not have a default delay measurement
mechanism. You must specify a delay measurement mechanism for them. The delay measurement
mechanism of E2ETCs and E2ETC+OCs is Request_Response, and that of P2PTCs and
P2PTC+OCs is Peer Delay. You cannot change these defaults.
This task is applicable only to BCs and OCs.
If the PTP standard is IEEE 802.1AS, only Peer Delay mode is supported.
To specify a delay measurement mechanism for a BC or OC:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
3.
Specify a delay
measurement mechanism
for a BC or OC.
ptp
delay-mechanism
{
e2e
|
p2p
}
By default, the delay
measurement mechanism
depends on the PTP standard.
Configuring the port type for a TC+OC
All ports on a TC+OC (E2ETC+OC or P2PTC+OC) are TCs by default. This command allows you to
configure one of the ports as an OC. This task is applicable only to E2ETC+OCs and P2PTC+OCs.
When a TC+OC is synchronizing time to a downstream clock node through a TC, do not enable an
OC to synchronize time from the downstream clock node. Otherwise, time synchronization might be
affected.
To configure the port type for a TC+OC as OC:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Layer 2 Ethernet
interface view.
interface
interface-type
interface-number
N/A
3.
Configure the port type for a
TC+OC as OC.
ptp
port-mode
oc
By default, the type of all ports on
a TC+OC is TC.
Setting the interval for sending announce messages
Step Command
Remarks
1.
Enter system view.
system-view
N/A