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

CloudEngine 8800, 7800, 6800, and 5800 V200R003C00

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, MUX VLAN, 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).
Setting the Maximum Number of Hops in an MST Region

Setting the Maximum Number of Hops in an MST Region

Context

To communicate with each other on a Layer 2 network running MSTP, switching devices exchange MST BPDUs. An MST BPDU has a field that indicates the number of remaining hops.
  • The number of remaining hops in a BPDU sent by the root bridge equals the maximum number of hops.

  • The number of remaining hops in a BPDU sent by a non-root bridge equals the maximum number of hops minus the number of hops from the non-root bridge to the root bridge.

  • If a switching device receives a BPDU in which the number of remaining hops is 0, the switching device will discard the BPDU.

The maximum number of hops of a spanning tree in an MST region determines the network scale. The stp max-hops command can be used to set the maximum number of hops in an MST region so that the network scale of a spanning tree can be controlled.

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 max-hops hop

    The maximum number of hops in an MST region is set.

    By default, the maximum number of hops of the spanning tree in an MST region is 20.

  4. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 125718

Downloads: 295

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