switch connections

Started by commando, August 02, 2022, 12:17:54 PM

Previous topic - Next topic

commando

Dear,
These days I find some switches connections not correct in my layer 2 topology map like the attachment.
When I run the topology poll, only shows the interface 8 linked to another switch. There is device connected port 1, but nothing on port 22.
I also had the experience when I changed the cable connections between switches, NetXMS could have them in map.
I find only solution clean the redundant connections between switches is, delete the node first, create them again.

Is it correct? Is it possible change some configuration can avoid this happen again?

Thanks in advance.

commando

Did some testing today,
when I change the link between switches, NetXMS still can remember the older one. I can delete the old connection in map, but it will appear after a while.
Still have to delete the node, re-create them can fix the problem.
How does the map update the connections automatically?
Thanks.

commando

Today I am installing a new switch, named XXX59, it is an Aruba 2540-48G one. I am quite sure I only connected it with one cable.
Added it into NetXMS, then map shows like the attachment.

And here is the event log for developer debug.

This problem not exits in all of my Aruba 2530/2540 switches. How can I prevent this?

Thanks.


Quote
"id": 2133249,
   "rootId": 0,
   "code": 71,
   "name": "SYS_IF_PEER_CHANGED",
   "timestamp": 1659665242,
   "originTimestamp": 1659665242,
   "origin": 0,
   "source": 5157,
   "zone": 0,
   "dci": 0,
   "severity": 0,
   "message": "New peer for interface 48 is XXX30 (48G) interface 48 (38:10:F0:AE:42:90)",
   "lastAlarmKey": "",
   "lastAlarmMessage": "",
   "tags": null,
   "parameters": [
      {
         "name": "localIfId",
         "value": "5205"
      },
      {
         "name": "localIfIndex",
         "value": "48"
      },
      {
         "name": "localIfName",
         "value": "48"
      },
      {
         "name": "localIfIP",
         "value": "UNSPEC"
      },
      {
         "name": "localIfMAC",
         "value": "90:20:C2:B7:4C:D0"
      },
      {
         "name": "remoteNodeId",
         "value": "2035"
      },
      {
         "name": "remoteNodeName",
         "value": "XXX30 (48G)"
      },
      {
         "name": "remoteIfId",
         "value": "2084"
      },
      {
         "name": "remoteIfIndex",
         "value": "48"
      },
      {
         "name": "remoteIfName",
         "value": "48"
      },
      {
         "name": "remoteIfIP",
         "value": "UNSPEC"
      },
      {
         "name": "remoteIfMAC",
         "value": "38:10:F0:AE:42:90"
      },
      {
         "name": "protocol",
         "value": "3"
      }
   ]


Victor Kirhenshtein

So it shows something connected on interface "6", but this interface not connected to anything?

Please run topology poll on that switch manually, and show the output. Also, please show screenshot or export of interfaces table (I'm mostly interested in peer information columns).

Best regards,
Victor

commando

#4
Thanks for replying my question.

I am sure I only connected interface "6" when I configured the switch, it was new and  in front of my office desk. Also I mentioned I had this problem for some period, I noticed something like NetXMS remembered the connection history. Manually poll doesn't help at all.
This afternoon I moved the switch twice, look the attached picture.
The switch is OFF now, I can power it on tomorrow, and share some info to you.

Please tell me how to export the interfaces table? I did not use it, I think it is different than the MAC address table?
Sorry, now I know where is it, in the switch object properties. I will export it tomorrow. :)

Thanks again!

commando

#5
Quote from: Victor Kirhenshtein on August 05, 2022, 02:34:39 PM
So it shows something connected on interface "6", but this interface not connected to anything?

Please run topology poll on that switch manually, and show the output. Also, please show screenshot or export of interfaces table (I'm mostly interested in peer information columns).

Best regards,
Victor

Dear,
I moved my switch59 into production, port 1~48 should connected computer devices only, port 49 is the fiber uplink to our central switch.
But the NetXMS map is not correct.
from the switch59 management WebUI, the port 48 is down now.
from the switch30 management WebUI, the port 48 is down now. I am quite I did not connect them.
from the switch55 management WebUI, the port 7 is down now. switch55 in my office, the connection could be established when I configured switch59.
manually poll the topology to these 3 switches again here,

===
[2022/08/07 14:15:50] **** Poll request sent to server ****
[2022/08/07 14:15:50] Poll request accepted, waiting for outstanding polling requests to complete...
[2022/08/07 14:15:50] Starting topology poll of node switch30 (48G)
[2022/08/07 14:15:50] VLAN list successfully retrieved from node
[2022/08/07 14:15:57] Switch forwarding database retrieved
[2022/08/07 14:15:57] Link layer topology retrieved (2 connections found)
[2022/08/07 14:15:57] Updating peer information on interfaces
[2022/08/07 14:15:57]    Local interface 49 linked to remote interface Huawei Stack:10GE2/0/43
[2022/08/07 14:15:57] Link layer topology processed
[2022/08/07 14:15:57] Finished topology poll of node switch30 (48G)
[2022/08/07 14:15:57] **** Poll completed successfully ****
===

===
[2022/08/07 14:17:54] **** Poll request sent to server ****
[2022/08/07 14:17:54] Poll request accepted, waiting for outstanding polling requests to complete...
[2022/08/07 14:17:54] Starting topology poll of node switch55 (8G)
[2022/08/07 14:17:54] VLAN list successfully retrieved from node
[2022/08/07 14:17:58] Switch forwarding database retrieved
[2022/08/07 14:17:58] Link layer topology retrieved (2 connections found)
[2022/08/07 14:17:58] Updating peer information on interfaces
[2022/08/07 14:17:58]    Local interface 10 linked to remote interface switch37 (48G):37
[2022/08/07 14:17:58] Link layer topology processed
[2022/08/07 14:17:58] Finished topology poll of node switch55 (8G)
[2022/08/07 14:17:58] **** Poll completed successfully ****
===

===
[2022/08/07 14:18:37] **** Poll request sent to server ****
[2022/08/07 14:18:37] Poll request accepted, waiting for outstanding polling requests to complete...
[2022/08/07 14:18:37] Starting topology poll of node switch59 (48G)
[2022/08/07 14:18:37] VLAN list successfully retrieved from node
[2022/08/07 14:18:39] Switch forwarding database retrieved
[2022/08/07 14:18:39] Link layer topology retrieved (3 connections found)
[2022/08/07 14:18:39] Updating peer information on interfaces
[2022/08/07 14:18:39]    Local interface 49 linked to remote interface Huawei Stack:10GE2/0/39
[2022/08/07 14:18:39] Link layer topology processed
[2022/08/07 14:18:39] Finished topology poll of node switch59 (48G)
[2022/08/07 14:18:39] **** Poll completed successfully ****
===

add more screenshots for switch59, include the 3 strange port neighbours.


commando

#6
add screenshots here.

Any comment appreciated. This strange problem makes my NetXMS mass these days  ;D
Thanks!

commando

Hello,
I installed newest NetXMS server yesterday, Version 4.1.420
Added 2 switches into manage, switch53 & switch58.
I connected the cable to switch58 port 24 first, then changed to port 22. Map shows like this.

commando

Quote from: commando on August 15, 2022, 07:14:01 AM
Hello,
I installed newest NetXMS server yesterday, Version 4.1.420
Added 2 switches into manage, switch53 & switch58.
I connected the cable to switch58 port 24 first, then changed to port 22. Map shows like this.

After a while, I changed the connection to switch58 port 18, but map not updated. Manual poll to both switches are correct.

[8/15/22, 12:15:16 PM] Updating peer information on interfaces
[8/15/22, 12:15:16 PM]    Local interface 18 linked to remote interface switch53:7
[8/15/22, 12:15:16 PM] Link layer topology processed
[8/15/22, 12:15:16 PM] Finished topology poll of node switch58


[8/15/22, 12:15:23 PM] Updating peer information on interfaces
[8/15/22, 12:15:23 PM]    Local interface 7 linked to remote interface switch58:18
[8/15/22, 12:15:23 PM] Link layer topology processed
[8/15/22, 12:15:23 PM] Finished topology poll of node switch53

commando

At last, delete switch58 in the map, after few secs, switch58 appears again, and connection is correct.

My question is, is it possible let the map update itself automatically? In our production environment, switches changes always happens, my production network map becomes mass now.
And during the connection changes, is it possible somewhere I can check the history? for example  uppon post, I can see the connection on switch58, connection changed from port 24, 22 to 18.

Thanks for helping!

commando

more info, I switched the cable from port 24 to 2, back to my workstation and run the manual topology poll 3 times, then I find this.
note, there is only one cable on the switch, port 2.

[8/15/22, 2:41:31 PM] **** Poll request sent to server ****
[8/15/22, 2:41:31 PM] Poll request accepted, waiting for outstanding polling requests to complete...
[8/15/22, 2:41:31 PM] Starting topology poll of node switch58
[8/15/22, 2:41:31 PM] VLAN list successfully retrieved from node
[8/15/22, 2:41:33 PM] Switch forwarding database retrieved
[8/15/22, 2:41:33 PM] Link layer topology retrieved (2 connections found)
[8/15/22, 2:41:33 PM] Updating peer information on interfaces
[8/15/22, 2:41:33 PM]    Local interface 2 linked to remote interface switch53:7
[8/15/22, 2:41:33 PM]    Local interface 24 linked to remote interface switch53:7
[8/15/22, 2:41:33 PM] Link layer topology processed
[8/15/22, 2:41:33 PM] Finished topology poll of node switch58
[8/15/22, 2:41:33 PM] **** Poll completed successfully ****

[8/15/22, 2:41:44 PM] **** Poll request sent to server ****
[8/15/22, 2:41:44 PM] Poll request accepted, waiting for outstanding polling requests to complete...
[8/15/22, 2:41:44 PM] Starting topology poll of node switch58
[8/15/22, 2:41:44 PM] VLAN list successfully retrieved from node
[8/15/22, 2:41:46 PM] Switch forwarding database retrieved
[8/15/22, 2:41:46 PM] Link layer topology retrieved (2 connections found)
[8/15/22, 2:41:46 PM] Updating peer information on interfaces
[8/15/22, 2:41:46 PM]    Local interface 2 linked to remote interface switch53:7
[8/15/22, 2:41:46 PM]    Local interface 24 linked to remote interface switch53:7
[8/15/22, 2:41:46 PM] Link layer topology processed
[8/15/22, 2:41:46 PM] Finished topology poll of node switch58
[8/15/22, 2:41:46 PM] **** Poll completed successfully ****

[8/15/22, 2:43:52 PM] **** Poll request sent to server ****
[8/15/22, 2:43:52 PM] Poll request accepted, waiting for outstanding polling requests to complete...
[8/15/22, 2:43:52 PM] Starting topology poll of node switch58
[8/15/22, 2:43:52 PM] VLAN list successfully retrieved from node
[8/15/22, 2:43:54 PM] Switch forwarding database retrieved
[8/15/22, 2:43:54 PM] Link layer topology retrieved (2 connections found)
[8/15/22, 2:43:54 PM] Updating peer information on interfaces
[8/15/22, 2:43:54 PM]    Local interface 2 linked to remote interface switch53:7
[8/15/22, 2:43:54 PM] Link layer topology processed
[8/15/22, 2:43:54 PM] Finished topology poll of node switch58
[8/15/22, 2:43:54 PM] **** Poll completed successfully ****

commando

I read this post then fix my problem, but it takes some time. Hope new feature added in new release.
https://www.netxms.org/forum/general-support/l2-topology-not-updating/msg31619/#msg31619

Thanks.