API Guide

spanning-tree mac-flush-timer
Enables or disables MAC flush optimization.
Syntax
spanning-tree mac-flush-timer timer-interval
Parameters timer-intervalEnter the timer interval in centi-seconds, from 0 to 500. The default value is 200
milli-seconds.
Default Enabled
Command Mode CONFIGURATION
Usage
Information
This command configures the flush interval time in centi-seconds, and controls the number of calls
invoked from the spanning-tree module. If the timer is set to 0, MAC flush optimization is disabled. If the
timer is set to a non-zero value, instance-based flushing occurs based on the MAC flush threshold value.
The no version of this command resets the flush-interval timer to the default value.
Example
OS10(config)# spanning-tree mac-flush-timer 500
OS10(config)# no spanning-tree mac-flush-timer
Supported
Releases
10.4.3.0 or later
spanning-tree mode rstp
Enables an STP type: RSTP.
Syntax
spanning-tree mode rstp
Parameters
rstp Sets STP mode to RSTP.
Default Rapid-PVST
Command Mode CONFIGURATION
Usage
Information
All STP instances stop in the previous STP mode and restart in the new mode. You can also change to
RSTP/MST mode.
Example
OS10(config)# spanning-tree mode rstp
Supported
Releases
10.2.0E or later
spanning-tree port
Sets the port type as the EdgePort.
Syntax
spanning-tree port type edge
Parameters None
Default Not configured
Command Mode INTERFACE
Usage
Information
When you configure an EdgePort on a device running STP, the port immediately transitions to the
Forwarding state. Only configured ports connected to end hosts act as EdgePorts.
Example
OS10(config-inf)# spanning-tree port type edge
Supported
Releases
10.2.0E or later
Layer 2 477