set spantree lp

Use this command to enable or disable the Loop Protect feature per port and optionally, per SID.

Syntax

set spantree lp port-string {enable | disable} [sid sid]

Parameters

port-string Specifies port(s) on which to enable or disable the Loop Protect feature. For a detailed description of possible port-string values, refer to Port String Syntax Used in the CLI in the S-, K-, and 7100 Series Configuration Guide.
enable | disable Enables or disables the feature on the specified port.
sid sid (Optional) Enables or disables the feature for specific Spanning Tree(s). Valid values are 0 - 4094. If not specified, SID 0 is assumed.

Defaults

If no SID is specified, SID 0 is assumed.

Mode

All command modes.

Usage

The Loop Protect feature is disabled by default. See the S-, K-, and 7100 Series Configuration Guide for more information.

Loop Protect takes precedence over per port STP enable/disable (portAdmin). Normally portAdmin disabled would cause a port to go immediately to forwarding. If Loop Protect is enabled, that port should go to listening and remain there.

Note

Note

The Loop Protect enable/disable settings for an MSTI port should match those for the CIST port.

Example

This example shows how to enable Loop Protect on ge.2.3:

System(rw)->set spantree lp enable ge.2.3