Stp Cost - HP FlexNetwork 5130 HI series Command Reference Manual

Layer 2 - lan switching
Table of Contents

Advertisement

When the setting is configured on a member port in an aggregation group, it takes effect only after
the port leaves the aggregation group.
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 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.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
instance instance-list: Specifies a space-separated list of up to 10 MSTI items. Each item specifies
an MSTI or a range of MSTIs in the form of instance-id1 [ to instance-id2 ]. The value for instance-id2
must be equal to or greater than the value for instance-id1. The value range for the instance-id
argument is 0 to 4094, and the value 0 represents the CIST.
vlan vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a
VLAN or a range of VLANs in the form of vlan-id1 [ to vlan-id2 ]. The value for vlan-id2 must be equal
to or greater than the value for vlan-id1. The value range for the vlan-id argument is 1 to 4094.
cost: Specifies the path cost of the port, with an effective range that depends on the path cost
calculation standard that is used.
When the IEEE 802.1d-1998 standard is selected for path cost calculation, the value range for
the cost argument is 1 to 65535.
When the IEEE 802.1t standard is selected for path cost calculation, the value range for the
cost argument is 1 to 200000000.
When the private standard is selected for path cost calculation, the value range for the cost
argument is 1 to 200000.
133

Advertisement

Table of Contents
loading

Table of Contents