clear spantree adminpathcost
Example
This example shows how to set the admin path cost to 200 for ge.3.2 on SID 1:
C2(su)->set spantree adminpathcost
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
port‐string
sid sid
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:
C2(su)->clear spantree adminpathcost
show spantree adminedge
Use this command to display the edge port administrative status for a port.
Syntax
show spantree adminedge [port port-string]
Parameters
port‐string
Defaults
If port‐string is not specified edge port administrative status will be displayed for all Spanning Tree
ports.
9-38 Spanning Tree Configuration
ge.
3.2 200 sid 1
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 7‐2.
(Optional) Resets the admin path cost for specific Spanning Tree(s).
Valid values are 0 ‐ 4094. If not specified, SID 0 is assumed.
ge.
3.2 sid 1
(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 7‐2.
Need help?
Do you have a question about the SecureStack C2 C2G170-24 and is the answer not in the manual?
Questions and answers