1-39
# Set the maximum times for the device to remove the MAC address table within 10 seconds to 5.
<device> system-view
[device] stp tc-protection threshold 5

Configuring BPDU Dropping

Follow these steps to configure BPDU dropping:
To do… Use the command… Remarks
Enter system view system-view
Enter Ethernet port view interface interface-name
Enable BPDU dropping bpdu-drop any
Required
BPDU dropping is disabled by
default.
# Enable BPDU dropping on GigabitEthernet 1/0/1.
<device>system-view
[device] interface GigabitEthernet1/0/1
[device-GigabitEthernet1/0/1] bpdu-drop any
Configuring Digest Snooping

Introduction

According to IEEE802.1s, two interconnected devices can communicate with each other through MSTIs
in an MST region only when the two devices have the same MST region-related configuration.
Interconnected MSTP-enabled devices determine whether or not they are in the same MST region by
checking the configuration IDs of the BPDUs between them. (A configuration ID contains information
such as region ID and configuration digest.)
As some other vendors' devices adopt proprietary spanning tree protocols, they cannot communicate
with the other devices in an MST region even if they are configured with the same MST region-related
settings as the other devices in the MST region.
This problem can be solved by implementing the digest snooping feature. If a port on a device is
connected to another vendor's device that has the same MST region-related configuration as its own
but adopts a proprietary spanning tree protocol, you can enable digest snooping on the port. Then the
device regards devices of another manufacturer as in the same region; it records the configuration
digests carried in the BPDUs received from the devices of another vendor, and put them in the BPDUs
to be sent to these devices. In this way, the device can communicate with the devices of another vendor
in the same MST region.
The digest snooping function is not applicable to edge ports.