3com 3CRUS2475 Manuale Utente

Pagina di 522
spanning-tree port-priority
215
Command Modes 
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The path cost method is configured using the spanning-tree pathcost 
method 
Global Configuration mode command.
Example
The following example configures the spanning-tree cost on Ethernet 
port g15 to 35000.
spanning-tree 
port-priority
The spanning-tree port-priority Interface Configuration mode 
command configures port priority. To restore the default configuration, 
use the no form of this command.
Syntax
spanning-tree port-priority priority
no spanning-tree port-priority
Parameters
priority — The priority of the port. (Range: 0-240 in multiples of 16)
Default Configuration
The default port priority for IEEE Spanning TreeProtocol (STP) is 128.
Command Modes
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Gigabit Ethernet (1000 
Mbps)
20,000
4
Fast Ethernet (100 Mbps)
200,000
19
Ethernet (10 Mbps)
2,000,000
100
Console(config)# interface ethernet g15
Console(config-if)# spanning-tree cost 35000