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

S9300, S9300E, and S9300X V200R012C00 Configuration Guide - Ethernet Switching

This document describes the configuration of Ethernet services, including configuring MAC address table, link aggregation, VLANs, VLAN aggregation, MUX VLAN, VLAN termination, Voice VLAN, VLAN mapping, QinQ, GVRP, STP/RSTP/MSTP, VBST, SEP, RRPP, ERPS, LBDT, HVRP, 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).
(Optional) Configuring a Path Cost of a Port in an MSTI

(Optional) Configuring a Path Cost of a Port in an MSTI

Context

A path cost is port-specific and is used by MSTP to select a link.

Path costs of ports are an important metric used in spanning tree calculation and determine root port selection in an MSTI. The port with the lowest path cost to the root bridge is selected as the root port. Load balancing of VLAN traffic can be achieved by setting different path costs for a port in different MSTIs.

If loops occur on a network, it is recommended that you set a large path cost for ports with low link rates. MSTP then blocks these ports.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run stp pathcost-standard { dot1d-1998 | dot1t | legacy }

    A path cost calculation method is configured.

    By default, the IEEE 802.1t standard (dot1t) is used to calculate the path cost.

    All switches on a network must use the same path cost calculation method.

  3. Run interface interface-type interface-number

    The Ethernet interface view is displayed.

  4. Run stp binding process process-id

    The port is bound to an MSTP process.

  5. Run stp [ process process-id ] instance instance-id cost cost

    A path cost is set for the port in the current MSTI.

    • When the Huawei calculation method is used, cost ranges from 1 to 200000.
    • When the IEEE 802.1d standard method is used, cost ranges from 1 to 65535.
    • When the IEEE 802.1t standard method is used, cost ranges from 1 to 200000000.

Translation
Download
Updated: 2019-01-18

Document ID: EDOC1100038290

Views: 100673

Downloads: 24

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