62
[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:
# 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
Clock quality :
Class : 248
Accuracy : 254
Offset (log variance) : 65535
Offset from master : 0 (ns)
Mean path delay : 0 (ns)
Steps removed : 0
Local clock time : Sun Jan 15 20:57:29 2011