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


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


S12700 V200R012C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, VCMP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, and Layer 2 protocol transparent transmission.
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).
Configuring BPDU Protection on the Switch

Configuring BPDU Protection on the Switch


Edge ports are directly connected to user terminals and, in most cases, will not receive BPDUs. However, attackers may send pseudo BPDUs to attack the switch with edge ports. In this case, if the edge ports receive the BPDUs, they are then configured as non-edge ports and spanning tree recalculation is triggered. Network flapping then occurs. Such attacks can be mitigated using BPDU protection on switches with edge ports. After BPDU protection is enabled on the switch, the switch shuts down an edge port if the edge port receives a BPDU.


  1. Run system-view

    The system view is displayed.

  2. Run stp bpdu-protection

    BPDU protection is enabled on the switch.

    By default, BPDU protection is disabled on the switch.

Follow-up Procedure

To configure a shutdown edge port to go Up automatically, run the error-down auto-recovery cause bpdu-protection interval interval-value command in the system view to configure the automatic recovery function and set the recovery delay. After the delay expires, the port automatically goes Up. Note the following when setting interval interval-value:
  • A smaller value indicates a shorter delay for the port to go Up automatically and a higher frequency at which the port alternates between Up and Down states.
  • A larger value indicates a longer delay for the port to go Up automatically and longer traffic interruption.
Updated: 2019-01-18

Document ID: EDOC1100038103

Views: 127772

Downloads: 53

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