set spantree lpthreshold

Use this command to set the Loop Protect event threshold.

Syntax

set spantree lpthreshold value

Parameters

value Specifies the number of events that must occur during the event window in order to lock a port/SID. The default value is 3 events. A threshold of 0 specifies that ports will never be locked.

Defaults

None. The default event threshold is 3.

Mode

All command modes.

Usage

The LoopProtect event threshold is a global integer variable that provides protection in the case of intermittent failures. The default value is 3. If the event counter reaches the threshold within a given period (the event window), then the port, for the given SID, becomes locked (that is, held indefinitely in the blocking state). If the threshold is 0, the ports are never locked.

Example

This example shows how to set the Loop Protect threshold value to 4:

System(rw)->set spantree lpthreshold 4