HP MSR2000/3000/4000 Router Series Layer 2 - LAN Switching Command Reference

Table Of Contents
34
stp root-protection
stp enable
Use stp enable to enable the spanning tree feature.
Use undo stp enable to disable the spanning tree feature.
Syntax
stp enable
undo stp enable
Default
The spanning tree feature is enabled on all ports.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
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 the spanning tree feature, the device dynamically maintains the spanning tree status
of VLANs, based on received configuration BPDUs.
When you disable the spanning tree feature, the device stops maintaining the spanning tree status.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only that interface.
Examples
# In MSTP mode, disable the spanning tree feature on port Ethernet 2/1.
<Sysname> system-view
[Sysname] interface ethernet 2/1
[Sysname-Ethernet2/1] undo stp enable
Related commands
stp global enable
stp mode
stp global config-digest-snooping
Use stp global config-digest-snooping to enable digest snooping globally.
Use undo stp global config-digest-snooping to disable digest snooping globally.
Syntax
stp global config-digest-snooping
undo stp global config-digest-snooping