spanning-tree tcn-guard

Syntax

spanning-tree tcn-guard

no spanning-tree tcn-guard

Description

Enables the TCN (Topology Change Notification) guard in the interface. When enabled for a port, the port stops propagating received topology change notifications and topology changes to other ports.

The no form of the command sets the TCN guard status to the default of disabled on the interface.

Command context

config-if

Authority

Administrators

Examples

Enabling TCN guard on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# spanning-tree tcn-guard

Disabling TCN guard on interface 1/1/1:

switch(config)# interface 1/1/1
switch(config-if)# no spanning-tree tcn-guard