For the Dell X Series look at it below:
https://www.dell.com/support/article/us/en/19/how10377/how-to-enable-rapid-spanning-tree--rstp--on-d...