ES-IS ESH (esis_esh)
- レイヤ: L3 (ネットワーク)
- ヘッダ: 可変長
- 補足: CLNP / ES-IS (P2)
下位レイヤからの到達
| 下位レイヤ | 判別フィールド | 値 |
|---|---|---|
llc | dsap = 254 (0xfe) のときのペイロード先頭 8 ビット | 130 (0x82) |
ppp | protocol = 35 (0x0023) のときのペイロード先頭 8 ビット | 130 (0x82) |
esis | pdu_type | 2 (このレイヤを読み直す) |
フィールド
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
nlpid | enum(8) | 130 (esis) | ネットワーク層プロトコル識別子(0x82 = ES-IS)。 | |
length_indicator | uint(8) | ヘッダの長さ (オクテット単位) | PDU の長さ(オクテット、Auto)。 | |
version | uint(8) | 1 | バージョン / プロトコル ID 拡張(1)。 | |
reserved | uint(8) | 0 | ||
reserved_type | uint(3) | 0 | ||
pdu_type | enum(5) | 2 (esh) | PDU 種別: 2 ESH(エンドシステム Hello)、4 ISH(中間システム Hello)、6 RD(リダイレクト)。 | |
holding_time | uint(16) | 30 | 保持時間(秒)。 | |
checksum | uint(16) | ヘッダに対するFletcher チェックサム | PDU の ISO 8473 Fletcher チェックサム(Auto)。0 = チェックサム不使用。 | |
number_of_source_addresses | uint(8) | source_addresses の要素数 | 送信元アドレスの数(Auto)。 | |
source_addresses | list<struct> — number_of_source_addresses 個の要素 | 1 要素 | エンドシステムが受け持つ NSAP アドレス。 | |
options | tlv — グループ先頭から length_indicator オクテットまで | [] | 長さ指示子までのオプション(8 ビットコード / 8 ビット長): セキュリティ、QoS 維持、優先度、アドレスマスク、SNPA マスク、推奨 ES 設定タイマ。 |
nlpid
| 値 | 名前 |
|---|---|
| 130 (0x82) | esis |
pdu_type
| 値 | 名前 |
|---|---|
| 2 | esh |
| 4 | ish |
| 6 | rd |
source_addresses
各要素は以下のフィールドの組です。
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
address | nsap |
options
- タイプ 8 ビット、長さ 8 ビット。
- 長さは値の部分だけを数えます。
- 未知のタイプは値をオクテット列のまま保持します。
| タイプ値 | 名前 | 値のフィールド | 説明 |
|---|---|---|---|
| 197 (0xc5) | security | value | |
| 195 (0xc3) | qos_maintenance | value | |
| 205 (0xcd) | priority | value | |
| 225 (0xe1) | address_mask | mask | |
| 226 (0xe2) | snpa_mask | mask | |
| 198 (0xc6) | es_configuration_timer | seconds |
options › security
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
value | bytes — PDU の残りすべて |
options › qos_maintenance
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
value | bytes — PDU の残りすべて |
options › priority
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
value | uint(8) |
options › address_mask
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
mask | bytes — PDU の残りすべて |
options › snpa_mask
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
mask | bytes — PDU の残りすべて |
options › es_configuration_timer
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
seconds | uint(16) |
サンプルテンプレート
- esis-esh —
templates/protocols/routing/esis-esh.wpg.yaml