Spanning-tree cost, Ge 4-279) t – LevelOne FGL-2870 User Manual

Page 645

Advertising
background image

Spanning Tree Commands

4-279

4

Default Setting

Enabled

Command Mode

Interface Configuration (Ethernet, Port Channel)

Example
This example disables the spanning tree algorithm for port 5.

spanning-tree cost

This command configures the spanning tree path cost for the specified interface.
Use the no form to restore the default.

Syntax

spanning-tree cost cost
no spanning-tree cost

cost - The path cost for the port. (Range: 1-200,000,000)
(Range: 0 for auto-configuration, 1-65535 for short path cost method

26

,

1-200,000,000 for long path cost method)

Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree spanning-disabled
Console(config-if)#

26. Use the spanning-tree pathcost method command on page 4-274 to set the path cost method.

Table 4-67 Recommended STA Path Cost Range

Port Type

IEEE 802.1D-1998

IEEE 802.1w-2001

Ethernet

50-600

200,000-20,000,000

Fast Ethernet

10-60

20,000-2,000,000

Gigabit Ethernet

3-10

2,000-200,000

Table 4-68 Recommended STA Path Cost

Port Type

Link Type

IEEE 802.1D-1998

IEEE 802.1w-2001

Ethernet

Half Duplex

Full Duplex

Trunk

100
95
90

2,000,000
1,999,999
1,000,000

Fast Ethernet

Half Duplex

Full Duplex

Trunk

19

18

15

200,000

100,000

50,000

Gigabit Ethernet

Full Duplex

Trunk

4

3

10,000

5,000

Advertising