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

BFD (bfd)

下位レイヤからの到達

下位レイヤ判別フィールド値
udpdst_port / src_port3784 (0x0ec8)
udpdst_port / src_port4784 (0x12b0)
udpdst_port / src_port6784 (0x1a80)

フィールド

フィールド型既定値Auto説明
versionuint(3)1BFD バージョン(1)。
diagenum(5)0 (no_diagnostic)診断コード: ローカルセッションが最後に状態を変えた理由。
stateenum(2)1 (down)セッション状態: 0 AdminDown、1 Down、2 Init、3 Up。
puint(1)0P ビット: Poll(パラメータ変更。相手は F で応答)。
fuint(1)0F ビット: Final(Poll への応答)。
cuint(1)0C ビット: コントロールプレーン非依存。
auint(1)authentication の要素数A ビット: 認証あり(Auto: 認証セクションがあれば 1)。
duint(1)0D ビット: デマンドモード。
muint(1)0M ビット: マルチポイント(0)。
detect_multuint(8)3検出時間の乗数。
lengthuint(8)ヘッダの長さ (オクテット単位)認証セクションを含む制御パケットのオクテット長(Auto)。
my_discriminatoruint(32)1My Discriminator: 送信側でセッションを一意に表す 0 以外の値。
your_discriminatoruint(32)0Your Discriminator: 相手の Discriminator(不明な間は 0)。
desired_min_tx_intervaluint(32)1000000希望する最小送信間隔(マイクロ秒)。
required_min_rx_intervaluint(32)1000000要求する最小受信間隔(マイクロ秒)。
required_min_echo_rx_intervaluint(32)0要求する最小エコー受信間隔(マイクロ秒、0 = エコーなし)。
authenticationtlv — length - 24 オクテット認証セクション(8 ビット型、ヘッダを含む 8 ビット長): 簡易パスワード、Keyed MD5 / SHA1 とその Meticulous 版。ダイジェスト / ハッシュは手動。

diag

値名前
0no_diagnostic
1control_detection_time_expired
2echo_function_failed
3neighbor_signaled_session_down
4forwarding_plane_reset
5path_down
6concatenated_path_down
7administratively_down
8reverse_concatenated_path_down
9mis_connectivity_defect

state

値名前
0admin_down
1down
2init
3up

authentication

  • タイプ 8 ビット、長さ 8 ビット。
  • 長さはタイプと長さのフィールドも含みます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
1 (0x01)simple_passwordkey_id, password
2 (0x02)keyed_md5key_id, reserved, sequence_number, digest
3 (0x03)meticulous_keyed_md5key_id, reserved, sequence_number, digest
4 (0x04)keyed_sha1key_id, reserved, sequence_number, hash
5 (0x05)meticulous_keyed_sha1key_id, reserved, sequence_number, hash

authentication › simple_password

フィールド型既定値Auto説明
key_iduint(8)1
passwordbytes — PDU の残りすべて

authentication › keyed_md5

フィールド型既定値Auto説明
key_iduint(8)1
reserveduint(8)0
sequence_numberuint(32)
digestbytes(16)

authentication › meticulous_keyed_md5

フィールド型既定値Auto説明
key_iduint(8)1
reserveduint(8)0
sequence_numberuint(32)
digestbytes(16)

authentication › keyed_sha1

フィールド型既定値Auto説明
key_iduint(8)1
reserveduint(8)0
sequence_numberuint(32)
hashbytes(20)

authentication › meticulous_keyed_sha1

フィールド型既定値Auto説明
key_iduint(8)1
reserveduint(8)0
sequence_numberuint(32)
hashbytes(20)

制約

レベル規則
警告version が 1
警告detect_mult が 0 以外
警告my_discriminator が 0 以外
エラーヘッダが 24 オクテット以上

サンプルテンプレート