Stp Cost - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

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.
Note that:
Configured in system view, the setting takes effect globally; configured in Layer 2 Ethernet port
view, the setting takes effect on the current port only; configured in port group view, the setting
takes effect on all ports in the port group.
Configured in Layer 2 aggregate port view, the setting takes effect only on the aggregate port;
configured on a member port in an aggregation group, the setting can take effect only after the port
leaves the aggregation group.
You need to enable this feature both globally and on ports connected to third-party devices to make
it take effect. It is recommended to enable the feature on all associated ports first and then globally,
thus making all configured ports take effect at the same time to minimize the impact on the network.
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 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 minimum value of
instance-id is 0, representing the CIST, and the maximum value of instance-id is 3.
cost: Path cost of the port, the effective range of which 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.
1-20

Advertisement

Table of Contents
loading

Table of Contents