To transparently transmit untagged BPDUs, run the port default vlan command on the inbound and outbound interfaces of the BPDUs.
To transparently transmit tagged BPDUs, run the port default vlan command on the outbound interface of the BPDUs.