Aruba & ProVision-based
cancel
Showing results for 
Search instead for 
Did you mean: 

STP root flapping on HP E-3800 Switches

 
Asim_Ali
Occasional Advisor

STP root flapping on HP E-3800 Switches

Hello every1

Have two switches HP E-3800 (J-9575A) with each other, experiencing continuos root flapping., even after changing the priority.

SW-1 - Priority 0

SW-2 Priority 4096

 

I 06/17/04 09:38:15 00839 stp: CST Root changed from 0:009c02-xxxxxx to

            4096:2c4138-xxxxxx

I 06/17/04 09:38:15 00077 ports: port 1 is now off-line

I 06/17/04 09:38:16 00839 stp: CST Root changed from 4096:2c4138-xxxxxx to

            0:009c02-xxxxxx

I 06/17/04 09:38:16 00435 ports: port 13 is Blocked by STP

I 06/17/04 09:38:16 00435 ports: port 16 is Blocked by STP

I 06/17/04 09:38:16 00839 stp: CST Root changed from 0:009c02-xxxxxx to

            4096:2c4138-xxxxxx

I 06/17/04 09:38:16 00839 stp: CST Root changed from 4096:2c4138-xxxxxx to

            0:009c02-xxxxxx

I 06/17/04 09:38:16 00839 stp: CST Root changed from 0:009c02-xxxxxx to

[24;1H[2K-- MORE --, next page: Space, next line: Enter, quit: Control-C[24;1H[24;1H[2K[24;1H[1;24r[24;1H            4096:2c4138-xxxxxx

I 06/17/04 09:38:16 00839 stp: CST Root changed from 4096:2c4138-xxxxxx to

            0:009c02-xxxxxx

I 06/17/04 09:38:20 00839 stp: CST Root changed from 0:009c02-xxxxxx to

            4096:2c4138-xxxxxx

I 06/17/04 09:38:20 00839 stp: CST Root changed from 4096:2c4138-xxxxxx to

            0:009c02-xxxxxx

I 06/17/04 09:38:20 00839 stp: CST Root changed from 0:009c02-xxxxxx to

            4096:2c4138-xxxxxx

I 06/17/04 09:38:22 00435 ports: port 1 is Blocked by STP

I 06/17/04 09:38:23 00839 stp: CST Root changed from 4096:2c4138-xxxxxx to

            0:009c02-xxxxxx

I 06/17/04 09:38:23 00076 ports: port 1 is now on-line

I 06/17/04 09:38:23 00435 ports: port 14 is Blocked by STP

I 06/17/04 09:38:23 00002 vlan: VLAN90 virtual LAN disabled

I 06/17/04 09:38:23 00002 vlan: VLAN106 virtual LAN disabled

I 06/17/04 09:38:24 00076 ports: port 14 is now on-line

I 06/17/04 09:38:24 00001 vlan: VLAN90 virtual LAN enabled

I 06/17/04 09:38:24 00001 vlan: VLAN106 virtual LAN enabled

I 06/17/04 09:38:45 00076 ports: port 13 is now on-line

I 06/17/04 09:38:45 00076 ports: port 16 is now on-line

 

5 REPLIES 5
Asim_Ali
Occasional Advisor

Re: STP root flapping on HP E-3800 Switches

Below is the config snippet of the second switch.

 

I 12/31/03 14:57:00 00077 ports: port 1 is now off-line

I 12/31/03 14:57:07 00435 ports: port 1 is Blocked by STP

I 12/31/03 14:57:09 00076 ports: port 1 is now on-line

I 12/31/03 15:06:30 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 15:23:13 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

[24;1H[2K-- MORE --, next page: Space, next line: Enter, quit: Control-C[24;1H[24;1H[2K[24;1H[1;24r[24;1HI 12/31/03 15:39:56 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 15:56:39 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 16:13:52 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 16:30:35 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 16:47:18 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 17:04:02 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 17:20:45 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 17:37:28 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 17:54:11 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 18:11:25 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 18:17:09 00077 ports: port 1 is now off-line

I 12/31/03 18:17:15 00435 ports: port 1 is Blocked by STP

I 12/31/03 18:17:17 00076 ports: port 1 is now on-line

[24;1H[2K-- MORE --, next page: Space, next line: Enter, quit: Control-C[24;1H[24;1H[2K[24;1H[1;24r[24;1HI 12/31/03 18:28:38 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

I 12/31/03 18:45:21 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

W 12/31/03 18:59:01 00236 snmp: SNMP Security access violation from 172.xxx.xxx.xxx

W 12/31/03 18:59:04 00236 snmp: SNMP Security access violation from 172.xxx.xxx.xxx

W 12/31/03 18:59:07 00236 snmp: SNMP Security access violation from 172.xxx.xxx.xxx

I 12/31/03 19:02:04 00828 lldp: PVID mismatch on port 10(VID unknown)with peer

            device port GigabitEthernet1/0/2

 

16again
Respected Contributor

Re: STP root flapping on HP E-3800 Switches

Output only shows log events, what are switch configs, and which ports are interconnecting them.

It seems like there's a VLAN mismatch on current link. Best practice is not using default VLAN1 for client/server devices, but allow VLAN1 UNTAGGED on thr link between switches.  Vlan1 is used by spanning tree

Surreal2
Regular Visitor

Re: STP root flapping on HP E-3800 Switches

I though STP was VLAN unaware but yes it is preferred if VLAN1 is untagged.

Which link is causing the root change, port 1?

Did you have a look at the spanning tree troubleshooting  document: http://h20564.www2.hpe.com/hpsc/doc/public/display?docId=emr_na-c03396721

Asim_Ali
Occasional Advisor

Re: STP root flapping on HP E-3800 Switches


Running configuration:

; J9575A Configuration Editor; Created on release #KA.15.03.3004
; Ver #01:00:01

hostname "SW_Pri"
module 1 type J9575x
ip routing
vlan 1
   untagged 1-8,12-14,16-22,24-26
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip address 172.18.0.6 255.255.240.0
   tagged 9-11
   no untagged 15,23
   exit
vlan 2
   tagged 9-11
   no ip address
   exit
vlan 3
   tagged 9-11
   no ip address
   exit
vlan 50
   ip helper-address 172.18.0.18
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip address 172.18.240.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 60
   untagged 15,23
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.50
   ip address 172.18.176.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 70
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.192.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 80
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.208.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 90
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   tagged 7,9-11,14
   no ip address
   exit
vlan 101
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.32.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 102
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.48.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 103
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.64.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 104
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.80.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 105
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.96.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 106
   tagged 7,14
   no ip address
   exit
vlan 4
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.16.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
ip route 0.0.0.0 0.0.0.0 172.18.0.1
snmp-server community "public" unrestricted
snmp-server community "xxxxxx" operator
snmp-server contact "xxxxxx" location "xxxxxx"
spanning-tree
spanning-tree 7 root-guard
spanning-tree 9 root-guard
spanning-tree priority 0
oobm
   ip address dhcp-bootp
   exit
no autorun
no dhcp config-file-update
no dhcp image-file-update
password operator

_____________________________________________________________________
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
_____________________________________________________________________

 

Running configuration:

; J9575A Configuration Editor; Created on release #KA.15.03.3004
; Ver #01:00:01

hostname "SW_SEC"
module 1 type J9575x
ip routing
vlan 1
   untagged 1-8,12-14,16-22,24-26
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip address 172.18.0.7 255.255.240.0
   tagged 9-11
   no untagged 15,23
   exit
vlan 2
   tagged 9-11
   no ip address
   exit
vlan 3
   tagged 9-11
   no ip address
   exit
vlan 50
   ip helper-address 172.18.0.18
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip address 172.18.240.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 60
   untagged 15,23
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.50
   ip address 172.18.176.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 70
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.192.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 80
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.208.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 90
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   tagged 7,9-11,14
   no ip address
   exit
vlan 101
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.32.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 102
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.48.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 103
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.64.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 104
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.80.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 105
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.96.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
vlan 106
   name "VLAN106"
   tagged 7,14
   no ip address
   exit
vlan 4
   ip helper-address 172.18.0.50
   ip helper-address 172.18.0.60
   ip helper-address 172.18.0.119
   ip helper-address 172.18.0.58
   ip helper-address 172.18.0.18
   ip address 172.18.16.1 255.255.240.0
   tagged 1,7,9-11,14
   exit
ip route 0.0.0.0 0.0.0.0 172.18.0.1
snmp-server community "public" unrestricted
snmp-server community "xxxxxx" operator
snmp-server contact "xxxxxx" location "xxxxxx"
spanning-tree
spanning-tree 7 root-guard
spanning-tree 9 root-guard
spanning-tree priority 1
oobm
   ip address dhcp-bootp
   exit
no autorun
no dhcp config-file-update
no dhcp image-file-update
password operator

16again
Respected Contributor

Re: STP root flapping on HP E-3800 Switches

Which port(s) are connected between the switches?  I hope these aren't ports 7<->7  or 9<->9