R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
72
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 Ethernet interface view, the setting takes effect on the interface only.
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 GigabitEthernet 0/1 and then globally.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] stp config-digest-snooping
[Sysname-GigabitEthernet0/1] quit
[Sysname] stp config-digest-snooping
stp cost
Syntax
stp [ instance instance-id ] cost cost
undo stp [ instance instance-id ] cost
View
Ethernet interface view, Layer 2 aggregate interface view
Default level
2: System level
Parameters
instance instance-id: Sets the path cost of the ports in a particular MSTI. The value of instance-id ranges
from 0 to 15, where 0 represents the CIST.
cost: Specifies the path cost of the port, with an effective range that 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.