3Com Switch 7750 Configuration Guide Guide
Protection Function Configuration 249
Configuration example
# Enable the BPDU guard function.
<SW7750> system-view
[SW7750] stp bpdu-protection
c
CAUTION: As Gigabit ports of the Switch 7750 Family cannot be shut down, the
BPDU guard function is not applicable to these ports even if you enable the BPDU
guard function and specify these ports to be MSTP edge ports.
Root Guard
Configuration
Configuration prerequisites
MSTP is enabled on the current switch.
Configuration procedure
Configuration example
# Enable the root guard function on Ethernet1/0/1 port.
1 Configure in system view.
<SW7750> system-view
[SW7750] stp interface ethernet1/0/1 root-protection
2 Configure in Ethernet port view.
<SW7750> system-view
[SW7750] interface ethernet1/0/1
[SW7750-Ethernet1/0/1] stp root-protection
Loop Guard
Configuration
Configuration prerequisites
MSTP is enabled on the current switch.
Configuration procedure
Table 182 Enable the root guard function in system view
Operation Command Description
Enter system view system-view -
Enable the root guard
function on specified ports
stp interface interface-list
root-protection
Required
The root guard function is
disabled by default.
Table 183 Enable the root guard function in Ethernet port view
Operation Command Description
Enter system view system-view -
Enter Ethernet port view
Interface interface-type
interface-number
-
Enable the root guard
function on current port
stp root-protection
Required
The root guard function is
disabled by default.
Table 184 Enable the loop prevention function on a port
Operation Command Description
Enter system view system-view -