Spanning Tree Configuration Command Set
Reviewing and Setting Spanning Tree Port Parameters
Matrix E1 Series (1G58x-09 and 1H582-xx) Configuration Guide 6-43
6.2.2.8 show spantree portcost
Use this command to display cost values assigned to one or more Spanning Tree ports.
show spantree portcost port-string [sid]
Syntax Description
Command Defaults
If sid is not specified, path cost information for SID 0 will be displayed.
Command Type
Switch command.
Command Mode
Read-Only.
Example
This example shows how to display the port cost for Fast Ethernet front panel port 3:
6.2.2.9 set spantree portcost
Use this command to assign a cost value to a Spanning Tree or port. This parameter is used to
determine the best path between Spanning Tree devices. Therefore, lower values should be assigned
to ports attached to faster media, and higher values assigned to ports with slower media.
set spantree portcost port-string cost [sid]
port-string Specifies the port(s) for which to display cost values. For a
detailed description of possible port-string values, refer to
Section 4.1.2.
sid (Optional) Displays cost values for a specific SID.
Matrix>show spantree portcost fe.0.3
Port cost = 64 for port fe.0.3.
NOTE: Port cost takes precedence over port priority (set spantree portpri). The cost
to the root is updated by each bridge at the root port.