spanning-tree port mode all

This command sets the Administrative Switch Port State for all ports to enabled.

Default Enabled
Format spanning-tree port mode all
Mode Global Config