156
Usage guidelines
When TC-BPDU transmission restriction is enabled on a port, the port does not send TC-BPDUs to
other ports. It also does not delete MAC address entries.
If this command is configured in Layer 2 Ethernet interface view, it takes effect only on that interface.
If this command is configured in Layer 2 aggregate interface view, it takes effect only on the
aggregate interface.
If this command is configured on a member port in an aggregation group, it takes effect only after the
port leaves the aggregation group.
Examples
# Enable TC-BPDU transmission restriction on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp tc-restriction
stp tc-snooping
Use stp tc-snooping to enable TC Snooping.
Use
undo stp tc-snooping to disable TC Snooping.
Syntax
stp tc-snooping
undo stp
tc-snooping
Default
TC Snooping is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
TC Snooping and the spanning tree feature are mutually exclusive. You must globally disable the
spanning tree feature before enabling TC Snooping.
Examples
# Globally disable the spanning tree feature and enable TC Snooping.
<Sysname> system-view
[Sysname] undo stp global enable
[Sysname] stp tc-snooping
Related commands
stp global enable
stp timer forward-delay
Use stp timer forward-delay to set the forward delay timer.
Use
undo stp timer forward-delay to restore the default.