67. Precision Time Protocol (PTP) Commands
67.7. config ptp ports
Description
This command is used to configure the per port state of the PTP clock.
PTP port active state should meet the following three conditions:
• The global PTP state is enabled.
• The port PTP state is enabled.
• The port is not blocked, if the stp state is enabled.
Format
config ptp ports [<portlist> | all] state [enable | disable]
Parameters
ports
Specifies the list of port used for this configuration.
<portlist>
Enter the list of port used for this configuration here.
all
Specifies that all the ports will be used for this configuration.
state
Specifies the port state of the PTP clock function.
enable
Specifies that the port state of the PTP clock function will be enabled.
disable
Specifies that the port state of the PTP clock function will be disabled.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To enable PTP on ports 1:1-1:4:
Zxxx0:admin# config ptp ports 1:1-1:4 state enable
Command: config ptp ports 1:1-1:4 state enable
Success.
Zxxx0:admin#
770