Spanning Tree Commands
4-285
4
Default Setting
Enabled
Command Mode
Interface Configuration (Ethernet, Port Channel)
Example
This example disables the spanning tree algorithm for port 5.
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
27
,
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)#
27. Use the
spanning-tree pathcost method
command on page 4-280 to set the path cost method.
Table 4-70 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-71 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
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......