show spantree legacypathcost
6-30 Spanning Tree Configuration
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐write.
Example
ThisexampleshowshowtoresettheSpanGuardtrapfunctiontoenabled:
D2(rw)->clear spantree spanguardtrapenable
show spantree legacypathcost
UsethiscommandtodisplaythedefaultSpanningTreepathcostsetting.
Syntax
show spantree legacypathcost
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplaythedefaultSpanningTreepathcostsetting.
D2(su)->show spantree legacypathcost
Legacy Path Cost is disabled.
set spantree legacypathcost
Usethiscommandtoenableordisablelegacy(802.1D)pathcostvalues.
Syntax
set spantree legacypathcost {disable | enable}
Parameters
disable Use802.1t2001valuestoca lculatepathcost.
enable Use802.1d1998valuestocalculatepathcost.