122Step Command Remarks2. Configure the priority for thespecified clock for GMelection through BMC.ptp priority clock-source { local |tod0 | tod1 } { priority1 pri1-value| priority2 pri2-value }By default:• If the PTP profile is IEEE 1588version 2, the default value forboth priority 1 and priority 2 is128.• If the PTP profile is IEEE802.1AS, the default value is246 for priority 1 and 248 forpriority 2.Configuring the role of a PTP portTypically the master/member relationships are automatically specified through BMC. This task allowsyou to manually configure the master/member relationships among clock nodes. The ptp force-statecommand is available only after you configure the ptp active force-state command.Follow these guidelines when you configure the role of a PTP port:• Only one subordinate port is allowed to be configured for a device.• This task is also applicable to an OC that operates in slave-only mode.To configure the PTP port role on an OC, BC, E2ETC+OC, or P2PTC+OC:Step Command Remarks1. Enter system view. system-view N/A2. Enter Layer 3 Ethernetinterface view.interface interface-typeinterface-number N/A3. Configure the role of the PTPport.ptp force-state { master | passive |slave }By default, the PTP port role isautomatically specified throughBMC.4. Quit interface view. quit N/A5. Activate the port roleconfiguration. ptp active force-state By default, the port roleconfiguration is not activated.Configuring the mode for carrying timestampsTimestamps can be carried in either of the following modes:• Single-step mode—In single-step mode, the Sync message in the Request_Response and Peer Delaymechanisms, and the Pdelay_Resp message in the Peer Delay mechanism carry the sending time ofthe messages.• Two-step mode—In two-step mode, the Sync message in the Request_Response and Peer Delaymechanisms, and the Pdelay_Resp message in the Peer Delay mechanism do not carry the sendingtime of the messages. The sending time is carried in other messages.To configure the mode for carrying timestamps for every clock node: