Global configuration command that changes this switch to the root switch. The switch's priority is changed to the lower of either 24576 or 4096 less than the priority of the current root bridge when the command was issued.
spanning-tree vlan vlan-number root primary
Global configuration command that sets this switch's STP base priority to 28672
spanning-tree vlan vlan-number root secondary
Global configuration command that changes the bridge priority of this switch for the specified VLAN
spanning-tree [vlan vlan-id] {priority priority}
Interface subcommand that changes the STP cost to the configured value.
spanning-tree {VLAN vlan-number} cost cost
Interface subcommand that enables EtherChannel on the interface.