C
OMMAND
L
INE
I
NTERFACE
4-180
• 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.
Example
spanning-tree protocol-migration
This command re-checks the appropriate BPDU format to send on the
selected interface.
Syntax
spanning-tree protocol-migration interface
• interface
- ethernet unit/port
- unit - Stack unit. (Range: 1-8)
- port - Port number. (Range: 1-24/48)
- port-channel channel-id (Range: 1-32)
Command Mode
Privileged Exec
Command Usage
If at any time the switch detects STP BPDUs, including Configuration
or Topology Change Notification BPDUs, it will automatically set the
selected interface to forced STP-compatible mode. However, you can
also use the spanning-tree protocol-migration command at any time
to manually re-check the appropriate BPDU format to send on the
selected interfaces (i.e., RSTP or STP-compatible).
Example
Console(config)#interface ethernet 1/5
Console(config-if)#spanning-tree link-type point-to-point
Console#spanning-tree protocol-migration eth 1/5
Console#