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

S1720GFR, S2700, S5700, and S6720 V200R010C00 Web-based Configuration Guide

This document describes the configuration and maintenance of device through the web network management system. The web network management system provides the functions of viewing device information and managing the entire system, interfaces, services, ACL, QoS, routes, security, and tools.
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).
Example for Configuring STP

Example for Configuring STP

Networking Requirements

On a network, to implement redundancy, network designers deploy multiple physical links between two devices, one of which is the master and the others are the backup. Loops may occur, causing broadcast storms and MAC address damage.

After a network designer deploys a network, STP can be deployed on the network to prevent loops. When loops exist on a network, STP blocks a port to prevent the loops. As shown in Figure 2-297, SwitchA, SwitchB, and SwitchC running STP exchange STP BPDUs to discover loops on the network and block ports to prune the network into a loop-free tree network.

Figure 2-297  STP networking

Configuration Description

Before configuring STP, perform the following configurations:
  1. Configure SwitchA as the root bridge and SwitchB as the secondary root bridge.
  2. Disable STP on GE0/0/3 of SwitchA and GE0/0/3 of SwitchC because the two ports do not need to participate in STP calculation.
  3. Enable STP on SwitchA, SwitchB, and SwitchC and block GE0/0/2 on SwitchC to prevent loops.
  4. Configure Layer 2 forwarding on devices. The configuration procedure is not mentioned here.

Procedure

  • Configure SwitchA.
    1. Choose Service Management > STP > STP Global to access the STP Global page, as shown in Figure 2-298.

      Set the following parameters.

      • Set STP to Enabled.
      • Set Root type to Primary.
      • Set Working mode to STP.

      Other parameters use default settings.

      Figure 2-298  Configuring STP global parameters

    2. Click Apply.
    3. Click STP Interface to access the STP Interface page.
    4. Select an interface and click Configure. The STP Interface Settings page is displayed, as shown in Figure 2-299.

      Set the following parameters.

      • Set MSTP to Disabled.

      Other parameters use default settings.

      Figure 2-299  Setting MSTP parameters of an interface

    5. Click OK.
    6. Click in the navigation tree. In the dialog box that is displayed, click OK.
  • Configure SwitchB.
    1. Choose Service Management > STP > STP Global to access the STP Global page, as shown in Figure 2-300.

      Set the following parameters.

      • Set STP to Enabled.
      • Set Root type to Secondary.
      • Set Working mode to STP.

      Other parameters use default settings.

      Figure 2-300  Configuring STP global parameters

    2. Click Apply.
    3. Click in the navigation tree. In the dialog box that is displayed, click OK.
  • Configure SwitchC.
    1. Choose Service Management > STP > STP Global to access the STP Global page, as shown in Figure 2-301.

      Set the following parameters.

      • Set STP to Enabled.
      • Set Working mode to STP.

      Other parameters use default settings.

      Figure 2-301  Configuring STP global parameters

    2. Click Apply.
    3. Click STP Interface to access the STP Interface page.
    4. Select an interface and click Configure. The STP Interface Settings page is displayed, as shown in Figure 2-302.

      Set the following parameters.

      • Set MSTP to Disabled.

      Other parameters use default settings.

      Figure 2-302  Setting MSTP parameters of an interface

    5. Click OK.
    6. Click in the navigation tree. In the dialog box that is displayed, click OK.

Result

On the web platform of SwitchC, choose Service Management > STP > STP Information to access the STP Information page, as shown in Figure 2-303. You can see that GE0/0/1 on SwitchC is the root port in forwarding state and GE0/0/2 is the alternate port in discarding state. That is, GE0/0/2 on SwitchC is blocked and STP is successfully configured to prevent loops.

Figure 2-303  Device STP information

Translation
Download
Updated: 2019-04-18

Document ID: EDOC1000114003

Views: 36507

Downloads: 990

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