OSPFv3 LSA (ospfv3_lsa)
- レイヤ: L3 (ネットワーク)
- ヘッダ: 20 オクテット (固定長)
下位レイヤからの到達
| 下位レイヤ | 判別フィールド | 値 |
|---|---|---|
ospfv3_lsu | num_lsas | (その他の値) |
フィールド
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
ls_age | uint(16) | 0 | LSA 生成からの経過秒数 (自動チェックサムを正確にするには 0 のまま)。 | |
ls_type | enum(16) | 8193 (router) | 次レイヤのプロトコル番号 (「次レイヤ」参照) | U / S スコープビット付きの LSA 機能コード (LSA 本体レイヤから自動)。 |
link_state_id | uint(32) | 0 | 記述対象を識別するリンクステート ID。 | |
advertising_router | ipv4 | 192.0.2.1 | LSA を生成したルータのルータ ID。 | |
ls_sequence | uint(32) | 2147483649 | LSA シーケンス番号 (0x80000001 = 初期値)。 | |
ls_checksum | uint(16) | ヘッダとそれ以降すべてに対するFletcher チェックサム; ls_age は 0 として計算 | LS age を除いた LSA の Fletcher チェックサム (自動)。 | |
length | uint(16) | ヘッダとペイロードの長さ (オクテット単位) | ヘッダを含む LSA 長 (オクテット、自動)。 |
ls_type
| 値 | 名前 |
|---|---|
| 8193 (0x2001) | router |
| 8194 (0x2002) | network |
| 8195 (0x2003) | inter_area_prefix |
| 8196 (0x2004) | inter_area_router |
| 16389 (0x4005) | as_external |
| 8199 (0x2007) | nssa |
| 8 (0x0008) | link |
| 8201 (0x2009) | intra_area_prefix |
次レイヤ
次レイヤは ls_type で判別します。このフィールドが Auto のときは、上に積んだプロトコルの値を書き込みます。
| 値 | プロトコル | 備考 |
|---|---|---|
| 8193 (0x2001) | ospfv3_router_lsa | |
| 8194 (0x2002) | ospfv3_network_lsa | |
| 8195 (0x2003) | ospfv3_inter_area_prefix_lsa | |
| 16389 (0x4005) | ospfv3_as_external_lsa | |
| 8199 (0x2007) | ospfv3_as_external_lsa | |
| 8 (0x0008) | ospfv3_link_lsa | |
| 8201 (0x2009) | ospfv3_intra_area_prefix_lsa |
サンプルテンプレート
- ospfv3-lsu-as-external-lsa —
templates/protocols/routing/ospfv3-lsu-as-external.wpg.yaml - ospfv3-lsu-inter-area-prefix-lsa —
templates/protocols/routing/ospfv3-lsu-inter-area-prefix.wpg.yaml - ospfv3-lsu-intra-area-prefix-lsa —
templates/protocols/routing/ospfv3-lsu-intra-area-prefix.wpg.yaml - ospfv3-lsu-link-lsa —
templates/protocols/routing/ospfv3-lsu-link.wpg.yaml - ospfv3-lsu-network-lsa —
templates/protocols/routing/ospfv3-lsu-network.wpg.yaml - ospfv3-lsu-router-lsa —
templates/protocols/routing/ospfv3-lsu-router.wpg.yaml