72
This command is applicable to an E2ETC+OC clock or a P2PTC+OC clock.
Examples
# Specify the clock node type as P2PTC+OC for the device. Configure the port type of FortyGigE
1/0/1 as OC.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode p2ptc-oc
[Sysname] interface fortygige 1/0/1
[Sysname-FortyGigE1/0/1] ptp port-mode oc
Related commands
•
ptp
mode
•
ptp
profile
ptp priority
Use
ptp
priority
clock-source
to configure the priority for the specified clock for GM election
through BMC.
Use
undo ptp
priority
clock-source
to restore the default.
Syntax
ptp
priority
clock-source
{
bits1
|
bits2
|
local
} {
priority1 pri1-value
|
priority2 pri2-value
}
undo
ptp
priority
clock-source
{
bits1
|
bits2
|
local
} {
priority1
|
priority2
}
Default
If the PTP profile is IEEE 1588 version 2, the default value for priority 1 and priority 2 are both 128.
If the PTP profile is IEEE 802.1AS, the default value is 246 for priority 1 and 248 for priority 2.
Views
System view
Predefined user roles
network-admin
Parameters
bits1
: Specifies the priority for a Bits1 clock.
bits2
: Specifies the priority for a Bits2 clock.
local
: Specifies the priority for the local clock.
priority1
pri1-value
: Specifies priority 1 for the clock, in the range of 0 to 255. A numerically smaller
value has higher priority.
priority2
pri2-value
: Specifies priority 2 for the clock, in the range of 0 to 255. A numerically smaller
value has higher priority.
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
Examples
# Configure priority 1 as
10
for the local clock.
<Sysname> system-view
[Sysname] ptp profile 1588v2