
109
Use
undo stp compliance
to restore the default.
By default, a port automatically recognizes the formats of received MSTP packets and determines
the formats of MSTP packets to be sent based on the recognized formats.
Configured in Ethernet interface view, the setting takes effect on that interface only.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate
interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port
leaves the aggregation group.
Examples
# Configure Ethernet 1/0/1 to receive and send only standard-format (802.1s) MSTP packets.
<Sysname> system-view
[Sysname] interface ethernet 1/0/1
[Sysname-Ethernet1/0/1] stp compliance dot1s
stp config-digest-snooping
Syntax
stp config-digest-snooping
undo stp config-digest-snooping
View
System view, Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use
stp config-digest-snooping
to enable Digest Snooping.
Use
undo stp config-digest-snooping
to disable Digest Snooping.
The feature is disabled by default.
Configured in system view, the setting takes effect globally.
Configured in Ethernet interface view, the setting takes effect on the interface only.
Configured in port group view, the setting takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, the setting takes effect only on the aggregate
interface.
Configured on a member port in an aggregation group, the setting takes effect only after the port
leaves the aggregation group.
Enable this feature both globally and on ports connected to other vendors' devices to make it
effective. To minimize impact, enable the feature on all associated ports before you enable it globally.
Related commands:
display stp
.
Examples
# Enable Digest Snooping on Ethernet 1/0/1 and then globally.