Configuring Spanning Tree Port Parameters show spantree adminedge
6-60 Spanning Tree Configuration
Example
Thisexampleshowshowtoresettheadminpathcostto0forfe.3.2onSID1:
Matrix(rw)->clear spantree adminpathcost fe.3.2 sid 1
show spantree adminedge
Usethiscommandtodisplaytheedgeportadministrativestatusforaport.
Syntax
show spantree adminedge [port port-string]
Parameters
Defaults
Ifport‐stringisnotspecifiededgeportadministrativestatuswillbedisplayedforallSpanningTree
ports.
Mode
Switchcommand,Read‐Only.
Example
Thisexampleshowshowtodisplaytheedgeportstatusforfe.3.2:
Matrix(rw)->show spantree adminedge port fe.3.2
Port fe.3.2 has a Port Admin Edge of Edge-Port
set spantree adminedge
UsethiscommandtosettheedgeportadministrativestatusonaSpanningTreeport.
Syntax
set spantree adminedge port-string {true | false}
Parameters
Defaults
None.
port‐string (Optional)Displaysedgeportadministrativestatusforspecificport(s).
Foradetaileddescriptionofpossibleport‐stringvalues,referto“Port
StringSyntaxUsedintheCLI”onpage 4‐2.
port‐string Specifiestheedgeport.Foradetaileddescriptionofpossibleport‐string
values,referto“PortStringSyntaxUsedintheCLI”onpage 4‐2.
true|false Enables(true)ordisables(false)thespecifiedportasaSpanningTree
edgeport.