Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ESMC (esmc)

Reached from

Lower layerSelectorValue
ethernet2First 8 bits of the payload when ethertype = 34825 (0x8809)10 (0x0a)

Fields

FieldTypeDefaultAutoDescription
subtypeuint(8)10Slow Protocols subtype (0x0a = organization specific).
itu_ouiuint(24)6567ITU-T OUI (00-19-a7).
itu_subtypeuint(16)1ITU-T subtype (1 = ESMC).
versionuint(4)1ESMC version (1).
event_flaguint(1)0Event flag: 1 for an event PDU sent at once after a QL change, 0 for the once-a-second information PDU.
reserveduint(3)0
reserved2uint(24)0
tlvstlv — rest of the PDU2 itemsTLVs (8-bit type, 16-bit length including the 3-octet header, Auto): QL TLV with the SSM code, Extended QL TLV with the enhanced SSM code, SyncE clock identity and cascaded clock counts. Octets after them (padding) are kept as one raw item.

tlvs

  • Type 8 bits, length 16 bits.
  • The length counts the type and length fields too.
  • An unknown type ends the typed decoding (the rest becomes one raw item).
TypeNameValue fieldsDescription
1 (0x01)qlunused, ssm_code
2 (0x02)extended_qlenhanced_ssm_code, synce_clock_identity, flags, cascaded_eeecs, cascaded_eecs, reserved

tlvs › ql

FieldTypeDefaultAutoDescription
unuseduint(4)0
ssm_codeenum(4)2 (prc)
tlvs › ql › ssm_code
ValueName
0stu
1prs
2prc
4ssu_a
7st2
8ssu_b
10st3
11sec
12smc
13st3e
14prov
15dnu

tlvs › extended_ql

FieldTypeDefaultAutoDescription
enhanced_ssm_codeenum(8)255 (none)
synce_clock_identityuint(64)144116287553929217
flagsflags(8)0x0
cascaded_eeecsuint(8)1
cascaded_eecsuint(8)0
reservedbytes(5)00 00 00 00 00
tlvs › extended_ql › enhanced_ssm_code
ValueName
32 (0x20)eprtc
33 (0x21)prtc
34 (0x22)eeec
35 (0x23)eprc
255 (0xff)none
tlvs › extended_ql › flags
BitMaskName
01 (0x01)mixed_eec_eeec
12 (0x02)partial_chain

Constraints

LevelRule
warningsubtype = 10
warningitu_oui = 6567
warningversion = 1

Sample templates

  • esmc-event-dnu — templates/protocols/timing/esmc-event-dnu.wpg.yaml
  • esmc-ql-prc — templates/protocols/timing/esmc-ql-prc.wpg.yaml