stp bpdu bridge enable

Function

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

Format

stp bpdu bridge enable

undo stp bpdu bridge enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
mstp write

Usage Guidelines

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.

Example

# Configure transparent transmission of STP packets with the destination MAC addresses being 01-80-c2-00-00-00 and 01-80-c2-00-00-08 on all Layer 2 main interfaces.
<HUAWEI> system-view
[~HUAWEI] stp bpdu bridge enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >