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.


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 of VBST

Setting the Maximum Number of Hops of VBST


On the Layer 2 network running VBST, switches send BPDUs to exchange information. A BPDU contains a time to live (TTL) field that indicates the number of remaining hops of the BPDU.
  • The TTL of a BPDU sent by the root switch is the maximum number of hops of VBST.

  • The TTL of a BPDU sent by a non-root switch is calculated according to the following formula: TTL = Maximum number of hosts - Number of hops from the root switch to the non-root switch

  • If the TTL of the BPDU received by the switch is 0, the switch discards the BPDU.

The maximum number of hops of a spanning tree determines the network scale of the spanning tree. You can set the maximum number of hops to determine the network scale of a spanning tree.


  1. Run system-view

    The system view is displayed.

  2. Run stp max-hops hop

    The maximum number of hops of VBST is set.

    By default, the maximum number of hops of VBST is 20.

  3. Run commit

    The configuration is committed.

Updated: 2019-05-08

Document ID: EDOC1100004351

Views: 126081

Downloads: 295

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