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

NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is NE20E-S2 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
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).
(Optional) Configuring a Priority for a Switching Device in an MSTI

(Optional) Configuring a Priority for a Switching Device in an MSTI

The lower the numerical value is, the higher priority a switching device has and the more likely the switching device will be selected as a root bridge. You can configure the cost of the path from a switching device to the root bridge to preferentially select a root port.

Context

In a Multiple Spanning Tree Instance (MSTI), there is only one root bridge and it is the logic center of the MSTI. In root bridge selection, the switching device with high performance and network hierarchy is generally selected as a root bridge; however, the priority of such a device may be not that high. Thus setting a high priority for the switching device is necessary so that the device can function as a root bridge.

Other devices with low performance and network hierarchy are not fit to be a root bridge. Therefore, set low priorities for these devices.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run stp [ instance instance-id ] priority priority

    A priority is set for the switching device in an MSTI.

    If the instance is not designated, a priority is set for the switching device in MSTI0.

    NOTE:
    • To configure a switching device as a primary root bridge, you can run the stp [ instance instance-id ] root primary command directly. The priority value of this switching device is 0.

    • To configure a switching device as a secondary root bridge, run the stp [ instance instance-id ] root secondary command. The priority value of this switching device is 4096.

      In an MSTI, a switching device cannot act as a primary root bridge and a secondary root bridge at the same time.

    • If you want to change the priority of a switching device after you run the stp [ instance instance-id ] root primary command or the stp [ instance instance-id ] root secondary command to configure the switching device as a primary root bridge or a secondary root bridge, disable the root bridge function or secondary root bridge function and then run the stp [ instance instance-id ] priority priority command to re-set a priority.

  3. Run commit

    The configuration is committed.

Translation
Download
Updated: 2019-01-02

Document ID: EDOC1100055378

Views: 16491

Downloads: 34

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