show spantree legacypathcost
SecureStack C2 Configuration Guide 9-31
show spantree legacypathcost
UsethiscommandtodisplaythedefaultSpanningTreepathcostsetting.
Syntax
show spantree legacypathcost
Parameters
None.
Defaults
None.
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplaythedefaultSpanningTreepathcostsetting.
C2(su)->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
therangeofvalidvaluesthatcanbeenteredinthesetspantreeadminpathcostcommand.
Example
Thisexampleshowshowtosetthedefaultpathcostvaluesto802.1D.
C2(rw)->set spantree legacypathcost enable
disable Use802.1t2001valuestocalculatepathcost.
enable Use802.1d1998valuestocalculatepathcost.