64
Configuration procedure
1. Configure Device A:
# Specify the PTP standard as IEEE 802.1AS.
<DeviceA> system-view
[DeviceA] ptp profile 802.1AS
# Specify the clock node type as OC.
[DeviceA] ptp mode oc
# Enable PTP on Ten-GigabitEthernet 1/0/1.
[DeviceA] interface ten-gigabitethernet 1/0/1
[DeviceA-Ten-GigabitEthernet1/0/1] ptp enable
[DeviceA-Ten-GigabitEthernet1/0/1] quit
2. Configure Device B:
# Specify the PTP standard as IEEE 802.1AS.
<DeviceB> system-view
[DeviceB] ptp profile 802.1AS
# 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 802.1AS.
<DeviceC> system-view
[DeviceC] ptp profile 802.1AS
# Specify the clock node type as OC.
[DeviceC] ptp mode oc
# Enable PTP on Ten-GigabitEthernet 1/0/1.
[DeviceC] interface ten-gigabitethernet 1/0/1
[DeviceC-Ten-GigabitEthernet1/0/1] ptp enable
[DeviceC-Ten-GigabitEthernet1/0/1] quit
4. Verify the configuration:
When the network is stable, perform the following tasks:
{ Use the display ptp clock command to display PTP clock information.
{ Use the display ptp interface brief command to display brief PTP statistics on an
interface.
# Display PTP clock information on Device A.
[DeviceA] display ptp clock
PTP profile : IEEE 802.1AS
PTP mode : OC
Slave only : No
Clock ID : 000FE2-FFFE-FF0000
Clock type : Local