Connectivity Guide

To fasten the spanning-tree state transitions, you can set the link type to point-to-point. To set the link type to point-to-point:
Use the following command in INTERFACE mode.
spanning-tree link-type point-to-point
MAC ush optimization
OS10 oers a MAC address clearing technique that optimizes the number of MAC ush calls sent by the Spanning Tree Protocol (STP)
module. For more information about this feature, see MAC ush optimization.
RSTP allows per port-based ush until the number of calls sent is equal to the MAC ush threshold value that you have congured.
When the number of calls that are sent reaches the congured threshold, RSTP ignores further per-port based ush and starts the MAC
ush timer. When the timer expires, RSTP invokes an entire table ush, where it requests one ush for all the ports.
RSTP is single instance and hence MAC ush optimization is not required. However, to enable this feature, congure the MAC ush timer
to a non-zero value. This conguration is applied globally and applies for RSTP, MSTP, and RPVST. This conguration is retained when you
change the STP mode.
For RSTP, the threshold is set to a higher value (65,535) because RSTP does not require this optimization. Even when this feature is
enabled, the global ush is invoked only after the ush count reaches 65,535.
RSTP commands
clear spanning-tree counters
Clears the counters for STP.
Syntax
clear spanning-tree counters [interface {ethernet node/slot/port[:subport] |
port—channel number}}]
Parameters
interface — Enter the interface type:
ethernet node/slot/port[:subport] — Deletes the spanning-tree counters from a physical
port.
port-channel number — Deletes the spanning-tree counters for a port-channel interface, from 1 to
128.
Default Not congured
Command Mode EXEC
Usage Information Clear all STP counters on the device per the Ethernet interface or port-channel.
Example
OS10# clear spanning-tree counters interface port-channel 10
Supported Releases 10.2.0E or later
360 Layer 2