R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

31
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, PVST, 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 the interface.
Examples
# In MSTP mode, disable the spanning tree feature on port GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] undo stp enable
Related commands
stp global enable
stp mode
stp vlan enable
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
Default
The feature is disabled globally.
Views
System view
Predefined user roles
network-admin