beautypg.com

Spanning-tree pathcost method, Spanning-tree bpdu, Spanning-tree pathcost method spanning-tree bpdu – Allied Telesis AT-S94 CLI (AT-8000S Series) User Manual

Page 269

background image

Spanning-Tree Commands

Page 268

Example

The following example enables shared spanning-tree on Ethernet port 1/e5

.

spanning-tree pathcost method

The spanning-tree pathcost method Global Configuration mode command sets the default path cost method.
Use the no form of this command to return to the default configuration.

Syntax

spanning-tree pathcost method {long | short}

no spanning-tree pathcost method

Parameters

long — Specifies port path costs with a range of 1-200,000,000 .

short — Specifies port path costs with a range of 0-65,535.

Default Configuration

Short path cost method.

Command Mode

Global Configuration mode

User Guidelines

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

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

Example

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

spanning-tree bpdu

The spanning-tree bpdu Global Configuration mode command defines BPDU handling when the spanning tree is
disabled globally or on a single interface. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree bpdu {filtering | flooding}

Parameters

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

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

console(config)# interface ethernet 1/e15

console(config-if)# spanning-tree link-type shared

console(config)# spanning-tree pathcost method long