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

CFM CCM (cfm_ccm)

下位レイヤからの到達

下位レイヤ判別フィールド値
ethernet2ethertype35074 (0x8902)
dot1qethertype35074 (0x8902)
dot1adethertype35074 (0x8902)
cfmopcode1 (0x01) (このレイヤを読み直す)

フィールド

フィールド型既定値Auto説明
md_leveluint(3)0メンテナンスドメイン / MEG レベル(0〜7)。
versionuint(5)0CFM バージョン(0。G.8032v2 の R-APS は 1)。
opcodeenum(8)1 (ccm)OpCode: 1 CCM、2 LBR、3 LBM、4 LTR、5 LTM、33 AIS、35 LCK、37 TST、39 Linear APS、40 R-APS、41 MCC、42 LMR、43 LMM、45 1DM、46 DMR、47 DMM、52 CSF、53 1SL、54 SLR、55 SLM など。
rdiuint(1)0RDI: リモート障害表示。
flags_reserveduint(4)0
periodenum(3)4 (s_1)送信周期: 1 = 3.33 ms、2 = 10 ms、3 = 100 ms、4 = 1 秒、5 = 10 秒、6 = 1 分、7 = 10 分。
first_tlv_offsetuint(8)70このフィールドの直後から最初の TLV までのオフセット(OpCode ごとに一定)。
sequence_numberuint(32)0シーケンス番号。
mep_id_reserveduint(3)0
mep_iduint(13)1MEP ID(1〜8191)。
maidbytes(48)01 20 0d 57 50 47 30 30 31 4d 45 47 30 30 30 31 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00MAID / MEG ID(48 オクテット): MD 名の形式と名前、短縮 MA 名の形式・長さ・名前、ゼロ詰め(Y.1731: MD 名なし、形式 32 ICC ベース、長さ 13)。
tx_fcfuint(32)0フレームカウンタ(ロス測定)。
rx_fcbuint(32)0フレームカウンタ(ロス測定)。
tx_fcbuint(32)0フレームカウンタ(ロス測定)。
reserveduint(32)0
tlvstlv — タイプ 0 の最初の項目まで (なければ PDU の終わりまで)1 要素TLV(8 ビット型、値の 16 ビット長、自動): Sender ID、Port Status、Data、Interface Status、Reply Ingress / Egress、LTM / LTR Egress Identifier、Organization-Specific、Test。End TLV(タイプ 0)で終わる。

opcode

値名前
1 (0x01)ccm
2 (0x02)lbr
3 (0x03)lbm
4 (0x04)ltr
5 (0x05)ltm
33 (0x21)ais
35 (0x23)lck
37 (0x25)tst
39 (0x27)linear_aps
40 (0x28)ring_aps
41 (0x29)mcc
42 (0x2a)lmr
43 (0x2b)lmm
45 (0x2d)one_dm
46 (0x2e)dmr
47 (0x2f)dmm
48 (0x30)exr
49 (0x31)exm
50 (0x32)vsr
51 (0x33)vsm
52 (0x34)csf
53 (0x35)one_sl
54 (0x36)slr
55 (0x37)slm

period

値名前
0invalid
1ms_3_33
2ms_10
3ms_100
4s_1
5s_10
6min_1
7min_10

tlvs

  • タイプ 8 ビット、長さ 16 ビット。
  • 長さは値の部分だけを数えます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
0 (0x00)end(タイプのみ。長さと値なし)
1 (0x01)sender_idchassis_id_length, chassis_id_subtype, chassis_id, management_address
2 (0x02)port_statusport_status
3 (0x03)data_tlvvalue
4 (0x04)interface_statusinterface_status
5 (0x05)reply_ingressingress_action, ingress_mac, ingress_port_id
6 (0x06)reply_egressegress_action, egress_mac, egress_port_id
7 (0x07)ltm_egress_identifieregress_identifier
8 (0x08)ltr_egress_identifierlast_egress_identifier, next_egress_identifier
31 (0x1f)organization_specificoui, subtype, value
32 (0x20)testpattern_type, test_pattern

tlvs › sender_id

フィールド型既定値Auto説明
chassis_id_lengthuint(8)chassis_id のオクテット長
chassis_id_subtypeenum(8)4 (mac_address)
chassis_idbytes — chassis_id_length オクテット02 00 00 00 00 01
management_addressbytes — PDU の残りすべて
tlvs › sender_id › chassis_id_subtype
値名前
1 (0x01)chassis_component
2 (0x02)interface_alias
3 (0x03)port_component
4 (0x04)mac_address
5 (0x05)network_address
6 (0x06)interface_name
7 (0x07)local

tlvs › port_status

フィールド型既定値Auto説明
port_statusenum(8)2 (up)
tlvs › port_status › port_status
値名前
1 (0x01)blocked
2 (0x02)up

tlvs › data_tlv

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

tlvs › interface_status

フィールド型既定値Auto説明
interface_statusenum(8)1 (up)
tlvs › interface_status › interface_status
値名前
1 (0x01)up
2 (0x02)down
3 (0x03)testing
4 (0x04)unknown
5 (0x05)dormant
6 (0x06)not_present
7 (0x07)lower_layer_down

tlvs › reply_ingress

フィールド型既定値Auto説明
ingress_actionenum(8)1 (ok)
ingress_macmac02:00:00:00:00:02
ingress_port_idbytes — PDU の残りすべて
tlvs › reply_ingress › ingress_action
値名前
1 (0x01)ok
2 (0x02)down
3 (0x03)blocked
4 (0x04)vid

tlvs › reply_egress

フィールド型既定値Auto説明
egress_actionenum(8)1 (ok)
egress_macmac02:00:00:00:00:02
egress_port_idbytes — PDU の残りすべて
tlvs › reply_egress › egress_action
値名前
1 (0x01)ok
2 (0x02)down
3 (0x03)blocked
4 (0x04)vid

tlvs › ltm_egress_identifier

フィールド型既定値Auto説明
egress_identifieruint(64)2199023255553

tlvs › ltr_egress_identifier

フィールド型既定値Auto説明
last_egress_identifieruint(64)2199023255553
next_egress_identifieruint(64)2199023255554

tlvs › organization_specific

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

tlvs › test

フィールド型既定値Auto説明
pattern_typeenum(8)
test_patternbytes — PDU の残りすべて
tlvs › test › pattern_type
値名前
0 (0x00)null_without_crc
1 (0x01)null_with_crc
2 (0x02)prbs_without_crc
3 (0x03)prbs_with_crc

制約

レベル規則
警告first_tlv_offset が 70

サンプルテンプレート

  • cfm-ccm — templates/protocols/oam/cfm-ccm.wpg.yaml