68
Examples
# Configure the clock node type as OC and enable PTP on FortyGigE 1/0/1.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode oc
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] ptp enable
# Configure the clock node type as E2ETC, and enable PTP on FortyGigE 1/0/1 and FortyGigE
1/0/2.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode e2etc
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] ptp enable
[Sysname-FortyGigE1/0/1] interface fortygige 1/0/2
[Sysname-FortyGigE1/0/2] ptp enable
Related commands
•
ptp
mode
•
ptp
profile
ptp force-state
Use
ptp force-state
to configure the force state of a PTP port.
Use
undo
ptp
force-state
to restore the default.
Syntax
ptp force-state
{
master
|
passive
|
slave
}
undo
ptp
force-state
Default
The force state of a PTP port is automatically specified through BMC.
Views
Layer 2 Ethernet interface view, Layer 3 Ethernet interface view
Predefined user roles
network-admin
Parameters
master
: Specifies the PTP port as a master port.
passive
: Specifies the PTP port as a passive port.
slave
: Specifies the PTP port as a subordinate port.
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
You can configure only one subordinate port for a device.
Examples
# Configure the clock node type as OC and specify the PTP port FortyGigE 1/0/1 as a subordinate
port.