Brocade Communications Systems 53-1001762-01 User Manual

Page of 252
152
Converged Enhanced Ethernet Command Reference
53-1001762-01
spanning-tree cost
9
DRAFT: BROCADE CONFIDENTIAL
spanning-tree cost
Changes an interface's spanning-tree port path cost.
.Synopsis
spanning-tree cost cost 
Operands
cost Specifies the path cost for the Spanning Tree Protocol (STP) calculations. The 
range of valid values is 1-200000000.
Defaults
The default path cost is 200000000.
Command
Modes
Interface configuration mode
Description
Use this command to configure the path cost for spanning-tree calculations.
Usage
Guidelines
Lower path cost indicates a greater chance of becoming root.
Examples
To set the port cost to 128:
switch(conf-if-te-0/1)#spanning-tree cost 128
See Also
show spanning-tree