Views
System view
Predefined user roles
network-admin
Parameters
number: Sets the maximum number of immediate forwarding address entry flushes that the device can
perform within a certain interval (10 seconds). The value ranges from 1 to 255.
Examples
# Configure the device to perform up to 10 forwarding address entry flushes every 10 seconds.
<Sysname> system-view
[Sysname] stp tc-protection threshold 10
Related commands
stp tc-protection
stp tc-restriction
Use stp tc-restriction to enable TC-BPDU transmission restriction.
Use undo stp tc-restriction to disable TC-BPDU transmission restriction.
Syntax
stp tc-restriction
undo stp tc-restriction
Default
TC-BPDU transmission restriction is disabled.
Views
Ethernet interface view, aggregate interface view
Predefined user roles
network-admin
Usage guidelines
When TC-BPDU transmission restriction is enabled on a port, the port does not send TC-BPDUs to the
other ports, and it does not delete the MAC address entries.
When the setting is configured in Ethernet interface view, it takes effect on only that interface.
When the setting is configured in aggregate interface view, it takes effect on only the aggregate
interface.
When the setting 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 Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] stp tc-restriction
130