Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or Layer 3
Ethernet interface view.
3.
Specify a delay measurement
mechanism for a BC or OC.
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 to E2ETC+OCs and P2PTC+OCs only.
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
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or Layer 3
Ethernet interface view.
3.
Configure the port type for a
TC+OC as OC.
Configuring the interval for sending announce messages
Step
1.
Enter system view.
2.
Enter Layer 2 Ethernet
interface view or Layer 3
Ethernet interface view.
3.
Configure the interval for
sending announce messages.
Command
system-view
interface interface-type
interface-number
ptp delay-mechanism { e2e | p2p }
Command
system-view
interface interface-type
interface-number
ptp port-mode oc
Command
system-view
interface interface-type
interface-number
ptp announce-interval value
65
Remarks
N/A
N/A
By default, the delay measurement
mechanism depends on the PTP
standard.
Remarks
N/A
N/A
By default, the type of all ports on a
TC+OC is TC.
Remarks
N/A
N/A
By default:
•
The interval is 2
1
seconds if the
PTP standard is IEEE 1588
Version 2.
•
The interval is 2
0
seconds if the
PTP standard is IEEE 802.1AS.