EasyManuals Logo

Huawei Quidway S3900 Series Command Manual

Huawei Quidway S3900 Series
1159 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #270 background imageLoading...
Page #270 background image
Command Manual – MSTP
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands
Huawei Technologies Proprietary
1-16
Description
Use the stp cost command to set the path cost of the current port in a specified
spanning tree instance.
Use the undo stp cost command to revert to the default path cost of the current port in
the specified spanning tree instance.
By default, a switch automatically calculates the path costs of a port in different
spanning tree instances based on a specified standard.
If you specify the instance-id argument to be 0 or do not specify this argument, the stp
cost command sets the path cost of the port on CIST.
The path costs of a port in spanning tree instances affect the roles of the ports in the
spanning tree instances. By configuring different path costs for the same port in
different MSTIs, you can make flows of different VLANs traveling along different
physical links, so as to achieve VLAN-based load balancing. Changing the path cost of
a port in a spanning tree instance may change the role of the port in the instance and
put it in state transition.
Related command: stp interface cost.
Example
# Set the path cost of Ethernet1/0/3 port in spanning tree instance 2 to 200.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface ethernet1/0/3
[Quidway-Ethernet1/0/3] stp instance 2 cost 200
1.1.16 stp edged-port
Syntax
stp edged-port { enable | disable }
undo stp edged-port
View
Ethernet port view
Parameter
enable: Configures the current Ethernet port as an edge port.
disable: Configures the current Ethernet port as a non-edge port.
Description
Use the stp edged-port enable command to configure the current Ethernet port as an
edge port.

Table of Contents

Other manuals for Huawei Quidway S3900 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Huawei Quidway S3900 Series and is the answer not in the manual?

Huawei Quidway S3900 Series Specifications

General IconGeneral
BrandHuawei
ModelQuidway S3900 Series
CategorySwitch
LanguageEnglish

Related product manuals