show spantree legacypathcost
7-30 Spanning Tree Configuration
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtoresettheSpanG uard trapfunctiontoenabled:
B3(rw)->clear spantree spanguardtrapenable
show spantree legacypathcost
UsethiscommandtodisplaythedefaultSpanningTreepathcostsetting.
Syntax
show spantree legacypathcost
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplaythedefaultSpanningTreepathcostsetting.
B3(su)->show spantree legacypathcost
Legacy Path Cost is disabled.
set spantree legacypathcost
Usethiscommandtoenableordisablelegacy(802.1D)pathcostvalues.
Syntax
set spantree legacypathcost {disable | enable}