stp tc-snooping

Syntax

stp tc-snooping

undo stp tc-snooping

View

System view

Default level

2: System level

Parameters

None

Description

Use stp tc-snooping to enable topology change (TC) snooping.

Use undo stp tc-snooping to disable TC snooping.

By default, TC snooping disabled.

TC snooping and STP are mutually exclusive. Before enabling TC snooping, first disable STP globally.

TC snooping does not take effect on the ports on which BPDU tunneling is enabled for STP. For more information about BPDU tunneling, see Layer 2—LAN Switching Configuration Guide.

Related commands: stp enable.

Examples

# Enable TC snooping globally.

<Sysname> system-view
[Sysname] undo stp enable
[Sysname] stp tc-snooping