DELL PC7024 User Manual

Page of 1730
Spanning Tree Commands
745
Command Mode 
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet) 
mode
User Guidelines
This command configures the external cost. Since by default each switch is in 
its own region, the external cost is considered in determining the spanning 
tree of the network.
This command is also used to configure the rstp path cost.
Example
The following example configures the spanning-tree cost on 1/0/5 to 35000.
console(config)#interface gigabitethernet 1/0/5
console(config-if-1/0/5)#spanning-tree cost 35000
spanning-tree disable
Use the spanning-tree disable command in Interface Configuration mode to 
disable spanning-tree on a specific port. To enable spanning-tree on a port, 
use the no form of this command.
Syntax
spanning-tree disable
no spanning-tree disable
Default Configuration
By default, all ports are enabled for spanning-tree.
Command Mode 
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet) 
mode
User Guidelines
This command has no user guidelines.
2CSPC4.XCT-SWUM2XX1.book  Page 745  Monday, October 3, 2011  11:05 AM