84
Hardware
Command compatibility in Layer 2
aggregate interface view
MSR800 Yes
MSR 900
No
MSR900-E Yes
MSR 930
Yes
MSR 20-1X
No
MSR 20
No
MSR 30
Yes
MSR 50
Yes
MSR 2600
Yes
MSR3600-51F Yes
Configured in Ethernet interface view, the setting takes effect only on the interface.
Configured in port group view, the setting takes effect on all member ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate
interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port
leaves the aggregation group.
You cannot configure root guard and loop guard on a port at the same time.
Examples
# Enable the root guard function for Ethernet 1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] stp root-protection
Related commands
stp loop-protection
stp tc-protection
Use
stp tc-protection enable
to enable the TC-BPDU attack guard function for the device.
Use
stp tc-protection disable
to disable the TC-BPDU attack guard function for the device.
Syntax
stp tc-protection enable
stp
tc-protection disable
Default
The TC-BPDU attack guard function is enabled.
Views
System view
Default command level
2: System level