15 spanning-tree path-cost, 16 spanning-tree link-type – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 140

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 140 of 855

Switch# configure terminal
Switch(config)# spanning-tree pathcost-standard dot1d-1998

Related Commands

7.15 spanning-tree path-cost

Use this command to set the cost of a path associated with the default bridge-group. The lower the
path cost, the greater the likelihood of the bridge becoming root. Use the no parameter with this
command to calculate path cost according to interface’s speed.


Command Syntax

spanning-tree path-cost number
no spanning-tree path-cost

number

The cost to be assigned to the group. The range is 1 to 200000000.


Command Mode

Interface mode

Default

The default path cost value is calculated according to interface’s speed.

Usage

The priority values can only be set in increments of 16.


Examples

Switch# configure terminal
Switch(config)# interface eth-0-1
Switch(config-if)# spanning-tree path-cost 123

Related Commands

7.16 spanning-tree link-type

Use this command to enable or disable point-to-point or shared link types. Use the no parameter with
this command to disable rapid transition.


Command Syntax

spanning-tree link-type {auto | point-to-point | shared}
no spanning-tree link-type

auto

Change link type according to interface’s duplex automatically.

Advertising