95
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
Default level
2: System level
Parameters
instance
instance-id
: Sets the path cost of the port(s) in a particular MSTI. The
instance-id
argument
ranges from 0 to 15, where 0 represents the CIST.
cost
: Specifies the path cost of the port, with an effective range depends on the path cost calculation
standard adopted.
•
With the IEEE 802.1d-1998 standard selected for path cost calculation, the
cost
argument ranges
from 1 to 65535.
•
With the IEEE 802.1t standard selected for path cost calculation, the
cost
argument ranges from 1
to 200000000.
•
With the private standard selected for path cost calculation, the
cost
argument ranges from 1 to
200000.