623
stp root-protection
Syntax stp root-protection
undo stp root-protection
View Ethernet interface view, port group view
Parameters None
Description Use the
stp root-protection command to enable the root guard function for a
port or a group of ports.
Use the
undo stp root-protection command to restore default setting of the
root guard function for the port(s).
By default, the root guard function is disabled.
Note that, configured in Ethernet interface view, the setting is effective on the
current port only; configured in port group view, the setting is effective on all the
ports in the port group.
Examples # Enable the root guard function for port Ethernet 1/1.
<Sysname> system-view
[Sysname] interface Ethernet 1/1
[Sysname-Ethernet1/1] stp root-protection
stp tc-protection
Syntax stp tc-protection enable
stp tc-protection disable
View System view
Parameters None
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.
Examples # Enable the TC-BPDU attack guard function for the device.
<Sysname> system-view
[Sysname] stp tc-protection enable