Operation Manual – MSTP
H3C S3600 Series Ethernet Switches-Release 1510 Chapter 1
MSTP Configuration
1-37
II. Configuration example
# Enable the loop prevention function on Ethernet1/0/1.
<H3C> system-view
[H3C] interface Ethernet1/0/1
[H3C-Ethernet1/0/1] stp loop-protection
1.5.6 Configuring TC-BPDU Attack Prevention
I. Configuration procedure
Table 1-34 Configure the TC-BPDU attack prevention function
Operation Command Description
Enter system view
system-view
—
Enable the TC-BPDU
attack prevention function
stp tc-protection enable
Required
The TC-BPDU attack
prevention function is
disabled by default.
II. Configuration example
# Enable the TC-BPDU attack prevention function
<H3C> system-view
[H3C] stp tc-protection enable
1.5.7 Configuring the Function of Dropping BPDU Packets
Table 1-35 Configure the function of dropping BPDU Packets
Operation Command Description
Enter system view
system-view
—
Enter Ethernet port view
interface interface-name
—
Enable the function of dropping
BPDU packets in Ethernet port view
bpdu-drop any
Required
# Enable the function of dropping BPDU packets on Ethernet1/0/1.
<H3C>system-view
[H3C] interface Ethernet 1/0/1
[H3C-Ethernet1/0/1] bpdu-drop any