Configuring Spanning Tree Bridge Parameters show spantree legacypathcost
6-30 Spanning Tree Configuration
show spantree legacypathcost
UsethiscommandtodisplaythedefaultSpanningTreepathcostsetting.
Syntax
show spantree legacypathcost
Parameters
None.
Defaults
None.
Mode
Switchcommand,Read‐Only.
Example
ThisexampleshowshowtodisplaythedefaultSpanningTreepathcostsetting:
Matrix(rw)->show spantree legacypathcost
Legacy Path Cost is disabled
set spantree legacypathcost
Usethiscommandtoenableordisablelegacy(802.1D)pathcostvalues.
Syntax
set spantree legacypathcost {disable | enable}
Parameters
Defaults
None.
Mode
Switchcommand,Read‐Write.
Usage
Bydefault,legacypathcostisdisabled.Enablingthedevicetocalculatelegacypathcostsaffects
therangeofvalidvaluesthat canbeenteredinthesetspantreeadminpathcostcommand(“set
spantreeadminpathcost”onpage 6‐58).
Example
Thisexampleshowshowtosetthedefaultpathcostvaluesto802.1D:
Matrix(rw)->set spantree legacypathcost enable
disable|enable Enablesordisableslegacy(802.1D)path costvalues.