Spanning Tree Configuration Command Set
Reviewing and Setting Spanning Tree Port Parameters
Matrix E1 Series (1G58x-09 and 1H582-xx) Configuration Guide 6-45
6.2.2.10 clear spantree portcost
Use this command to reset the path cost for a Spanning Tree or port to the default value of 0,
allowing for path cost to be determined dynamically based on port speed.
clear spantree portcost [port-string] [sid]
Syntax Description
Command Defaults
If port-string is not specified, path cost will be reset for all ports.
If sid is not specified, port cost will be reset on all SIDs.
Command Type
Switch command.
Command Mode
Read-Write.
Example
This example shows how to reset port cost to 0 on Fast Ethernet front panel port 11:
6.2.2.11 show spantree adminedge
Use this command to display the edge port administrative status for a port.
show spantree adminedge port-string
port-string (Optional) Resets the path cost for specific port(s). For a
detailed description of possible port-string values, refer to
Section 4.1.2.
sid (Optional) Resets the cost value for a specific SID.
Matrix>clear spantree portcost fe.0.11