802.1AS Commands

Use these commands to configure 802.1AS time synchronization for time-sensitive applications such as audio and video.

802.1AS can ensure that QoS requirements are guaranteed for time-sensitive applications such as audio and video. Precision Time Protocol (PTP) forms the basis for 802.1AS. PTP can provide precise clock synchronization that relies on time-stamped packets. PTP is applicable to a distributed system that consists of one or more communicating nodes. The distribution of synchronous time information occurs hierarchically with a grandmaster clock. The grandmaster clock provides a common and precise time reference by exchanging timing information with one or more directly-attached devices. Such an attached device synchronizes its clocks with the grandmaster clock and, in turn, can function as master clock for a hierarchical layer of attached devices.

Time synchronization provides a common time base for sampling data streams at a source device and presenting those streams at a destination device with the same relative timing. End-to-end synchronization of clocks is critical for traffic that is highly time-sensitive with stringent latency and jitter requirements.

802.1AS supports the following:

  • Network clock synchronization in the sub-microsecond range
  • Synchronization of clocks with different precision, resolution and stability
  • Fast convergence when topology changes occur

dot1as

M4250

M4350

This command enables 802.1AS on the switch.

Default Disabled
Format dot1as
Mode Global Config

no dot1as

This command disables 802.1AS on the switch.

Format no dot1as
Mode Global Config

dot1as priority 1

M4250

M4350

This command configures the 802.1AS priority 1 value for the switch.

Default 248
Format dot1as priority 1 value
Mode Global Config
Parameter Description
value The value for the best clock priority is in the range from 0 to 255. The default value is 248.

no dot1as priority 1

This command sets the 802.1AS priority 1 value for the switch to its default setting of 248.

Format no dot1as 1 priority
Mode Global Config

dot1as priority 2

This command configures the 802.1AS priority 2 value for the switch.

Default 248
Format dot1as priority 2 value
Mode Global Config
Parameter Description
value The value for the best clock priority is in the range from 0 to 255. The default value is 248.

no dot1as priority 2

This command sets the 802.1AS priority 2 value for the switch to its default setting of 248.

Format no dot1as 2 priority
Mode Global Config

dot1as interval announce

M4250

M4350

This command configures the initial mean time interval between successive Announce messages in the format of logarithms to base 2 (log base 2). The value of interval can be from –5 to 5.

Default 0
Format dot1as interval announce interval
Mode Interface Config

no dot1as interval announce

This command sets the initial mean time interval between successive Announce messages to its default value of 0.

Format no dot1as interval announce
Mode Interface Config

dot1as interval sync

M4250

M4350

This command configures the initial mean time interval between successive Sync messages in the format of logarithms to base 2 (log base 2). The value of interval can be from –5 to 5.

Default 0
Format dot1as interval sync interval
Mode Interface Config

no dot1as interval sync

This command sets the initial mean time interval between successive Sync messages to its default value of 0.

Format no dot1as interval sync
Mode Interface Config

dot1as interval pdelay

M4250

M4350

This command configures the initial mean time interval between successive Pdelay messages in the format of logarithms to base 2 (log base 2). The value of interval can be from –5 to 5.

Default 0
Format dot1as interval pdelay interval
Mode Config

no dot1as interval pdelay

This command sets the initial mean time interval between successive Pdelay messages to its default value of 0.

Format no dot1as interval pdelay
Mode Interface Config

dot1as timeout announce

M4250

M4350

This command configures the number of Announce intervals that the switch accepts without receipt of an Announce message before it determines that the master clock stopped transmitting. The value of number can be from 2 to 255.

Default 3
Format dot1as timeout announce number
Mode Interface Config

no dot1as timeout announce

This command sets the number of Announce intervals that the switch accepts without receipt of an Announce message to its default value of 3.

Format no dot1as timeout announce
Mode Interface Config

dot1as timeout sync

M4250

M4350

This command configures the number of Sync intervals that the switch accepts without receipt of a Sync message before it determines that the master clock stopped transmitting. The value of number can be from 2 to 255.

Default 3
Format dot1as timeout sync number
Mode Interface Config

no dot1as timeout sync

This command sets the number of Sync intervals that the switch accepts without receipt of a Sync message to its default value of 3.

Format no dot1as timeout sync
Mode Interface Config

dot1as pdelay-threshold

M4250

M4350

This command configures the propagation delay threshold in nanoseconds, above which an interface is not considered capable of participating in the 802.1AS protocol. The value of nanoseconds can be from 0 to 1,000,000,000.

Default M4250 8000
Default M4350 3000
Format dot1as pdelay-threshold nanoseconds
Mode Interface Config

no dot1as pdelay-threshold

This command sets the propagation delay threshold in nanoseconds to its default value.

Format no dot1as pdelay-threshold
Mode Interface Config

dot1as allowedlostresp

M4250

M4350

This command configures the maximum number of Pdelay_Req messages for which the switch does not receive a response. Above that number, an interface is considered to not be exchanging peer delay messages with its neighbor. The value of number can be from 0 to 65535.

Default 3
Format dot1as allowedlostresp number
Mode Interface Config

no dot1as allowedlostresp

This command sets the maximum number of Pdelay_Req messages for which the switch does not receive a response to its default value of 3.

Format no dot1as allowedlostresp
Mode Interface Config

show dot1as summary

M4250

M4350

This command displays a summary of the 802.1AS configuration on the switch.

Format show dot1as summary
Mode Privileged EXEC
Term Definition
802.1AS Global Admin Mode Indicates if the 802.1AS global admin mode is enabled or disabled.
Grandmaster Capable Indicates if the 802.1AS global admin mode is enabled or disabled.
Best Clock Identity The clock identity of the 802.1AS grandmaster.
Best Clock Priority1 The priority1 value of the 802.1AS grandmaster.
Best Clock Priority2 The priority2 value of the 802.1AS grandmaster.
Steps to Best Clock The number of hops between the local clock and the 802.1AS grandmaster.
Local Clock Identity The clock identity of the 802.1AS local clock.
Local Clock Priority1 The priority1 value of the 802.1AS local clock.
Local Clock Priority2 The priority2 value of the 802.1AS local clock.
Grandmaster Change Count The number of 802.1AS grandmaster change events that occurred.
Last Grandmaster Change Timestamp The timestamp of the last grandmaster change event.

Command example:

CODE
(NETGEAR switch)(Config)#show dot1as summary

802.1AS Global Admin Mode...................... Disabled
Grandmaster Capable............................ No
Best Clock Identity............................ 44:A5:6E:FF:FE:59:38:D0
Best Clock Priority1........................... 255
Best Clock Priority2........................... 248
Steps to Best Clock............................ 0
Local Clock Identity........................... 44:A5:6E:FF:FE:59:38:D0
Local Clock Priority1.......................... 255
Local Clock Priority2.......................... 248
Grandmaster Change Count....................... 0
Last Grandmaster Change Timestamp.............. 0

show dot1as interface

M4250

M4350

This command displays the 802.1AS configuration for all interfaces or for a specific interface or LAG. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
Format show dot1as interface {summary | unit/slot/port | lag lag-intf-num}
Mode Privileged EXEC

The following information displays when you use the summary keyword.

Term Definition
Intf The interface.
Mode Indicates if the 802.1AS interface admin mode is enabled or disabled.
asCapable Indicates if the interface is 802.1AS-capable.
measuringPdelay Indicates if the interface is measuring the propagation delay (Pdelay).
Pdelay The propagation delay value on the interface.
Role The 802.1AS role of the interface: timeTransmitter, timeReceiver, Passive, or Disabled.

The following information displays when you use the unit/slot/port parameter.

Term Definition
802.1AS Interface Admin Mode Indicates if the 802.1AS interface admin mode is enabled or disabled.
802.1AS Capable Indicates if the interface is 802.1AS-capable.
Is Measuring Delay Indicates if the interface is measuring delay.
Propagation Delay The propagation delay value on the interface.
Port Role The 802.1AS role of the interface: timeTransmitter, timeReceiver, Passive, or Disabled.
PDELAY Threshold The propagation delay threshold in nanoseconds, above which an interface is not considered capable of participating in the 802.1AS protocol.
PDELAY lost responses allowed The number of Pdelay_Req messages for which a valid response is not received, above which a port is considered to not be exchanging peer delay messages with its neighbor.
Neighbor Rate Ratio An estimate of the ratio of the frequency of the LocalClock entity of the time-aware system at the other end of the link of the interface, to the frequency of the LocalClock entity of this time-aware switch.
Initial Sync Interval The configured mean time interval between successive PDELAY_REQ messages sent over the link, in logarithm to base 2 format.
Current Sync Interval The current mean time interval between successive SYNC messages sent over the link, in logarithm to base 2 format.
Initial Pdelay Interval The configured mean time interval between successive PDELAY_REQ messages sent over the link, in logarithm to base 2 format.
Current Pdelay Interval The current mean time interval between successive PDELAY_REQ messages sent over the link, in logarithm to base 2 format.
Initial Announce Interval The configured mean time interval between successive ANNOUNCE messages sent over the link, in logarithm to base 2 format.
Current Announce Interval The current mean time interval between successive ANNOUNCE messages sent over the link, in logarithm to base 2 format.
Sync Receipt Timeout The number of SYNC intervals that must pass without receipt of SYNC information before the master is considered to no longer transmit.
Announce Receipt Timeout The number of ANNOUNCE intervals that must pass without receipt of ANNOUNCE PDU before the master is considered to no longer transmit.

Command example:

CODE
(NETGEAR Switch)(Config)#show dot1as interface summary

Intf      Mode      asCapable    measuringPdelay   Pdelay  Role
-------   -------   ---------    ---------------   ------  --------
0/1       Disabled  No           No                0       Disabled
0/2       Disabled  No           No                0       Disabled
0/3       Disabled  No           No                0       Disabled
0/4       Disabled  No           No                0       Disabled
0/5       Disabled  No           No                0       Disabled
0/6       Disabled  No           No                0       Disabled
0/7       Disabled  No           No                0       Disabled
0/8       Disabled  No           No                0       Disabled
0/9       Disabled  No           No                0       Disabled
0/10      Disabled  No           No                0       Disabled
0/11      Disabled  No           No                0       Disabled
0/12      Disabled  No           No                0       Disabled
lag 1     Disabled  No           No                0       Disabled
lag 2     Disabled  No           No                0       Disabled
lag 3     Disabled  No           No                0       Disabled
lag 4     Disabled  No           No                0       Disabled
lag 5     Disabled  No           No                0       Disabled
lag 6     Disabled  No           No                0       Disabled
lag 7     Disabled  No           No                0       Disabled
lag 8     Disabled  No           No                0       Disabled

Command example:

CODE
(NETGEAR Switch)(Config)#show dot1as interface 0/7

802.1AS Interface Admin Mode................... Disabled
802.1AS Capable................................ No
Is Measuring Delay............................. No
Propagation Delay.............................. 0
Port Role...................................... Disabled
PDELAY Threshold............................... 2500
PDELAY lost responses allowed.................. 3
Neighbor Rate Ratio............................ 0
Initial Sync Interval.......................... -3
Current Sync Interval.......................... 0
Initial Pdelay Interval........................ 0
Current Pdelay Interval........................ 0
Initial Announce Interval...................... 0
Current Announce Interval...................... 0
Sync Receipt Timeout........................... 3
Announce Receipt Timeout....................... 3

show dot1as statistics

M4250

M4350

This command displays the 802.1AS configuration statistics for a specific interface or LAG. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
Format show dot1as statistics {unit/slot/port | lag lag-intf-num}
Mode Privileged EXEC

Command example:

CODE
(NETGEAR Switch)(Config)#show dot1as statistics 0/2

Port........................................... 0/2
Sync messages transmitted...................... 0
Sync messages received......................... 0
Followup messages transmitted.................. 0
Followup messages received..................... 0
Announce messages transmitted.................. 0
Announce messages received..................... 0
Pdelay_Req messages transmitted................ 0
Pdelay_Req messages received................... 0
Pdelay_Resp messages transmitted............... 0
Pdelay_Resp messages received.................. 0
Pdelay_Resp_Followup messages transmitted...... 0
Pdelay_Resp_Followup messages received......... 0
Signaling messages transmitted................. 0
Signaling messages received.................... 0
Sync receipt timeouts.......................... 0
Sync messages discarded........................ 0
Announce receipt timeouts...................... 0
Announces messages discarded................... 0
Pdelay receipt timeouts........................ 0
Pdelay messages discards....................... 0
PTP message discards........................... 0
Pdelay allowed lost responses.................. 0
Invalid 802.1AS messages received.............. 0

clear dot1as statistics

M4250

M4350

This command clears the 802.1AS configuration statistics for a specific interface or for all interfaces. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
Format clear dot1as statistics {unit/slot/port | all}
Mode Privileged EXEC