R0106-HP MSR Router Series Layer 2 - LAN Switching Command Reference(V7)

28
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] stp compliance dot1s
stp config-digest-snooping
Use stp config-digest-snooping to enable Digest Snooping.
Use undo stp config-digest-snooping to disable Digest Snooping.
Syntax
stp config-digest-snooping
undo stp config-digest-snooping
Default
The feature is disabled.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
Usage guidelines
Enable this feature both globally and on ports connected to other vendors' devices. To minimize impact,
enable the feature on all associated ports before you enable it globally.
When the setting is configured in Layer 2 Ethernet interface view, it takes effect on only the interface.
Examples
# Enable Digest Snooping on GigabitEthernet 2/1/1 and then globally.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1] stp config-digest-snooping
[Sysname-GigabitEthernet2/1/1] quit
[Sysname] stp global config-digest-snooping
Related commands
display stp
stp global config-digest-snooping
stp cost
Use stp cost to set the path cost of a port.
Use undo stp cost to restore the default.
Syntax
stp [ instance instance-list | vlan vlan-id-list ] cost cost
undo stp [ instance instance-list | vlan vlan-id-list ] cost
Default
The device automatically calculates the path costs of ports in each spanning tree based on the
corresponding standard.