clear spantree adminpathcost
13-42 Spanning Tree Configuration
Example
This example shows how to set the admin path cost to 200 for ge.3.2 on SID 1:
C3(su)->set spantree adminpathcost ge.3.2 200 sid 1
clear spantree adminpathcost
Use this command to reset the Spanning Tree default value for port admin path cost to 0.
Syntax
clear spantree adminpathcost port-string [sid sid]
Parameters
Defaults
If sid is not specified, admin path cost will be reset for Spanning Tree 0.
Mode
Switch command, read-write.
Example
This example shows how to reset the admin path cost to 0 for ge.3.2 on SID 1:
C3(su)->clear spantree adminpathcost ge.3.2 sid 1
show spantree adminedge
Use this command to display the edge port administrative status for a port.
Syntax
show spantree adminedge [port port-string]
Parameters
Defaults
If port-string is not specified edge port administrative status will be displayed for all Spanning Tree
ports.
port-string Specifies the port(s) for which to reset admin path cost. For a detailed
description of possible port-string values, refer to “Port String Syntax
Used in the CLI” on page 11-1.
sid sid (Optional) Resets the admin path cost for specific Spanning Tree(s).
Valid values are 0 - 4094. If not specified, SID 0 is assumed.
port-string (Optional) Displays edge port administrative status for specific
port(s). For a detailed description of possible port-string values,
refer to “Port String Syntax Used in the CLI” on page 11-1.