set spantree legacypathcost

Use this command to enable or disable legacy (802.1D) path cost values.

Syntax

set spantree legacypathcost {disable | enable}

Parameters

disable | enable Enables or disables legacy (802.1D) path cost values.

Defaults

None.

Mode

All command modes.

Usage

By default, legacy path cost is disabled. Enabling the device to calculate legacy path costs affects the range of valid values that can be entered using set spantree adminpathcost.

Example

This example shows how to set the default path cost values to 802.1D:

System(rw)->set spantree legacypathcost enable