EasyManua.ls Logo

H3C S5120-EI Series - Stp Loop-Protection

H3C S5120-EI Series
242 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
116
View
System view, Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use the stp enable command to enable MSTP globally in system view, on a port in interface view, or on
multiple ports in port group view.
Use the undo stp enable command to disable MSTP globally or on the port(s).
By default, the switch is globally MSTP-disabled. When you enable MSTP globally, it will be enabled on
all ports.
Configured in system view, the setting takes effect globally.
Configured in Layer 2 Ethernet interface view, the setting takes effect on the current interface only.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port leaves
the aggregation group.
When you enable MSTP, the switch works in STP-compatible mode, RSTP mode or MSTP mode,
depending on the MSTP mode setting.
When MSTP is enabled, the switch dynamically maintains the spanning tree status of VLANs based on
received configuration BPDUs.
When MSTP is disabled, the switch stops maintaining the spanning tree status.
Related commands: stp mode.
Examples
# Enable the MSTP feature globally.
<Sysname> system-view
[Sysname] stp enable
# Disable MSTP on port GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo stp enable
stp loop-protection
Syntax
stp loop-protection
undo stp loop-protection
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view

Table of Contents

Other manuals for H3C S5120-EI Series

Related product manuals