72
# On Ten-GigabitEthernet 1/0/1, specify the delay measurement mechanism as
p2p
, and enable
PTP.
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] ptp delay-mechanism p2p
[DeviceA-Ten-GigabitEthernet1/0/1] ptp enable
[DeviceA-Ten-GigabitEthernet1/0/1] quit
2.
Configure Device B:
# Specify the PTP standard as IEEE 1588 Version 2.
<DeviceB> system-view
[DeviceB] ptp profile 1588v2
# Specify the clock node type as P2PTC.
[DeviceB] ptp mode p2ptc
# Enable PTP for Ten-GigabitEthernet 1/0/1.
[DeviceB] interface ten-gigabitethernet 1/0/1
[DeviceB-Ten-GigabitEthernet1/0/1] ptp enable
[DeviceB-Ten-GigabitEthernet1/0/1] quit
# Enable PTP for Ten-GigabitEthernet 1/0/2.
[DeviceB] interface ten-gigabitethernet 1/0/2
[DeviceB-Ten-GigabitEthernet1/0/2] ptp enable
[DeviceB-Ten-GigabitEthernet1/0/2] quit
3.
Configure Device C:
# Specify the PTP standard as IEEE 1588 Version 2.
<DeviceC> system-view
[DeviceC] ptp profile 1588v2
# Specify the clock node type as OC.
[DeviceC] ptp mode oc
# On Ten-GigabitEthernet 1/0/1, specify the delay measurement mechanism as
p2p
, and enable
PTP.
[DeviceC] interface ten-gigabitethernet 1/0/1
[DeviceC-Ten-GigabitEthernet1/0/1] ptp delay-mechanism p2p
[DeviceC-Ten-GigabitEthernet1/0/1] ptp enable
[DeviceC-Ten-GigabitEthernet1/0/1] quit
4.
Verify the configuration:
When the network is stable, display PTP clock information by using the
display
ptp clock
command,
and display brief PTP statistics on an interface by using the
display ptp interface brief
command.
# Display PTP clock information on Device A.
[DeviceA] display ptp clock
PTP profile : IEEE 1588 Version 2
PTP mode : OC
Slave only : No
Clock ID : 000FE2-FFFE-FF0000
Clock type : Local
Clock domain : 0
Number of PTP ports : 1
Priority1 : 128
Priority2 : 128
Summary of Contents for 5920
Page 86: ...76 XGE1 0 2 N A P2P Two 0 ...