clear spantree portpri
Use this command to reset the bridge priority of a Spanning Tree port to a default value of 128.
Syntax
clear spantree portpri port-string [sid sid]
Parameters
port‐string
sid sid
Defaults
If sid is not specified, port priority will be set for Spanning Tree 0.
Mode
Switch command, read‐write.
Example
This example shows how to reset the priority of
G3(su)->clear spantree portpri ge.1.3 sid 1
show spantree adminpathcost
Use this command to display the admin path cost for a port on one or more Spanning Trees.
Syntax
show spantree adminpathcost [port port-string] [sid sid]
Parameters
port port‐string
sid sid
Defaults
If port‐string is not specified, admin path cost for all Spanning Tree ports will be displayed.
If sid is not specified, admin path cost for Spanning Tree 0 will be displayed.
Mode
Switch command, read‐only.
Specifies the port(s) for which to set Spanning Tree port priority. For a
detailed description of possible port‐string values, refer to "Port String
Syntax Used in the CLI" on page 4‐1.
(Optional) Resets the port priority for a specific Spanning Tree identifier.
Valid values are 0 ‐ 4094. If not specified, SID 0 will be assumed.
(Optional) Displays the admin path cost value for specific port(s). For a
detailed description of possible port‐string values, refer to "Port String
Syntax Used in the CLI" on page 4‐1.
(Optional) Displays the admin path cost for a specific Spanning Tree
identifier. Valid values are 0 ‐ 4094. If not specified, SID 0 will be assumed.
ge
.1.3 to 128 on SID 1
Enterasys G-Series CLI Reference 6-35
clear spantree portpri