VSTP cannot be configured on a virtual switch if any of the virtual switch bridge domains contain ports with VLAN ranges or VLAN mappings.
To enable VSTP for a specific VLAN ID, there must be a bridge domain or VPLS routing instance with the same VLAN ID and all the logical interfaces assigned to the VLAN must have the same matching VLAN ID.