74
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
This command is applicable only to OCs.
You can execute the
ptp force-state
command to specify a subordinate port as a master port or
passive port even if the OC operates as a member clock.
Examples
# Specify the clock node type as OC for the device. Configure the OC to operate only as a member
clock.
<Sysname> system-view
[Sysname] ptp profile 1588v2
[Sysname] ptp mode oc
[Sysname] ptp slave-only
Related commands
•
ptp
force-state
•
ptp
mode
•
ptp
profile
ptp source
Use
ptp
source
to configure the source IP address for a PTP message that uses UDP for transport.
Use
undo ptp
source
to restore the default.
Syntax
ptp
source
ip-address
[
vpn-instance
vpn-instance-name
]
undo
ptp
source ip-address
[
vpn-instance
vpn-instance-name
]
Default
No source IP address is configured for a PTP message.
Views
System view
Predefined user roles
network-admin
Parameters
ip-address
: Specifies the source IP address for a PTP message.
vpn-instance vpn-instance-name
: Specifies the name of an MPLS L3VPN instance used for
communication between the local device and the peer device, a case-sensitive string of 1 to 31
characters. If you do not specify the VPN, the peer device belongs to the public network.
Usage guidelines
This command is available only after you specify a PTP profile and a PTP mode.
If the PTP profile is IEEE 802.1AS, you cannot execute this command.