Huawei quidway s3526 series Getting Started page 578

Hide thumbs Also See for quidway s3526 series:
Table of Contents

Advertisement

Command Manual - STP
Quidway S3500 Series Ethernet Switches
in Port Command Manual. &<1-10> means that the preceding parameters can be
entered up to 10 times.
instance-id: Specifies the spanning tree instance ID, ranging from 0 to 16, instance 0 is
CIST.
cost cost: Specifies the path cost of the port, ranging from 1 to 200000.
Description
Using stp interface cost command, you can configure the path cost of the specified
port on the specified STI in system view. Using undo stp interface cost command,
you can restore the path cost to default value. If user doesn't input parameter "instance
instance-id" when configuring switch, the configuration will only be effective on CIST.
By default, the path cost of the port on every STI is associated with the port speed. For
details, refer to the table in the configuration guideline.
You may specify the instance-id parameter as 0 to configure CIST path cost of the port.
The path cost has effect on the port role selection. A port can be configured with
different path costs on different MSTIs. Thus the traffic from different VLANs can run
over different physical links, thereby implementing the VLAN-based load-balancing.
MSTP will recalculate the port role and transit its state, upon the port path cost
changes.
The default values of the path cost varies with the different port speeds, as described in
the following table.
Table 1-5 Cost corresponding to the port speed
Link speed
10Mbps
100Mbps
1Gbps
10G/s
Above 10G/s
For the related command, see stp cost .
Example
# Set the path cost of Ethernet 0/3 on STI 2 to 400 in system view.
[Quidway] stp interface ethernet 0/3 instance 2 cost 400
Recommended
value
2,000
200
20
2
1
Huawei Technologies Proprietary
1-20
Chapter 1 MSTP Configuration Commands
Recommended
value range
200 - 20000
1-200000
20-2000
1-200000
2-200
1-200000
2-20
1-200000
1-2
1-200000
Value range

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents