
113
stp config-digest-snooping
Syntax
stp config-digest-snooping
undo stp config-digest-snooping
View
System view, Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
None
Description
Use the
stp config-digest-snooping
command to enable Digest Snooping.
Use the
undo stp config-digest-snooping
command to disable Digest Snooping.
The feature is disabled by default.
Configured in system view, the setting takes effect globally.
Configured in Layer 2 Ethernet interface view, the setting takes effect on the current 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 the impact, enable the feature on all associated ports before you enable it globally.
Related commands:
display stp
.
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 config-digest-snooping
stp cost
Syntax
stp
[
instance
instance-id
]
cost
cost
undo stp
[
instance
instance-id
]
cost
View
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view