OSPFv3 Router-LSA (ospfv3_router_lsa)
- レイヤ: L3 (ネットワーク)
- ヘッダ: 可変長
下位レイヤからの到達
| 下位レイヤ | 判別フィールド | 値 |
|---|---|---|
ospfv3_lsa | ls_type | 8193 (0x2001) |
フィールド
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
flags | flags(8) | 0x0 | Router-LSA フラグ (V = 仮想リンク端点、E = ASBR、B = ABR)。 | |
options | flags(24) | 0x13 | OSPFv3 オプション (V6、E、N、R、DC、AF ビット)。 | |
links | list<struct> — PDU の残りすべて | 1 要素 | ルータインタフェース (タイプ、メトリック、インタフェース ID、隣接ルータ ID)。 |
flags
| ビット | マスク | 名前 |
|---|---|---|
| 2 | 4 (0x04) | v |
| 1 | 2 (0x02) | e |
| 0 | 1 (0x01) | b |
options
| ビット | マスク | 名前 |
|---|---|---|
| 0 | 1 (0x000001) | v6 |
| 1 | 2 (0x000002) | e |
| 3 | 8 (0x000008) | n |
| 4 | 16 (0x000010) | r |
| 5 | 32 (0x000020) | dc |
| 8 | 256 (0x000100) | af |
links
各要素は以下のフィールドの組です。
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
type | uint(8) | |||
reserved | uint(8) | |||
metric | uint(16) | |||
interface_id | uint(32) | |||
neighbor_interface_id | uint(32) | |||
neighbor_router_id | ipv4 |
サンプルテンプレート
- ospfv3-lsu-router-lsa —
templates/protocols/routing/ospfv3-lsu-router.wpg.yaml