Stp Edged-Port - Huawei Quidway S8500 Series Command Manual

Routing switches
Hide thumbs Also See for Quidway S8500 Series:
Table of Contents

Advertisement

Command Manual – STP
Quidway S8500 Series Routing Switches
Parameter
instance instance-id: Specifies the spanning tree instance ID, ranging from 0 to 48.
The Instance 0 represents CIST.
cost cost: Port path cost. Its range depends on the selected standard of path cost.
Description
Use the stp instance cost command to configure the port path cost on the specified
MSTI for the current port.
Use the undo stp instance cost command to restore the path cost on the specified
MSTI.
By default, switch calculates the path costs of a port on different MSTIs.
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.
Related command: stp interface instance cost.
Example
# Set the path cost of Ethernet 2/1/3 on MSTI 2 to 200.
<Quidway>system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet 2/1/3
[Quidway-Ethernet2/1/3] stp instance 2 cost 200

1.1.15 stp edged-port

Syntax
stp edged-port { enable | disable }
undo stp edged-port
View
Ethernet port view
Parameter
enable: Configures the current port as an edge port.
disable: Configures the current port as a non-edge port.
Huawei Technologies Proprietary
1-15
Chapter 1 MSTP Configuration Commands

Advertisement

Table of Contents
loading

Table of Contents