Configuring the mode for carrying timestamps – H3C Technologies H3C S6300 Series Switches User Manual

Page 73

Advertising
background image

60

To configure the PTP port role on an OC, BC, E2ETC+OC, or P2PTC+OC:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 Ethernet
interface view.

interface interface-type
interface-number

N/A

3.

Configure the role of the PTP

port.

ptp force-state { master | passive |
slave }

By default, the PTP port role is
automatically specified through

BMC.

4.

Quit interface view.

quit

N/A

5.

Activate the port role

configuration.

ptp active force-state

By default, the port role
configuration is not activated.

Configuring the mode for carrying timestamps

Timestamps can be carried in either of the following two modes:

Single-step mode—In single-step mode, the Sync message in the Request_Response and Peer Delay
mechanisms and the Pdelay_Resp message in the Peer Delay mechanism carry the sending time of

the messages.

Two-step mode—In two-step mode, the Sync message in the Request_Response and Peer Delay
mechanisms and the Pdelay_Resp message in the Peer Delay mechanism do not carry the sending
time of the messages. The sending time is carried in other messages.

To configure the mode for carrying timestamps for every clock node:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 Ethernet

interface view.

interface interface-type
interface-number

N/A

3.

Configure the mode for

carrying timestamps.

ptp clock-step { one-step |
two-step }

By default, two-step mode is
adopted.

Specifying a delay measurement mechanism for a BC or OC

PTP defines two transmission delay measurement mechanisms: Request_Response and Peer Delay. Ports

on the same link must share the same delay measurement mechanism. Otherwise, they cannot

communicate with one another. BCs and OCs do not have a default delay measurement mechanism. You

must specify a delay measurement mechanism for them. The delay measurement mechanism of E2ETCs
and E2ETC+OCs is Request_Response, and that of P2PTCs and P2PTC+OCs is Peer Delay. You cannot

change these defaults.
This task is applicable to BCs and OCs only.
If the PTP standard is IEEE 802.1AS, only Peer Delay mode is supported.
To specify a delay measurement mechanism for a BC or OC:

Advertising