Digest Snooping configuration example

Network requirements

As shown in Figure 40, Device A and Device B connect to Device C, which is a third-party device. All these devices are in the same region.

Enable Digest Snooping on the ports of Device A and Device B that connect to Device C, so that the three devices can communicate with one another.

Figure 40: Network diagram

Configuration procedure

# Enable Digest Snooping on GigabitEthernet 2/1/1 of Device A and enable global Digest Snooping on Device A.

<DeviceA> system-view
[DeviceA] interface gigabitethernet 2/1/1
[DeviceA-GigabitEthernet2/1/1] stp config-digest-snooping
[DeviceA-GigabitEthernet2/1/1] quit
[DeviceA] stp global config-digest-snooping

# Enable Digest Snooping on GigabitEthernet 2/1/1 of Device B and enable global Digest Snooping on Device B.

<DeviceB> system-view
[DeviceB] interface gigabitethernet 2/1/1
[DeviceB-GigabitEthernet2/1/1] stp config-digest-snooping
[DeviceB-GigabitEthernet2/1/1] quit
[DeviceB] stp global config-digest-snooping