Operation Manual – MSTP
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 MSTP Configuration
Huawei Technologies Proprietary
1-35
Table 1-32
Enable the root protection 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
protection function
on current port
stp root-protection
Required
The root protection function is
disabled by default.
II. Configuration example
# Enable the root protection function on GigabitEthernet1/0/1 port.
z
Configure in system view.
<Quidway> system-view
[Quidway] stp interface GigabitEthernet1/0/1 root-protection
z
Configure in Ethernet port view.
<Quidway> system-view
[Quidway] interface GigabitEthernet1/0/1
[Quidway-GigabitEthernet1/0/1] stp root-protection
1.5.5 Loop Prevention Configuration
I. Configuration Procedure
Table 1-33
Enable the loop prevention function on a port
Operation
Command
Description
Enter system view
system-view
—
Enter Ethernet port
view
interface
interface-type
interface-number
—
Enable the loop
prevention function
on the current port
stp loop-protection
Required
The loop prevention function
is disabled by default.
II. Configuration example
# Enable loop prevention function on GigabitEthernet1/0/1 port.
<Quidway> system-view
[Quidway] interface GigabitEthernet1/0/1
[Quidway-GigabitEthernet1/0/1] stp loop-protection