3com 3CRUS2475 Manuale Utente

Pagina di 522
218
C
HAPTER
 15: S
PANNING
-T
REE
 C
OMMANDS
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 is only operational with the device in Interface mode.
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. To restore the default configuration, use the no form of this 
command.
Syntax
spanning-tree bpdu {filtering | flooding}
no spanning-tree bpdu
Parameters
filtering — Filter BPDU packets when the spanning tree is disabled on 
an interface.
Console(config)# spanning-tree pathcost method long