ptp

Prev Next

ptp add

Assurance Sensors LT-S and LX-S Only

ptp add - Add PTP related port or grantor settings

Description:
Add PTP related port or grantor settings

Syntax:

    ptp add {port {{address <multicast-address>} |
                 {announce <-3,-2,-1,0,1,2 or 3>} |
                 {announce-receipt-timeout <2-10>} |
                 {delay-request-offset <0-5>} |
                 {dly-resp-receipt-timeout <2-10>} |
                 {domain <0-255> } |
                 {dscp <0-63>} |
                 {interface <interface-name>} |
                 {local-priority <1-255>} |
                 {mode <multicast,unicast>} |
                 {name <ptp-port-name>} |
                 {pcp <0-7>} |
                 {port-mode <force-master,force-slave,auto>}
                 {sync <-4,-3,-2,-1,0,1,2 or 3>} |
                 {sync-receipt-timeout <2-10>} |
                 {ttl <1-255>} |
                 {unicast-renewal-interval <60-1000>} }} |
          {grantor <ptp-port-name> {{address <master-address>} |
                                    {domain <0-255>} |
                                    {interface <interface-name>} |
                                    {name <grantor-name>} |
                                    {priority <0-2>} }}

Parameters:

Parameter Description
port Change PTP related port settings
address Specifies multicast address.
<multicast-address> <01:1b:19:00:00:00 | 01:80:c2:00:00:0e>
announce Specifies the interval between Announce messages. Possible values:
- -3 (8 messages/second)
- -2 (4 messages/second)
- -1 (2 messages/second)
- 0 (1 message/second)
- 1 (1 message/2 seconds) default
- 2 (1 message/4 seconds)
- 3 (1 message/8 seconds)
announce-receipt-timeout Specifies the number of Announce messages that can be lost before timeout occurs. Acceptable values: 2 to 10
delay-request-offset Specifies delay request offset based on the sync interval. Acceptable values: 0 to 5
dly-resp-receipt-timeout Specifies the number of Delay Response messages that can be lost before timeout occurs (Unicast Telecom Profile ITU-T G.8265.1 only. Default: 3)
domain Specifies PTP domain. Acceptable values: 0 to 255
dscp When using PTP, the priority of the packets can be set in the DiffServ Code Point. Acceptable values: 0 to 63
interface Interface used to communicate.
<interface-name> <string>
local-priority Specifies the value of localPriority to the PTP port. Acceptable values: 1 to 255. Default: 128
mode Specifies communication method. Possible values:
- multicast (layer-2 multicast)
- unicast (layer-3 unicast)
name Name assigned to the PTP port.
<ptp-port-name> <string>
pcp When using PTP, the priority of the packets can be set in the Priority code point bits if the link is through a VLAN. Acceptable values: 0 to 7
port-mode Specifies whether the PTP port shall be forced to be master, slave, or auto. Possible values:
- force-master (forced to be master)
- force-slave (forced to be slave)
- auto (determined by BMCA)
sync Specifies the interval between Sync messages. Possible values:
- -4 (16 messages/second)
- -3 (8 messages/second)
- -2 (4 messages/second)
- -1 (2 messages/second)
- 0 (1 message/second)
- 1 (1 message/2 seconds)
- 2 (1 message/4 seconds)
- 3 (1 message/8 seconds)
sync-receipt-timeout Specifies the number of Sync messages that can be lost before timeout occurs (Unicast Telecom Profile ITU-T G.8265.1 only). Acceptable values: 2 to 10. Default: 3
ttl Specifies the ttl information in all packets. Acceptable values: 1 to 255
unicast-renewal-interval Specifies the interval between every unicast negotiation of message intervals (for Sync, Announce and Delay Response messages). Acceptable values: 60 to 1000. Default: 300 seconds
grantor Change PTP related grantor settings
<ptp-port-name> <string>
address Master address (time server for the PTP client).
<master-address> <ip-addr> | <ipv6-addr> | <dns-name>
domain Specifies the domain number of the PTP master. Acceptable values: 0 to 255. Default: 0
interface Interface used to communicate with the PTP master.
<interface-name> <string>
name Specifies a name for the PTP grantor.
<grantor-name> <string>
priority For Telecom-Profile only (ITU-T G.8265.1). Ignored by other profiles. Specifies the priority for the PTP master. Acceptable values: 0 (disabled), 1, 2. Default: 0

ptp delete

Assurance Sensors LT-S and LX-S Only

ptp delete - Remove PTP related port or grantor settings.

Description:
Remove PTP related port or grantor settings.

Syntax:

  ptp delete {port <ptp-port-name>} |
             {grantor <grantor-name>}

Parameters:

Parameter Description
port Remove the specific PTP port setting.
grantor Remove the specific grantor setting.
<ptp-port-name> <string>
<grantor-name> <string>

ptp edit

ptp edit - Change PTP related settings

Description:

Change PTP related settings.

Syntax:

ptp edit { {state <enable|disable>} |
             {pma <master-address>} |
             {sma <master-address>} |
             {utc <enable|disable>} |
             {announce <-3,-2,-1,0,1,2 or 3>} |
             {sync <-4,-3,-2,-1,0 or 1>} |
             {pdn <0-255>} |
             {sdn <0-255>} |
             {dscp <0-63>} |
             {vlan-priority <0-7>} }

Parameters:

Parameter Description
state Enable or disable the PTP feature.
pma Primary master address (time server for the PTP client).
sma Secondary master address (time server for the PTP client).
<master-address> <ip-addr> <ipv6-addr> <dns-name>
utc Enable or disable the use of UTC offset from the master.
announce Specifies the interval of Announce messages from the master. Possible values:
  • -3 (8 messages / second)
  • -2 (4 messages / second)
  • -1 (2 messages / second)
  • 0 (1 message / second) <- default value
  • 1 (1 message / 2 seconds)
  • 2 (1 message / 4 seconds)
  • 3 (1 message / 8 seconds)
sync Specifies the interval of Sync messages from the master. Possible values:
  • -4 (16 messages / second)
  • -3 (8 messages / second)
  • -2 (4 messages / second)
  • -1 (2 messages / second)
  • 0 (1 message / second) <- default value
  • 1 (1 message / 2 seconds)
pdn Specifies the domain number of the primary PTP master. Possible values: 0 to 255. Default value: 4.
sdn Specifies the domain number of the secondary PTP master. Possible values: 0 to 255. Default value: 4.
dscp When using PTP, the priority of the packets can be set in the DiffServ Code Point.
vlan-priority When using PTP, the priority of the packets can be set in the VLAN priority bits if the link is through a VLAN.

Note: Communication with the grandmaster clock is only supported via unicast negotiation (defined in clause 16.1 of IEEE 1588-2008). Multicast negotiation is not supported.

ptp reset

ptp reset - Reset to default PTP settings

Description:

Resets to default PTP settings.

Syntax:

ptp reset 

ptp show

ptp show - Show the current PTP configuration and status

Description:

Shows the current configuration and status for the PTP (Precision Time Protocol) service.

Syntax:

ptp show [ -d| -r ]

Parameters:

Parameter Description
-d Show debug information.
-r Reset counters.

© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks