stp-protect

Prevents an end station from initiating or participating in STP topology changes.
Syntax
stp-protect
no stp-protect
Command Default

STP protection is disabled by default.

Modes

Interface configuration mode

Usage Guidelines

This command causes the port to drop STP BPDUs sent from the device on the other end of the link.

The no form of the command disables STP protection on the port.

Examples

The following example shows how to enable STP protection on a port.

device(config)# interface ethernet 1/1/2
device#(config-if-e1000-1/1/2)# stp-protect