Operation Manual – MSTP
H3C S5600 Series Ethernet Switches
Chapter 1 MSTP Configuration
1-46
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 the current
port
stp root-protection
Required
The root guard function is
disabled by default.
II. Configuration example
# Enable the root guard function on GigabitEthernet 1/0/1.
1)
Perform this configuration in system view
<Sysname> system-view
[Sysname] stp interface GigabitEthernet 1/0/1 root-protection
2)
Perform this configuration in Ethernet port view
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp root-protection
1.6.5 Configuring Loop Guard
I. Configuration procedure
Follow these steps to configure loop guard:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Enable the loop guard
function on the current port
stp loop-protection
Required
The loop guard function is
disabled by default.
II. Configuration example
# Enable the loop guard function on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp loop-protection