H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – MSTP
H3C S7500 Series Ethernet Switches Chapter 1
MSTP Configuration
1-33
II. Configuration example
# Enable the BPDU guard function.
<H3C> system-view
[H3C] stp bpdu-protection
1.5.4 Root Guard Configuration
I. Configuration procedure
Follow these steps to enable the root guard function in system view:
To do ... Use the command ... Remarks
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.
Follow these steps to enable the root guard function in Ethernet port view:
To do ... Use the command ... Remarks
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.
II. Configuration example
# Enable the root guard function on Ethernet2/0/1.
1) Configure in system view.
<H3C> system-view
[H3C] stp interface ethernet2/0/1 root-protection
2) Configure in Ethernet port view.
<H3C> system-view
[H3C] interface ethernet2/0/1
[H3C-Ethernet2/0/1] stp root-protection
1.5.5 Loop Guard Configuration
I. Configuration procedure
Follow these steps to enable the loop guard function on a port: