beautypg.com

12 spanning-tree pathcost method, 13 spanning-tree bpdu, 2 spanning-tree bpdu – Planet Technology WGSW-48040 User Manual

Page 291: Syntax, Default configuration, Command mode, User guidelines, Example

background image

User’s Manual of WGSW-24020/WGSW-48040

-29

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.

This manual is related to the following products: