clear stpd ports

clear stpd stpd_name ports port_list protocol-migration

Description

Resets the partner Spanning Tree Protocol version to the configured version.

Syntax Description

stpd_name Specifies an STPD (Spanning Tree Domain) name on the switch.
port_list Specifies the port list, which can be separated with a comma or a dash.
protocol-migration Resets the partner protocol mode to configured mode.

Default

N/A

Usage Guidelines

STP (Spanning Tree Protocol) detects the spanning tree version on a network and sends out the equivalent BPDU. If this switch receives a legacy IEEE 802.1D configuration BPDU (a BPDU with the protocol version set to 0), Protocol Migration feature supports the forcefully allowing the user to choose the version, where a switch supporting MSTP (Multiple Spanning Tree Protocol) is forced to behave as STP or RSTP.

For example, three bridges on shared media, two of are configured dot1w (RSTP) and one is dot1d (legacy STP) mode

These bridges will transmit STP BPDUs on their connected ports since one of the peers is in dot1d mode. If the dot1d mode configured bridge leaves this shared media the remaining two bridges will keep sending STP BPDUs even though they should use RTP BPDUs normally. By using this feature we can clear the STP BPDU transmission and starts sending the RSTP BPDUs.

Example

The following example resets the protocol migration for the port 1:10 in STP domain r1:

clear stpd r1 ports 1:10 protocol-migration

History

This command was first available in ExtremeXOS 15.7.1.

Platform Availability