802.1Q VLAN (dot1q)
- レイヤ: L2 (データリンク)
- ヘッダ: 4 オクテット (固定長)
- 補足: ユーザ定義プロトコル (protocols.d)
下位レイヤからの到達
| 下位レイヤ | 判別フィールド | 値 |
|---|---|---|
ethernet2 | ethertype | 33024 (0x8100) |
dot1q | ethertype | 33024 (0x8100) |
dot1ad | ethertype | 33024 (0x8100) |
snap | pid | 33024 (0x8100) |
フィールド
| フィールド | 型 | 既定値 | Auto | 説明 |
|---|---|---|---|---|
pcp | uint(3) | 0 | 優先度コードポイント (802.1p のサービスクラス、0〜7)。 | |
dei | uint(1) | 0 | 廃棄適格表示 (DEI)。 | |
vid | uint(12) | 1 | VLAN ID (1〜4094。0 = 優先度タグのみ、4095 は予約)。 | |
ethertype | enum(16) | 34997 (local_experimental) | 次レイヤのプロトコル番号 (「次レイヤ」参照) | タグの次のレイヤの EtherType (Auto。もう 1 つの 802.1Q タグなら 0x8100)。 |
ethertype
| 値 | 名前 |
|---|---|
| 2048 (0x0800) | ipv4 |
| 2054 (0x0806) | arp |
| 33024 (0x8100) | vlan |
| 34525 (0x86dd) | ipv6 |
| 34997 (0x88b5) | local_experimental |
| 35045 (0x88e5) | macsec |
| 35063 (0x88f7) | ptp |
| 35074 (0x8902) | cfm |
次レイヤ
次レイヤは ethertype で判別します。このフィールドが Auto のときは、上に積んだプロトコルの値を書き込みます。
| 値 | プロトコル | 備考 |
|---|---|---|
| 2048 (0x0800) | ipv4 | |
| 34525 (0x86dd) | ipv6 | |
| 2054 (0x0806) | arp | |
| 33024 (0x8100) | dot1q | |
| 34984 (0x88a8) | dot1ad | |
| 35045 (0x88e5) | macsec | |
| 35063 (0x88f7) | ptp | |
| 35063 (0x88f7) | ptp_sync | |
| 35063 (0x88f7) | ptp_delay_req | |
| 35063 (0x88f7) | ptp_pdelay_req | |
| 35063 (0x88f7) | ptp_pdelay_resp | |
| 35063 (0x88f7) | ptp_follow_up | |
| 35063 (0x88f7) | ptp_delay_resp | |
| 35063 (0x88f7) | ptp_pdelay_resp_follow_up | |
| 35063 (0x88f7) | ptp_announce | |
| 35063 (0x88f7) | ptp_signaling | |
| 35063 (0x88f7) | ptp_management | |
| 35074 (0x8902) | cfm | |
| 35074 (0x8902) | cfm_ccm | |
| 35074 (0x8902) | cfm_lbr | |
| 35074 (0x8902) | cfm_lbm | |
| 35074 (0x8902) | cfm_ltr | |
| 35074 (0x8902) | cfm_ltm | |
| 35074 (0x8902) | cfm_ais | |
| 35074 (0x8902) | cfm_lck | |
| 35074 (0x8902) | cfm_tst | |
| 35074 (0x8902) | cfm_raps | |
| 35074 (0x8902) | cfm_lmr | |
| 35074 (0x8902) | cfm_lmm | |
| 35074 (0x8902) | cfm_1dm | |
| 35074 (0x8902) | cfm_dmr | |
| 35074 (0x8902) | cfm_dmm | |
| 35074 (0x8902) | cfm_csf | |
| 35074 (0x8902) | cfm_1sl | |
| 35074 (0x8902) | cfm_slr | |
| 35074 (0x8902) | cfm_slm |
制約
| レベル | 規則 |
|---|---|
| 警告 | vid が 4095 以外 |
サンプルテンプレート
- dot1ad-qinq-frame —
templates/protocols/l2/dot1ad.wpg.yaml - dot1q-frame —
templates/protocols/l2/dot1q.wpg.yaml - cfm-ccm —
templates/protocols/oam/cfm-ccm.wpg.yaml - erps-raps-nr-rb —
templates/protocols/oam/erps-raps-nr-rb.wpg.yaml - erps-raps-sf —
templates/protocols/oam/erps-raps-sf.wpg.yaml - scenario-qinq-service-sweep —
templates/scenarios/qinq-service-sweep.wpg.yaml - scenario-vlan-arp-sweep —
templates/scenarios/vlan-arp-sweep.wpg.yaml - scenario-vlan-id-sweep —
templates/scenarios/vlan-id-sweep.wpg.yaml - scenario-vlan-syn-flood —
templates/scenarios/vlan-syn-flood.wpg.yaml