12 spanning-tree pathcost method, 13 spanning-tree bpdu – PLANET WGSD-1022 User Manual

Page 273

Advertising
background image

5.21.12 spanning-tree pathcost method

The spanning-tree pathcost method command sets the default path cost method. To revert to the

default setting, use the no form of this command.

Syntax

spanning-tree pathcost method {long | short}

no spanning-tree pathcost method

ƒ long — Specifies 1 through 200,000,000 range for port path costs.

ƒ short — Specifies 1 through 200,000,000 range for port path costs.

Default Configuration

Auto

Command Mode

Global configuration mode

User Guidelines

This command applies to all the spanning tree instances on the switch.

The priority value must be a multiple of 4096.

The cost is set using the spanning-tree cost command.

Example

The following example sets the default path cost method to "long".

Console# spanning-tree pathcost method long

5.21.13 spanning-tree bpdu

The spanning-tree bpdu global configuration command defines BPDU handling when spanning-tree is

disabled on an interface.

Syntax

spanning-tree bpdu {filtering | flooding}

ƒ filtering — Filter BPDU packets when spanning-tree is disabled on an interface.

ƒ flooding — Flood BPDU packets when spanning-tree is disabled on an interface.

Default Configuration

The default definition is flooding.

Advertising