beautypg.com

Clear spanning-tree detected protocols – Allied Telesis AT-DC2552XS User Manual

Page 338

background image

Chapter 14: STP Commands

338

Section II: Layer 2 Switching

CLEAR SPANNING-TREE DETECTED PROTOCOLS

Syntax

clear spanning-tree detected protocols [interface

port_ids

]

Parameter

port_ids

Specifies a port ID or multiple port IDs. Use a comma (,) to
separate port IDs and a hyphen (-) to indicate a range of port IDs.

Mode

Privileged Exec mode

Description

Use this command to move the specified ports to the original RSTP or
MSTP mode from the STP mode. When you do not specify a port or
multiple ports, this command moves all the ports on the switch to the
original mode.

Note

This command is applicable only when RSTP or MSTP is enabled.

In the RSTP or MSTP mode, the switch automatically moves to the STP
mode when receiving STP BPDUs. The switch does not return to the
original RSTP or MSTP mode even when the switch no longer receives
STP BPDUs. However, in the STP mode, when the switch receives RSTP
or MSTP BPDUs, the switch automatically returns to the original STP
mode.

Confirmation Command

“SHOW RUNNING-CONFIG” on page 116

Example

This example moves all the ports on the switch to the original mode from
the STP mode:

awplus> enable
awplus# clear spanning-tree detected protocols