137
Views
System view
Predefined user roles
network-admin
Usage guidelines
For Digest Snooping to take effect, you must enable Digest Snooping both globally and on
associated ports. As a best practice, first enable Digest Snooping on ports connected to third-party
vendor devices and then enable the feature globally. Digest Snooping takes effect on the ports
simultaneously, which reduces impact on the network.
Examples
# Enable Digest Snooping on GigabitEthernet 1/0/1 and then globally.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] stp config-digest-snooping
[Sysname-GigabitEthernet1/0/1] quit
[Sysname] stp global config-digest-snooping
Related commands
display stp
stp config-digest-snooping
stp global enable
Use stp global enable to enable the spanning tree feature globally.
Use
undo stp global enable to disable the spanning tree feature globally.
Syntax
stp global enable
undo stp global enable
Default
When the device starts up with initial settings, the spanning tree feature is globally disabled.
When the device starts up with factory defaults, the spanning tree feature is globally enabled.
For more information about the initial settings and factory defaults, see Fundamentals Configuration
Guide.
Views
System 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 the spanning tree feature is enabled, the device dynamically maintains the spanning tree
status of VLANs based on received configuration BPDUs. When the spanning tree feature is
disabled, the device stops maintaining the spanning tree status.