Hi aybra,
I change spanning tree mode to RPVST. Please find the config below.
vlan 1
name "DEFAULT_VLAN"
no untagged 1,5-6
untagged 2-4,7-10
ip address 10.1.1.1 255.255.255.0
ip address 10.10.10.1 255.255.255.0
ip igmp
exit
vlan 5
name "test"
untagged 5-6
ip address 10.10.20.1 255.255.255.0
exit
vlan 100
name "VLAN100"
untagged 1
no ip address
exit
spanning-tree
spanning-tree mode rapid-pvst
Now both ports seems to be blocked as shown below.
HP-2530-8-PoEP# show spanning-tree vlan 1
Spanning Tree Information
STP Enabled [No] : Yes
Mode : RPVST
Extended System ID : Enabled
Ignore PVID Inconsistency : Disabled
Switch MAC Address : e0071b-464ac0
VLAN ID : 1
RPVST Enabled : Enabled
Root MAC Address : e0071b-464ac0
Root Priority : 32,768
Root Path Cost : 0
Root Port : This switch is root
Operational Hello Time (secs) : 2
Topology Change Count : 0
Time Since Last Change : 2 hours
Root Inconsistent Ports :
Loop Inconsistent Ports :
PVID Inconsistent Ports : 2
Designated
Port Type Cost Priority Role State Bridge
----- ---------- --------- --------- ---------- ---------- ---------------
2 10/100TX 200000 128 Designated Blocking e0071b-464ac0
3 10/100TX 0 128 Disabled Disabled
4 10/100TX 0 128 Disabled Disabled
7 10/100TX 0 128 Disabled Disabled
8 10/100TX 0 128 Disabled Disabled
9 100/1000T 0 128 Disabled Disabled
10 100/1000T 0 128 Disabled Disabled
HP-2530-8-PoEP# show spanning-tree vlan 5
Spanning Tree Information
STP Enabled [No] : Yes
Mode : RPVST
Extended System ID : Enabled
Ignore PVID Inconsistency : Disabled
Switch MAC Address : e0071b-464ac0
VLAN ID : 5
RPVST Enabled : Enabled
Root MAC Address : e0071b-464ac0
Root Priority : 32,768
Root Path Cost : 0
Root Port : This switch is root
Operational Hello Time (secs) : 2
Topology Change Count : 0
Time Since Last Change : 2 hours
Root Inconsistent Ports :
Loop Inconsistent Ports :
PVID Inconsistent Ports : 5
Designated
Port Type Cost Priority Role State Bridge
----- ---------- --------- --------- ---------- ---------- ---------------
5 10/100TX 200000 128 Designated Blocking e0071b-464ac0
6 10/100TX 0 128 Disabled Disabled
I can not undersatand the logic behind it.
Thanks.