<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to stop secondary interfaces showing up on L3 Map]]></title><description><![CDATA[<p dir="auto">I have a Cisco switch that has an interface (vlan) with two IP addresses attached.<br />
2 Objects show up in the device tree after auto discovery, and even though I have set the object with the secondary IP to unmanaged, and deleted it from the L3 map, it keeps popping back up and makes the diagram confusing.<br />
Of course just deleting the object itself means it will turn up again as managed after the next auto discovery.</p>
<p dir="auto">How can I stop this from happening while keeping the L3 map dynamic?<br />
Can I use an object filter and exclude the secondary IP somehow? To be honest, I would prefer if the object doesn't show up in the device tree at all, while keeping auto discovery enabled.</p>
<p dir="auto">Thanks,</p>
]]></description><link>https://forum.netxms.org/topic/7174/how-to-stop-secondary-interfaces-showing-up-on-l3-map</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 21:23:26 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7174.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 15 Sep 2021 16:23:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to stop secondary interfaces showing up on L3 Map on Tue, 21 Sep 2021 08:47:14 GMT]]></title><description><![CDATA[<p dir="auto">I have added the following (just in case I need to add more IPs) to Hook::AcceptNewNode and it is working.</p>
<pre><code>switch ($ipAddr)
{
	case "1.2.3.4":
		return false;
	default:
		return true;
}
</code></pre>
<p dir="auto">Thanks!</p>
]]></description><link>https://forum.netxms.org/post/30533</link><guid isPermaLink="true">https://forum.netxms.org/post/30533</guid><dc:creator><![CDATA[ChrisC]]></dc:creator><pubDate>Tue, 21 Sep 2021 08:47:14 GMT</pubDate></item><item><title><![CDATA[Reply to How to stop secondary interfaces showing up on L3 Map on Thu, 16 Sep 2021 15:01:50 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,<br />
Thank you for the reply.<br />
Yes, NetXMS is polling the device via SNMP without problems, so on both instances the device is listing all the interfaces, so it was surprising to me too!</p>
]]></description><link>https://forum.netxms.org/post/30501</link><guid isPermaLink="true">https://forum.netxms.org/post/30501</guid><dc:creator><![CDATA[ChrisC]]></dc:creator><pubDate>Thu, 16 Sep 2021 15:01:50 GMT</pubDate></item><item><title><![CDATA[Reply to How to stop secondary interfaces showing up on L3 Map on Thu, 16 Sep 2021 13:04:30 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">does NetXMS server has SNMP access to this Cisco device? Because normally it should read all configured addresses via SNMP and not attempt to create separate nodes for each known IP address.</p>
<p dir="auto">If for some reason device is not accessible via SNMP, you can block secondary address in discovery filter. You can set discovery filter to script, and use script like this:</p>
<pre><code>if ($node-&gt;ipAddr == "1.2.3.4")
   return false;
return true;
</code></pre>
<p dir="auto">you can also use hook script Hook::AcceptNewNode for this, just add the following line to it:</p>
<pre><code>return $ipAddr != "1.2.3.4";
</code></pre>
<p dir="auto">(of course replace 1.2.3.4 with actual IP address).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30500</link><guid isPermaLink="true">https://forum.netxms.org/post/30500</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 16 Sep 2021 13:04:30 GMT</pubDate></item></channel></rss>