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

HSRPv2 (hsrpv2)

下位レイヤからの到達

下位レイヤ判別フィールド値
udpdst_port / src_port1985 (0x07c1)
udpdst_port / src_port2029 (0x07ed)
hsrpversion1 (0x01) (このレイヤを読み直す)

フィールド

フィールド型既定値Auto説明
tlvstlv — PDU の残りすべて1 要素HSRPv2 TLV (Group State、Interface State、テキスト / MD5 認証。8 ビットのタイプと長さ)。

tlvs

  • タイプ 8 ビット、長さ 8 ビット。
  • 長さは値の部分だけを数えます。
  • 未知のタイプは値をオクテット列のまま保持します。
タイプ値名前値のフィールド説明
1 (0x01)group_stateversion, op_code, state, ip_version, group, identifier, priority, hello_time, hold_time, virtual_ip
2 (0x02)interface_stateactive_groups, passive_groups
3 (0x03)text_authauth_data
4 (0x04)md5_auth

tlvs › group_state

フィールド型既定値Auto説明
versionuint(8)2
op_codeuint(8)0
stateuint(8)6
ip_versionuint(8)4
groupuint(16)0
identifiermac02:00:00:00:00:01
priorityuint(32)100
hello_timeuint(32)3000
hold_timeuint(32)10000
virtual_ipbytes(16)c0 00 02 fe 00 00 00 00 00 00 00 00 00 00 00 00

tlvs › interface_state

フィールド型既定値Auto説明
active_groupsuint(16)1
passive_groupsuint(16)0

tlvs › text_auth

フィールド型既定値Auto説明
auth_databytes(8)63 69 73 63 6f 00 00 00

サンプルテンプレート

  • hsrpv2 — templates/protocols/fhrp/hsrpv2.wpg.yaml