H3C Technologies H3C S6300 Series Switches User Manual

Page 83

Advertising
background image

70

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, 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 802.1AS

PTP mode : OC

Slave only : No

Clock ID : 000FE2-FFFE-FF0000

Clock type : Local

Clock domain : 0

Number of PTP ports : 1

Priority1 : 246

Priority2 : 248

Clock quality :

Class : 248

Accuracy : 254

Offset (log variance) : 16640

Offset from master : 0 (ns)

Mean path delay : 0 (ns)

Steps removed : 0

Local clock time : Sun Jan 15 20:57:29 2011

Advertising