Operation Manual – MSTP
H3C S3100 Series Ethernet Switches Chapter 1 MSTP Configuration
1-46
Operation Command Description
Enable the BPDU guard
function
stp bpdu-protection
Required
The BPDU guard function is
disabled by default.
II. Configuration example
# Enable the BPDU guard function.
<Sysname> system-view
[Sysname] stp bpdu-protection
1.6.4 Configuring Root Guard
I. Configuration procedure
Table 1-37 Configure 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 1-38 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 the current
port
stp root-protection
Required
The root guard function is
disabled by default.
II. Configuration example
# Enable the root guard function on Ethernet 1/0/1.
1) Perform this configuration in system view
<Sysname> system-view
[Sysname] stp interface Ethernet1/0/1 root-protection
2) Perform this configuration in Ethernet port view
<Sysname> system-view
[Sysname] interface Ethernet1/0/1