354 Spanning-Tree Commands
spanning-tree link-type
The spanning-tree link-type Interface Configuration mode command overrides the default link-type
setting. Use the no form of this command to reset the default.
Syntax
•
spanning-tree link-type
{
point-to-point
|
shared
}
• no spanning-tree link-type
•
point-to-point
— Specifies the port link type as point-to-point.
•
shared
— Specifies that the port link type is shared.
Default Configuration
There is no default configuration for this command.
Command Modes
Interface Configuration (Ethernet, port-channel) mode.
User Guidelines
• The switch derives the link type of a port 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.
Example
The following example enables shared spanning-tree on g5.
spanning-tree mst priority
The spanning-tree mst priority Global Configuration mode command configures the device priority for
the specified spanning-tree instance. Use the no form of this command to return to the default
configuration.
Syntax
•
spanning-tree mst
instance-id
priority
priority
•
no spanning-tree
mst instance-id
priority
•
instance-id —
Displays the
ID of the spanning -tree instance. (Range: 1 - 15)
•
priority —
Displays the device priority for the specified spanning-tree instance. (Range: 0 - 61440
in multiples of 4096)
Console(config)# interface ethernet g5
Console(config-if)# spanning-tree link-type shared
5400_CLI.book Page 354 Wednesday, December 17, 2008 4:33 PM