IOS
Switch(config)#spantree vlan-list
Switch(config)#no spantree
vlan-list
Switch#show spanning-tree [vlan]
Switch#show spanning-tree mod/num
CLI
Switch> (enable) set spantree
enable [all | mod/num]
Switch> (enable) set spantree
disable [all | mod/num]
Switch> (enable) show spantree
[vlan]
Switch> (enable) show spantree
mod/num