clear spantree portadmin
13-38 Spanning Tree Configuration
Example
This example shows how to disable Spanning Tree on ge.1.5:
C3(rw)->set spantree portadmin ge.1.5 disable
clear spantree portadmin
Use this command to reset the default Spanning Tree admin status to enable on one or more ports.
Syntax
clear spantree portadmin port-string
Parameters
Defaults
None.
Mode
Switch command, read-write.
Example
This example shows how to reset the default Spanning Tree admin state to enable on ge.1.12:
C3(rw)->clear spantree portadmin ge.1.12
show spantree portadmin
Use this command to display the status of the Spanning Tree algorithm on one or more ports.
Syntax
show spantree portadmin [port port-string]
Parameters
Defaults
If port-string is not specified, status will be displayed for all ports.
Mode
Switch command, read-only.
port-string Resets the default admin status on specific port(s). For a detailed
description of possible port-string values, refer to “Port String Syntax Used
in the CLI” on page 11-1.
port port-string (Optional) Displays status for specific port(s). For a detailed description of
possible port-string values, refer to “Port String Syntax Used in the CLI”
on page 11-1.