set spantree portadmin

Use this command to disable or enable the Spanning Tree algorithm on one or more ports.

Syntax

set spantree portadmin port-string {disable | enable}

Parameters

port-string Specifies the port(s) for which to enable or disable Spanning Tree. 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.
disable | enable Disables or enables the Spanning Tree algorithm on the specified port(s).

Defaults

None.

Mode

All command modes.

Example

This example shows how to disable Spanning Tree on ge.1.5:

System(rw)->set spantree portadmin ge.1.5 disable