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

802.3ah OAM Information (efm_oam_information)

Reached from

Lower layerSelectorValue
ethernet2First 8 bits of the payload when ethertype = 34825 (0x8809)3 (0x03)
efm_oamcode0 (0x00) (re-decodes this layer)

Fields

FieldTypeDefaultAutoDescription
subtypeuint(8)3Slow Protocols subtype (3 = OAM).
flagsflags(16)0x50Flags: link fault, dying gasp, critical event, local / remote evaluating and stable.
codeenum(8)0 (information)OAMPDU code: 0x00 Information, 0x01 Event Notification, 0x02 Variable Request, 0x03 Variable Response, 0x04 Loopback Control, 0xfe Organization Specific.
tlvstlv — up to and including the first item of type 0, or the end of the PDU2 itemsInformation TLVs (8-bit type, 8-bit length including the header, Auto): Local / Remote Information, Organization Specific, closed by the End TLV (type 0).

flags

BitMaskName
01 (0x0001)link_fault
12 (0x0002)dying_gasp
24 (0x0004)critical_event
38 (0x0008)local_evaluating
416 (0x0010)local_stable
532 (0x0020)remote_evaluating
664 (0x0040)remote_stable

code

ValueName
0 (0x00)information
1 (0x01)event_notification
2 (0x02)variable_request
3 (0x03)variable_response
4 (0x04)loopback_control
254 (0xfe)organization_specific

tlvs

  • Type 8 bits, length 8 bits.
  • The length counts the type and length fields too.
  • Unknown types are kept as raw value octets.
TypeNameValue fieldsDescription
0 (0x00)end(type only, no length or value)
1 (0x01)local_informationoam_version, revision, state_reserved, multiplexer_action, parser_action, oam_configuration, oampdu_configuration_reserved, max_oampdu_size, oui, vendor_specific_information
2 (0x02)remote_informationoam_version, revision, state_reserved, multiplexer_action, parser_action, oam_configuration, oampdu_configuration_reserved, max_oampdu_size, oui, vendor_specific_information
254 (0xfe)organization_specificoui, value

tlvs › local_information

FieldTypeDefaultAutoDescription
oam_versionuint(8)1
revisionuint(16)0
state_reserveduint(5)0
multiplexer_actionenum(1)0 (forward)
parser_actionenum(2)0 (forward)
oam_configurationflags(8)0x9
oampdu_configuration_reserveduint(5)0
max_oampdu_sizeuint(11)1518
ouiuint(24)0
vendor_specific_informationuint(32)0
tlvs › local_information › multiplexer_action
ValueName
0forward
1discard
tlvs › local_information › parser_action
ValueName
0forward
1loopback
2discard
tlvs › local_information › oam_configuration
BitMaskName
01 (0x01)active_mode
12 (0x02)unidirectional
24 (0x04)remote_loopback
38 (0x08)link_events
416 (0x10)variable_retrieval

tlvs › remote_information

FieldTypeDefaultAutoDescription
oam_versionuint(8)1
revisionuint(16)0
state_reserveduint(5)0
multiplexer_actionenum(1)0 (forward)
parser_actionenum(2)0 (forward)
oam_configurationflags(8)0x9
oampdu_configuration_reserveduint(5)0
max_oampdu_sizeuint(11)1518
ouiuint(24)0
vendor_specific_informationuint(32)0
tlvs › remote_information › multiplexer_action
ValueName
0forward
1discard
tlvs › remote_information › parser_action
ValueName
0forward
1loopback
2discard
tlvs › remote_information › oam_configuration
BitMaskName
01 (0x01)active_mode
12 (0x02)unidirectional
24 (0x04)remote_loopback
38 (0x08)link_events
416 (0x10)variable_retrieval

tlvs › organization_specific

FieldTypeDefaultAutoDescription
ouiuint(24)
valuebytes — rest of the PDU

Sample templates