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

AR100-S, AR110-S, AR120-S, AR150-S, AR160-S, AR200-S, AR1200-S, AR2200-S, and AR3200-S V200R009 CLI-based Configuration Guide - Ethernet Switching

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).
Setting the Maximum Number of Connections in an Eth-Trunk that Affects Spanning Tree Calculation

Setting the Maximum Number of Connections in an Eth-Trunk that Affects Spanning Tree Calculation

Context

The path costs affect spanning tree calculation. Changes of path costs trigger spanning tree recalculation. The path cost of an interface is affected by its bandwidth, so you can change the interface bandwidth to affect spanning tree calculation.

As shown in Figure 11-16, deviceA and deviceB are connected through two Eth-Trunk links. Eth-Trunk 1 has three member interfaces in Up state and Eth-Trunk 2 has two member interfaces in Up state. Each member link has the same bandwidth, and deviceA is selected as the root bridge.
  • Eth-Trunk 1 has higher bandwidth than Eth-Trunk 2. After STP calculation, Eth-Trunk 1 on deviceB is selected as the root port and Eth-Trunk 2 is selected as the alternate port.
  • If the maximum number of connections affecting bandwidth of Eth-Trunk 1 is set to 1, the path cost of Eth-Trunk 1 is larger than the path cost of Eth-Trunk 2. Therefore, the two devices perform spanning tree recalculation. Then Eth-Trunk 1 on deviceB becomes the alternate port and Eth-Trunk 2 becomes the root port.
Figure 11-16  Setting the maximum number of connections in an Eth-Trunk

The maximum number of connections affects only the path cost of an Eth-Trunk interface participating in spanning tree calculation, and does not affect the actual bandwidth of the Eth-Trunk link. The actual bandwidth for an Eth-Trunk link depends on the number of active member interfaces in the Eth-Trunk.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface eth-trunk trunk-id

    The Eth-Trunk interface view is displayed.

  3. Run max bandwidth-affected-linknumber link-number

    The maximum number of connections affecting the Eth-Trunk bandwidth is set.

    By default, the maximum number of connections affecting the bandwidth of an Eth-Trunk is 8.

Translation
Download
Updated: 2019-05-17

Document ID: EDOC1000174108

Views: 55064

Downloads: 40

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