133
Syntax
stp root-protection
undo stp root-protection
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Example
# Enable the root guard function for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp root-protection
stp tc-protection
Description
Use the stp tc-protection enable command to enable the TC-BPDU attack guard function for the device.
Use the stp tc-protection disable command to disable the TC-BPDU attack guard function for the device.
By default, the TC-BPDU attack guard function is enabled.
Syntax
stp tc-protection enable
stp tc-protection disable
View
System view
Default level
2: System level
Parameters
None
Example
# Disable the TC-BPDU attack guard function for the device.
<Sysname> system-view
[Sysname] stp tc-protection disable