Command Line Interface
4-292
4
Example
This command configures the link type for Rapid Spanning Tree and Multiple
Spanning Tree. Use the
no
form to restore the default.
Syntax
spanning-tree link-type
{
auto
|
point-to-point
|
shared
}
no spanning-tree link-type
•
auto
- Automatically derived from the duplex mode setting.
•
point-to-point
- Point-to-point link.
•
shared
- Shared medium.
Default Setting
auto
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• Specify a point-to-point link if the interface can only be connected to exactly
one other bridge, or a shared link if it can be connected to two or more bridges.
• When automatic detection is selected, the switch derives the link type from the
duplex mode. A full-duplex interface is considered a point-to-point link, while
a half-duplex interface is assumed to be on a shared link.
• RSTP only works on point-to-point links between two bridges. If you designate
a port as a shared link, RSTP is forbidden. Since MSTP is an extension of
RSTP, this same restriction applies.
Example
This command enables the detection and response to Spanning Tree loopback
BPDU packets on the port. Use the
no
form to disable this feature.
Syntax
spanning-tree loopback-detection
no spanning-tree loopback-detection
Default Setting
Enabled
Console(config)#interface ethernet ethernet 1/5
Console(config-if)#spanning-tree edge-port
Console(config-if)#spanning-tree root-guard
Console(config-if)#
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree link-type point-to-point
Console(config-if)#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......