<?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[L2 Map Filter]]></title><description><![CDATA[<p dir="auto">Is it possible to filter by interface on topology map ?  We have 48 Port core switch that has around 20 devices connected to each port so a topology map is pretty much a big blob of devices that span out from the core.  I would like to be able just include say interface Gi1/0/1 and whatever devices that span out from that particular interface.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/topic/7485/l2-map-filter</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:25:50 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7485.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 04 Aug 2022 16:26:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to L2 Map Filter on Fri, 12 Aug 2022 15:57:06 GMT]]></title><description><![CDATA[<p dir="auto">Currently not really possible. I've just created an issue: <a href="https://track.radensolutions.com/issue/NX-2292" rel="nofollow ugc">https://track.radensolutions.com/issue/NX-2292</a><br />
When this issue would be fixed, it would be possible to select some node connected to that specific interface of the core switch as seed node. Then in filter script you'd be able to filter out the core switch and it won't go pass the core switch when building the map.</p>
]]></description><link>https://forum.netxms.org/post/31739</link><guid isPermaLink="true">https://forum.netxms.org/post/31739</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 12 Aug 2022 15:57:06 GMT</pubDate></item><item><title><![CDATA[Reply to L2 Map Filter on Thu, 11 Aug 2022 17:50:33 GMT]]></title><description><![CDATA[<p dir="auto">Yes,  That's correct I was trying to get the hierarchy from a single core switch interface.  I was trying to see if that was possible but it looks like I would have to do  some sort of recursive function and step through each peer and its interfaces.  Any pointers would be much apperciated.</p>
<p dir="auto">Thanks</p>
]]></description><link>https://forum.netxms.org/post/31735</link><guid isPermaLink="true">https://forum.netxms.org/post/31735</guid><dc:creator><![CDATA[gmonk63]]></dc:creator><pubDate>Thu, 11 Aug 2022 17:50:33 GMT</pubDate></item><item><title><![CDATA[Reply to L2 Map Filter on Mon, 08 Aug 2022 21:12:32 GMT]]></title><description><![CDATA[<p dir="auto">Here's an example of map filter script to start with.</p>
<pre><code>if ($node-&gt;name == "sw-shelf") return true;

for (i:$node-&gt;interfaces) {
  p = i-&gt;peerInterface;
  n = i-&gt;peerNode;
  if (n != null and p != null and n-&gt;name == "sw-shelf" and p-&gt;name-&gt;contains("gi1/0")) return true;
}
return false;
</code></pre>
<p dir="auto">It shows sw-shelf node and nodes connected to ports of the switch that have names beginning with "gi1/0".</p>
<p dir="auto">But this script only shows directly connected devices. Do I understand correctly, that you actually want all the hierarchy that is connected to a specific port of your core switch?</p>
]]></description><link>https://forum.netxms.org/post/31728</link><guid isPermaLink="true">https://forum.netxms.org/post/31728</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 08 Aug 2022 21:12:32 GMT</pubDate></item><item><title><![CDATA[Reply to L2 Map Filter on Fri, 05 Aug 2022 11:09:32 GMT]]></title><description><![CDATA[<p dir="auto">There is Object Filter in map properties. That's script that is executed for each node to decide if it should be added to the map.<br />
So in that script you can loop through interfaces of the node, interfaces have peerInterface attribute. This attribute, if not null, will have interface object of the switch.</p>
<p dir="auto">Pls send a note if you need an example of the script.</p>
]]></description><link>https://forum.netxms.org/post/31717</link><guid isPermaLink="true">https://forum.netxms.org/post/31717</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 05 Aug 2022 11:09:32 GMT</pubDate></item></channel></rss>