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 Event Notification (efm_oam_event_notification)

下位レイヤからの到達

下位レイヤ判別フィールド値
ethernet2ethertype = 34825 (0x8809) のときのペイロード先頭 8 ビット3 (0x03)
efm_oamcode1 (0x01) (このレイヤを読み直す)

フィールド

フィールド型既定値Auto説明
subtypeuint(8)3Slow Protocols サブタイプ(3 = OAM)。
flagsflags(16)0x50フラグ: リンク障害、Dying Gasp、重大イベント、ローカル / リモートの評価中・安定。
codeenum(8)1 (event_notification)OAMPDU コード: 0x00 Information、0x01 Event Notification、0x02 Variable Request、0x03 Variable Response、0x04 Loopback Control、0xfe Organization Specific。
sequence_numberuint(16)1イベント通知のシーケンス番号。
tlvstlv — タイプ 0 の最初の項目まで (なければ PDU の終わりまで)2 要素リンクイベント TLV(8 ビット型、ヘッダを含む 8 ビット長、自動): Errored Symbol Period、Errored Frame、Errored Frame Period、Errored Frame Seconds Summary、Organization Specific。End TLV(タイプ 0)で終わる。

flags

ビットマスク名前
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

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

tlvs

  • タイプ 8 ビット、長さ 8 ビット。
  • 長さはタイプと長さのフィールドも含みます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
0 (0x00)end(タイプのみ。長さと値なし)
1 (0x01)errored_symbol_periodtimestamp, window, threshold, errors, error_running_total, event_running_total
2 (0x02)errored_frametimestamp, window, threshold, errors, error_running_total, event_running_total
3 (0x03)errored_frame_periodtimestamp, window, threshold, errors, error_running_total, event_running_total
4 (0x04)errored_frame_seconds_summarytimestamp, window, threshold, errors, error_running_total, event_running_total
254 (0xfe)organization_specificoui, value

tlvs › errored_symbol_period

フィールド型既定値Auto説明
timestampuint(16)0
windowuint(64)10
thresholduint(64)1
errorsuint(64)1
error_running_totaluint(64)1
event_running_totaluint(32)1

tlvs › errored_frame

フィールド型既定値Auto説明
timestampuint(16)0
windowuint(16)10
thresholduint(32)1
errorsuint(32)1
error_running_totaluint(64)1
event_running_totaluint(32)1

tlvs › errored_frame_period

フィールド型既定値Auto説明
timestampuint(16)0
windowuint(32)10
thresholduint(32)1
errorsuint(32)1
error_running_totaluint(64)1
event_running_totaluint(32)1

tlvs › errored_frame_seconds_summary

フィールド型既定値Auto説明
timestampuint(16)0
windowuint(16)10
thresholduint(16)1
errorsuint(16)1
error_running_totaluint(32)1
event_running_totaluint(32)1

tlvs › organization_specific

フィールド型既定値Auto説明
ouiuint(24)
valuebytes — PDU の残りすべて

サンプルテンプレート

  • efm-oam-event — templates/protocols/oam/efm-oam-event.wpg.yaml