3com 3CRUS2475 Manuale Utente

Pagina di 522
spanning-tree link-type
217
spanning-tree 
link-type
The spanning-tree link-type Interface Configuration mode command 
overrides the default link-type setting determined by the duplex mode of 
the port and enables Rapid Spanning Tree Protocol (RSTP) transitions to 
the forwarding state. To restore the default configuration, use the no 
form of this command.
Syntax
spanning-tree link-type {point-to-point | shared}
no spanning-tree spanning-tree link-type
Parameters
point-to-point —Indicates that the port link type is point-to-point.
shared — Indicates that the port link type is shared.
Default Configuration
The device derives the port link type from the duplex mode. A full-duplex 
port is considered a point-to-point link and a half-duplex port is 
considered a shared link.
Command Modes 
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example enables shared spanning-tree on Ethernet port 
g15.
spanning-tree 
pathcost method
The spanning-tree pathcost method Global Configuration mode 
command sets the default path cost method. To return to the default 
configuration, use the no form of this command.
Console(config)# interface ethernet g15
Console(config-if)# spanning-tree link-type shared