You are here: Home > CLI Commands > Just_CLI_Topics > spanning-tree

spanning-tree

spanning-tree

forward-time <value>

hello-time <value>

max-age <value>

mode <rapid> | <rapid-pvst>

priority <value>

vlan range {<word>|[remove <word> {forward-time|hello-time|max-age|priority}]}

 

RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this. is backward compatible with STPSpanning Tree Protocol. STP is a network protocol that builds a logical loop-free topology for Ethernet networks. and is enabled by default. For ease of use, this command uses the spanning tree keyword.

Description

This command configures global settings for the Rapid Spanning Tree Protocol (RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this.) and Per VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. Spanning Tree (PVST+Per-VLAN Spanning Tree+. PVST+ is an extension of the PVST standard that uses the 802.1Q trunking technology.). Refer to interface gigabitethernet for details on enabling and configuring spanning tree for an individual interface.

Syntax

Parameter

Description

Range

Default

forward-time

Specifies the time, in seconds, the port spends in the listening and learning state. During this time, the port waits to forward data packets.

4-30

15 seconds

hello-time

Specifies the time, in seconds, between each bridge protocol data unit (BPDUBridge Protocol Data Unit. A BPDU is a data message transmitted across a local area network to detect loops in network topologies.) transmitted by the root bridge.

1-10

2 seconds

max-age

Specifies the time, in seconds, the root bridge waits to receive a hello packet before changing the STPSpanning Tree Protocol. STP is a network protocol that builds a logical loop-free topology for Ethernet networks. topology.

6-40

20 seconds

mode

Set the spanning tree mode to either Rapid Spanning Tree (802.1w) or PVST+Per-VLAN Spanning Tree+. PVST+ is an extension of the PVST standard that uses the 802.1Q trunking technology. (Per VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. Spanning Tree)

N/A N/A

<rapid>

Set the spanning tree mode to RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this. (Rapid Spanning Tree Protocol).

N/A N/A

<rapid-pvst>

Set the spanning tree mode to PVST+Per-VLAN Spanning Tree+. PVST+ is an extension of the PVST standard that uses the 802.1Q trunking technology. (Per VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. Spanning Tree protocol)

N/A N/A

priority

Set the priority of a bridge to make it more or less likely to become the root bridge. The bridge with the lowest value has the highest priority.

When configuring the priority, remember the following:

The highest priority bridge is the root bridge.

The highest priority value is 0 (zero).

0-65535

32768

vlan range <WORD>

Enter the keywords vlan range followed by the range of VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. ID’s. Separate the VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. IDs with a hyphen, comma or both to indicate the range.

For example: 2-3 or 2,4,6 or 2-6,11

remove <word>

Removes range of VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. IDs.

remove <word> forward-time

Removes the spanning tree forward interval.

remove <word> hello-time

Removed the spanning tree hello interval.

remove <word> max-age

Removes the spanning tree maximum age interval.

remove <word> priority

Removes the spanning tree priority interval.

Usage Guidelines

This command configures the global RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this. settings and is backward compatible with past versions of ArubaOS using STPSpanning Tree Protocol. STP is a network protocol that builds a logical loop-free topology for Ethernet networks..

By default, all interfaces and ports run RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this. as specified in 802.1w and 802.1D. The default RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this. values can be used for most implementations.

Use the no spanning-tree command to disable RSTPRapid Spanning Tree Protocol. RSTP provides significantly faster spanning tree convergence after a topology change, introducing new convergence behaviors and bridge port roles to do this..

Examples

The following command sets the time a port spends in the listening and learning state to 3 seconds:

(host) [mynode] #spanning-tree forward-time 3

The following command sets the time the root bridge waits to transmit BPDUs to 4 seconds:

(host) [mynode] #spanning-tree hello-time 4

The following command sets the time the root bridge waits to receive a hello packet to 30 seconds:

(host) [mynode] #spanning-tree max-age 30

The following command sets the bridge priority to 10, making it more likely to become the root bridge:

(host) [mynode] #spanning-tree priority 10

The follow command sets a spanning-tree VLANVirtual Local Area Network. In computer networking, a single Layer 2 network may be partitioned to create multiple distinct broadcast domains, which are mutually isolated so that packets can only pass between them through one or more routers; such a domain is referred to as a Virtual Local Area Network, Virtual LAN, or VLAN. range

(host) [mynode] #spanning-tree vlan range 2-8,11

Command History:

Release

Modification

ArubaOS 8.0.0.0

Command introduced.

Command Information

Platforms

License

Command Mode

All platforms

Base operating system.

Configuration mode on Mobility Master.

/*]]>*/