protocol_id | uint(16) | 0 | | Spanning Tree protocol identifier (always 0). |
protocol_version | enum(8) | 0 (stp) | | Protocol version (0 = STP, 2 = RSTP, 3 = MSTP). |
bpdu_type | enum(8) | 0 (config) | | BPDU type (0 = configuration, 2 = RST/MST, 0x80 = TCN). |
flags | flags(8) | 0x0 | | BPDU flags (topology change, proposal, role, learning, forwarding, agreement, TCA). |
root_priority | uint(16) | 32768 | | Root bridge priority and system-id extension. |
root_mac | mac | 00:00:00:00:00:00 | | Root bridge MAC address. |
root_path_cost | uint(32) | 0 | | Cost of the path to the root bridge. |
bridge_priority | uint(16) | 32768 | | Sending bridge priority and system-id extension. |
bridge_mac | mac | 00:00:00:00:00:00 | | Sending bridge MAC address. |
port_id | uint(16) | 32769 | | Sending port identifier (priority + number). |
message_age | uint(16) | 0 | | Age of the BPDU, in 1/256 seconds. |
max_age | uint(16) | 5120 | | Maximum BPDU age before timeout, in 1/256 seconds. |
hello_time | uint(16) | 512 | | Interval between configuration BPDUs, in 1/256 seconds. |
forward_delay | uint(16) | 3840 | | Forwarding delay timer, in 1/256 seconds. |
trailer | bytes — rest of the PDU | "" | | RSTP / MSTP extension (version-1 length, v3 length, MSTI records); opaque octets. |