3Com Switch 8800 Advanced Software V5 Configuration Guide

Configuring Protection Functions 133
Configuration example
# Enable the root guard function for Ethernet 1/1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1/1
[Sysname-Ethernet1/1/1] stp root-protection
Enabling the Loop Guard
Function
n
We recommend that you enable the loop guard function.
Configuration procedure
Follow these steps to enable the loop guard function:
Configuration example
# Enable the loop guard function for Ethernet 1/1/1.
<Sysname> system-view
[Sysname] interface ethernet 1/1/1
[Sysname-Ethernet1/1/1] stp loop-protection
Enabling the TC-BPDU
Attack Guard Function
n
We recommend that you keep this function enabled.
Enter Ethernet
interface view
or port group
view
Enter Ethernet
interface view
interface interface-type
interface-number
User either command
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
Enter port
group view
port-group { manual
port-group-name |
aggregation agg-id }
Enable the root guard function
for the ports(s)
stp root-protection Required
Disabled by default
To do... Use the command... Remarks
To do... Use the command... Remarks
Enter system view system-view -
Enter Ethernet
interface view
or port group
view
Enter Ethernet
interface view
interface interface-type
interface-number
User either command
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
Enter port
group view
port-group { manual
port-group-name |
aggregation agg-id }
Enable the loop guard function
for the ports(s)
stp loop-protection Required
Disabled by default