Got it

How can I configure the path cost of an interface on a CE switch running STP/MSTP

114

Path costs determine root interface selection during spanning tree calculation. In a spanning tree, the interface with the lowest path cost to the root bridge is selected as a root interface.

You can run the stp [ process process-id ] [ instance instance-id ] cost cost command in the interface view to configure the path cost of an interface. It is recommended that the path cost of an interface be set smaller within the specified range if the rate of the link on the interface is greater.

# Set the path cost of 10GE1/0/1 to 200.
system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] stp cost 200
[*HUAWEI-10GE1/0/1] commit Description: 
The path cost of an interface is related to the algorithm for calculating path costs. If the path cost calculation algorithm is changed using the stp pathcost-standard command, the interface path cost configured through this command will be restored to the default value.

Other related questions:
If you have more questions, you can seek help from following ways:
To WeiKnow To Live Chat

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.