No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
stp bpdu-filter default

stp bpdu-filter default

Function

The stp bpdu-filter default command specifies all ports of a device as BPDU-filter ports.

The undo stp bpdu-filter default command specifies all ports of a device as non-BPDU-filter ports.

By default, a port is a non-BPDU-filter port.

Format

stp bpdu-filter default

undo stp bpdu-filter default

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On a network running a spanning tree protocol, if the stp edged-port enable command is used to configure a port as an edge port, the port will not participate in the spanning tree calculation. This speeds up network convergence and improves network stability. This port, however, will still send BPDUs. This may cause BPDUs to be sent to other networks. As a result, these networks flap.

The stp bpdu-filter enable command can be used on the port to address this problem. After the stp bpdu-filter enable command is used on the port, the port will become a BPDU-filter port, and will not process BPDUs.

Running the stp bpdu-filter enable command in the interface view configures only the current port as a BPDU-filter port. If multiple BPDU-filter ports are required on a device, the stp bpdu-filter default command can be used in the system view to configure all ports as BPDU-filter ports. Then run the stp bpdu-filter disable command in the interface view to change the interfaces that need not to be configured as BPDU filter interfaces into non-BPDU filter interfaces.

Precautions

After the stp bpdu-filter default command is run, a port that has been configured with the undo stp bpdu-filter command will become a BPDU-filter port. After the stp bpdu-filter disable command is run, the port that has been configured with the undo stp bpdu-filter command, however, will still serve as a non-BPDU-filter port.

After the stp bpdu-filter default and stp edged-port default commands are run in the system view, none of the ports on the device will initiate any BPDUs or initiate a negotiation with the remote device, and all the ports are in the forwarding state. This may lead to a loop and cause a broadcast storm. Exercise cautions when using the stp bpdu-filter default and stp edged-port default commands in the system view.

Example

# On a network edge device, specify all ports as BPDU-filter ports.

<Huawei> system-view
[Huawei] stp bpdu-filter default
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 212541

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next