create stpd

create stpd stpd_name {description stpd-description}

Description

Creates a user-defined STPD (Spanning Tree Domain).

Syntax Description

stpd_name Specifies a user-defined STPD name to be created. May be up to 32 characters in length.
stpd-description Specifies an STP (Spanning Tree Protocol) domain description string.

Default

The default device configuration contains a single STPD called s0.

When an STPD is created, the STPD has the following default parameters:

  • State—disabled.
  • StpdID—none.
  • Assigned VLAN (Virtual LAN)s—none.
  • Bridge priority—32,768.
  • Maximum BPDU age—20 seconds.
  • Hello time—2 seconds.
  • Forward delay—15 seconds.
  • Operational mode—802.1D.
  • Rapid Root Failover—disabled.
  • Default Binding Mode (encapsulation mode)—Ports in the default STPD (s0) are in 802.1d mode. Ports in user-created STPDs are in emistp mode.
  • Maximum hop count (when configured for MSTP (Multiple Spanning Tree Protocol))—20 hops.
  • STP domain description string—empty.

Usage Guidelines

The maximum length for a name is 32 characters. Names can contain alphanumeric characters and underscores ( _ ) but cannot be any reserved keywords, for example, stp or stpd. Names must start with an alphabetical character, for example, a, Z. For name creation guidelines and a list of reserved names, see Object Names.

Each STPD name must be unique and cannot duplicate any other named STPDs on the switch. If you are uncertain about the STPD names on the switch, use the show stpd command to view the STPD names.

You can, however, re-use names across multiple categories of switch configuration. For example, you can use the name Test for an STPD and a VLAN. If you use the same name, we recommend that you specify the appropriate keyword when configuring the STPD. If you do not specify the appropriate keyword, the switch displays a message similar to the following:

 %% Ambiguous command: "configure Test" 

To view the names of the STPDs on the switch, enter configure and press [Tab]. Scroll to the end of the output to view the names.

The maximum length for an STPD description is 180 characters. The description must be in quotes if the string contains any spaces. To display the description, use the show stpd stpd_name command.

Each STPD has its own Root Bridge and active path. After the STPD is created, one or more VLANs can be assigned to it.

Example

The following example creates an STPD named purple_st:

create stpd purple_st

History

This command was first available in ExtremeXOS 10.1.

The STPD description option was added in ExtremeXOS 12.4.4.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.