3com S7906E Guide De Référence
1-18
z
You need to enable this feature both globally and on ports connected to other vendors’ devices to
make it take effect. It is recommended to enable the feature on all associated ports first and then
globally, making all configured ports take effect at the same time to minimize the impact, and
disable the feature globally to disable it on all associated ports.
z
It is not recommended to enable Digest Snooping on the MST region edge ports to avoid loops.
Examples
# Enable Digest Snooping globally.
<Sysname> system-view
[Sysname] stp config-digest-snooping
# Enable Digest Snooping on GigabitEthernet 2/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] stp config-digest-snooping
stp cost
Syntax
stp [ instance instance-id ] cost cost
undo stp [ instance instance-id ] cost
View
Ethernet port view, port group view, Layer-2 aggregate port view
Default Level
2: System level
Parameters
instance instance-id: Sets the path cost of the port(s) in a particular MSTI. The value of instance-id
ranges from 0 to 31. The minimum value is 0, representing the CIST.
cost: Path cost of the port, the effective range of which depends on the path cost calculation standard
adopted.
z
With the IEEE 802.1D-1998 standard selected for path cost calculation, the cost argument ranges
from 1 to 65535.
z
With the IEEE 802.1t standard selected for path cost calculation, the cost argument ranges from 1
to 200000000.
z
With the proprietary standard selected for path cost calculation, the cost argument ranges from 1 to
200000.
Description
Use the stp cost command to set the path cost of the port(s) in the specified MSTI or all MSTIs.
Use the undo stp cost command to restore the system default.
By default, the device automatically calculates the path costs of ports in each MSTI based on the
corresponding standard.