Spanning Tree Protocol (STP)
XXX - add a brief STP description here
History
XXX - add a brief description of STP history
Protocol dependencies
LLC: Typically, STP uses 802.2 LLC as its transport protocol, running on link-layer protocols in the LanProtocolFamily such as Ethernet.
Example traffic
XXX - Add example traffic here (as plain text or Wireshark screenshot).
Wireshark
The STP dissector is fully functional and supports IEEE 802.1D BPDU, Rapid Spanning-Tree BPDUs, and MST/MSTI BPDUs. Also add info of additional Wireshark features where appropriate, like special statistics of this protocol.
Cisco has a custom TLV extension called Per Vlan Spanning Tree (PVST+). The extension is added to 802.1D and RST BPDUs sent on 802.1Q VLAN trunks. The extension at the end of the BPDU advertises the VLAN ID (PVID) that the BPDU was sent on. The extension has the following format. It should be noted that only 802.1D and not RST BPDUs include the one padding byte for alignment.
- Even byte padding (802.1D only): 1 byte
- Type (only PVID type 0x00 is supported): 2 bytes
- Length: 2 bytes
- Data: PVID is 2 bytes
Preference Settings
There are no STP specific preference settings.
Example capture file
Display Filter
A complete list of STP display filter fields can be found in the display filter reference
- Show only the STP based traffic:
stp
Capture Filter
- Capture only the STP based traffic:
stp
External links
IEEE 802.1D: IEEE standard for local and metropolitan area networks--Media access control (MAC) Bridges (for STP and RSTP).
IEEE 802.1Q: IEEE Standards for local and metropolitan area networks-—Virtual Bridged Local Area Networks (for MSTP).
