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

Configuration Guide - Ethernet Switching

S7700 and S9700 V200R011C10

This document describes the configuration of Ethernet services, including configuring link aggregation, VLANs, Voice VLAN, VLAN mapping, QinQ, GVRP, MAC table, STP/RSTP/MSTP, SEP, and so on.
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 a Switch

Configuring BPDU Protection on a Switch

Context

Edge ports are directly connected to user terminals and will not receive BPDUs. Attackers may send pseudo BPDUs to attack the switch. If the edge ports receive the BPDUs, the switch configures the edge ports as non-edge ports and triggers a new spanning tree calculation. Network flapping then occurs. BPDU protection can be used to protect switches against malicious attacks.

Perform the following procedure on all switches that have edge ports.

Procedure

  1. Run system-view

    The system view is displayed.

  2. (Optional) Run stp process process-id

    The MSTP process view is displayed.

    NOTE:

    Skip this step if you perform configurations in the MSTP process 0.

  3. Run stp bpdu-protection

    BPDU protection is enabled on the switch.

    By default, BPDU protection is disabled on the switch.

Follow-up Procedure

If you want an edge port to automatically recover from the error-down state, run the error-down auto-recovery cause bpdu-protection interval interval-value command in the system view to configure the auto recovery function and set a recovery delay on the port. Then a port in error-down state can automatically go Up after the delay expires. Note the following when setting the recovery delay:
  • By default, the auto recovery function is disabled; therefore, the recovery delay parameter does not have a default value. When you enable the auto recovery function, you must set a recovery delay.
  • A smaller value of interval-value indicates a shorter time taken for an edge port to go Up, and a higher frequency of Up/Down state transitions on the port.
  • A larger value of interval-value indicates a longer time taken for the edge port to go Up, and a longer service interruption time.
  • The auto recovery function takes effect only for the interfaces that transition to the error-down state after the error-down auto-recovery command is executed.
Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178310

Views: 289485

Downloads: 141

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