No you have to specify the VLANs:
If you have contiguous vlan (ex: vlan 10 to VLAN 99), you can use the command
spanning-tree vlan 10-99
For non-contiguous VLANs, just enter the list of VLANs in a single command like below:
switch-A(config)# sh vlan
--------------------------------------------------------------------------------------------------------------
VLAN Name Status Reason Type Interfaces
--------------------------------------------------------------------------------------------------------------
1 DEFAULT_VLAN_1 up ok default lag256
1115 VLAN1115 up ok static lag1,lag256
1125 VLAN1125 up ok static lag2,lag256
switch-A(config)# spanning-tree vlan 1,1115,1125------------------------------
Vincent Giles
------------------------------
Original Message:
Sent: Jan 16, 2021 09:06 AM
From: Ahmad Enaya
Subject: RPVST ARUBA CX 8320 "No STP instance present".
Is there any way to enable spanning tree for all active VLANs in the switch now? Is it required to enables spanning tree instance for each VLAN after creating the VLAN? This is an extra step in VLAN creation process that need to be don eon every and each switch.
------------------------------
Ahmad Enaya
Original Message:
Sent: Mar 26, 2020 05:33 AM
From: Alexis La Goutte
Subject: RPVST ARUBA CX 8320 "No STP instance present".
Hi,
Before set priority, if you use :
spanning-tree vlan 102