Configure The Path Cost Of A Port; Configure The Priority Of A Port - Huawei Quidway S3500 Series Operation Manual

Hide thumbs Also See for Quidway S3500 Series:
Table of Contents

Advertisement

Operation Manual - STP
Quidway S3500 Series Ethernet Switches

1.2.10 Configure the Path Cost of a Port

Path Cost is related to the speed of the link connected to the port. On the MSTP switch,
a port can be configured with different path costs for different STIs. Thus the traffic from
different VLANs can run over different physical links, thereby implementing the
VLAN-based load-balancing.
You can configure the path cost of a port in the following ways.
I. Configure in system view
Perform the following configuration in system view.
Table 1-14 Configure the Path Cost of a port
Configure the Path Cost of a
port.
Restore the default path cost
of a port.
II. Configure in Ethernet port view
Perform the following configuration in Ethernet port view.
Table 1-15 Configure the Path Cost of a port
Configure the Path Cost of a port
Restore the default path cost of a port.
You can configure the path cost of a port with either of the above-mentioned measures.
For more about the commands, refer to the Command Manual.
Upon the change of path cost of a port, MSTP will recalculate the port role and transit
the state. When instance-id takes 0, it indicates to set the path cost on the CIST.
By default, MSTP is responsible for calculating the port path cost.

1.2.11 Configure the Priority of a Port

For spanning tree calculation, the port priority is an importance factor to determine if a
port can be elected as the root port. With other things being equal, the port with the
highest priority will be elected as the root port. On the MSTP switch, a port can have
different priorities in different STIs and plays different roles respectively. Thus the traffic
from different VLANs can run over different physical links, thereby implementing the
VLAN-based load-balancing.
Operation
Operation
Huawei Technologies Proprietary
Chapter 1 MSTP Region-configuration
Command
stp interface interface-list [ instance instance-id ]
cost cost
undo stp interface interface-list [ instance
instance-id ] cost
stp [ instance instance-id ] cost cost
undo stp [ instance instance-id ] cost
1-20
Command

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents