The stp bpdu bridge enable command enables transparent transmission of STP packets with destination MAC addresses being 01-80-c2-00-00-00 (C-STP packets) and 01-80-c2-00-00-08 (S-STP packets).
The undo stp bpdu bridge enable command restores the default processing of the C-STP and S-STP packets.
By default, the S-STP packets which destination MAC addresses being 01-80-c2-00-00-08 are discarded. The C-STP packets with the destination MAC addresses being 01-80-c2-00-00-00 are processed as follows:
Layer 2 main interfaces: discard
Main interfaces access VPLS/VLL: transmit
Main interfaces access VPLS/VLL: discard
Sub-interfaces access VPLS/VLL: discard
EVC sub-interfaces access VLL/BD: discard
Main interfaces access EVPN: transmit
Sub-interfaces access EVPN: discard
Main interfaces access EVPL: transmit
Sub-interfaces access EVPL: discard
Usage Scenario
By default, when STP is disabled on Layer 2 main interfaces, STP packets with the destination MAC addresses being 01-80-c2-00-00-00 and 01-80-c2-00-00-08 are discarded. Run the stp bpdu bridge enable command to enable transparent transmission of these STP packets. When the stp bpdu bridge enable command is run in the system view, STP packets with the destination MAC addresses being 01-80-c2-00-00-00 and 01-80-c2-00-00-08 are transparently transmitted on all Layer 2 main interfaces.
This function takes effect only for inbound packets on an interface.