Enabling or disabling STP on an individual port

Use the following procedure to disable or enable STP on an individual port.

NOTE
If you change the STP state of the primary port in a trunk group, it affects all ports in the trunk group.

To enable STP on an individual port, enter commands such as the following.

device(config)# interface 1/1/1
device(config-if-e1000-1/1/1)# spanning-tree