Stp Loop-Protection - HP 6125G Command Reference Manual

Layer 2 - lan switching
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Parameters
None
Description
Use stp enable to enable the spanning tree feature globally.
Use undo stp enable to disable the spanning tree feature.
By default, the spanning tree feature is disabled globally and enabled on all ports.
Configured in system view, the setting takes effect globally.
Configured in Ethernet interface view, the setting takes effect only on the interface.
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 the spanning tree feature, the device operates in STP, RSTP or MSTP mode, depending
on the spanning tree mode setting.
When you enable MSTP, the switch dynamically maintains the spanning tree status of VLANs, based on
received configuration BPDUs.
When you disable MSTP, the switch stops maintaining the spanning tree status.
Related commands: stp mode.
Examples
# In MSTP mode, enable the spanning tree feature globally.
<Sysname> system-view
[Sysname] stp enable
# In MSTP mode, disable the spanning tree feature 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
Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use stp loop-protection to enable the loop guard function on the ports.
111

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents