<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/switchmap/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/switchmap/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 11 Mar 2022 00:48:21 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/switchmap/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>#11 SNMPv3</title><link>https://sourceforge.net/p/switchmap/support-requests/11/?limit=25#42c2</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Not sure if this problem is unique to our environment, but I wanted to post it here in case anyone else has the same issues..    I had to do a bit of a hack to get SNMPv3 working, see my previous post.  But I also was moving our SwitchMap setup to a newer Ubuntu server at the same time.&lt;/p&gt;
&lt;p&gt;The SNMPv3 changes I mentioned above got most everything working for us, but my HP(H3C) stuff on the new server would still fail with the following error while running SwitchMap.pl.  We assumed this was because of newer versions of SNMP::Info on the new server, but weren't sure.&lt;/p&gt;
&lt;p&gt;-bash$ sudo ./SwitchMap.pl &lt;br/&gt;
MIB search path: /root/.snmp/mibs:/usr/share/snmp/mibs&lt;br/&gt;
Cannot find module (ENTITY-MIB): At line 0 in (none)&lt;br/&gt;
The ENTITY-MIB did not load. See README for SNMP::Info::Layer3::H3C&lt;br/&gt;
 at /usr/local/switchmap/Switch.pm line 264.&lt;/p&gt;
&lt;p&gt;The error shows the MIB search path, so I went down that rabbit hole for a while, trying to add MIBs there, but with no luck.&lt;/p&gt;
&lt;p&gt;After having no luck there, I took a closer look at the error about Switch.pm, and just under line 264, I noticed my configuration has the following:&lt;/p&gt;
&lt;p&gt;MibDirs     =&amp;gt; &lt;span&gt;[ '/usr/local/netdisco-mibs/cisco', '/usr/local/netdisco-mibs/rfc', '/usr/local/netdisco-mibs/juniper', '/usr/local/netdisco-mibs/foundry', '/usr/local/netdisco-mibs/h3c']&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;I'm not sure if this is what everyone's Switch.pm file looks like or not..  We've done some customizing to SwitchMap, and so we haven't really done a fresh install in a while, we mostly copy files over from our existing installs.    So this may be left over from some previous work that we've done.  I could do a fresh install and check, but I'm feeling a bit lazy right now..  :)&lt;/p&gt;
&lt;p&gt;Anyways, the problem I was having was that we didn't have these directories (/usr/local/netdisco-mibs) on our new server, so we copied them over from a previous server, and now everything is working.&lt;/p&gt;
&lt;p&gt;Again, I'm not sure if this is something custom to us, or if this is pretty standard for SwitchMap.  But if you're having the "Cannot find module" problem, I would suggest checking your MibDirs configuration in Switch.pm, and if it points to /usr/local/netdisco, make sure you have those files.  If you don't, I'm assuming you can install NetDisco and you'll get all those MIB folders along with it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy Lunsford</dc:creator><pubDate>Fri, 11 Mar 2022 00:48:21 -0000</pubDate><guid>https://sourceforge.net8c5721666794a8482cf655448bb34f465a0f88da</guid></item><item><title>#11 SNMPv3</title><link>https://sourceforge.net/p/switchmap/support-requests/11/?limit=25#0482</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Pete!&lt;/p&gt;
&lt;p&gt;We just recently switched everything to SNMPv3, and ran into some issues.. But I'm curious about why you say that Switchmap doesn't support SNMPv3?  Its a configuration option in ThisSite.pm, and for our Cisco gear, SNMPv3 seems to work just fine.&lt;/p&gt;
&lt;p&gt;The place we ran into issues is with our H3C gear, when trying to access our H3C equipment from Switchmap via SNMPv3, it fails.  After some debugging, and digging around, I found that this is because Switch.pm is only setup to pass SNMPv2 credentials to SNMP::Info..  (Line 264ish)&lt;/p&gt;
&lt;p&gt;Switchmap doesn't seem to need to use SNMP::Info for our Cisco switches, so I think this is why it works fine with our Cisco gear.&lt;/p&gt;
&lt;p&gt;Anyways, below is the SNMPv3 changes that I made to the Switch.pm file.  I just hardcoded the SNMPv3 info in there.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;my&lt;/span&gt; &lt;span class="nv"&gt;$session&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nn"&gt;SNMP::&lt;/span&gt;&lt;span class="n"&gt;Info&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
                              &lt;span class="n"&gt;AutoSpecify&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;Debug&lt;/span&gt;       &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# note: setting this to 1 is interesting&lt;/span&gt;
                              &lt;span class="n"&gt;DestHost&lt;/span&gt;    &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nv"&gt;$SwitchName&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;SecName&lt;/span&gt;     &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s"&gt;'YouUsernameHere'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;SecLevel&lt;/span&gt;    &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s"&gt;'authPriv'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;AuthProto&lt;/span&gt;   &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s"&gt;'SHA'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;AuthPass&lt;/span&gt;    &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s"&gt;'YourPassPhraseHere'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;PrivProto&lt;/span&gt;   &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s"&gt;'AES'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;PrivPass&lt;/span&gt;    &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s"&gt;'YourPassPhraseHere'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
                              &lt;span class="n"&gt;MibDirs&lt;/span&gt;     &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt; &lt;span class="s"&gt;'/usr/local/netdisco-mibs/cisco'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'/usr/local/netdisco-mibs/rfc'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'/usr/local/netdisco-mibs/juniper'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'/usr/local/netdisco-mibs/foundry'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s"&gt;'/usr/local/netdisco-mibs/h3c'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
                              &lt;span class="n"&gt;Version&lt;/span&gt;     &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;
                             &lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I'm not a programmer, so I have no idea how to correct the program to have it dynamically read the SNMPv3 info from ThisSite.pm.  Trying to see if we have any developers internally that know Perl enough to help..&lt;/p&gt;
&lt;p&gt;Thought I'd post it here in case it helps someone else, or in case its enough info for you to run with to fix SNMPv3.  No idea how much work that would be for you, or even if you're doing any updates to SwitchMap any more..  &lt;/p&gt;
&lt;p&gt;As always, thanks for making Switchmap available.  Its a great little program, and we use the hell out of it!&lt;/p&gt;
&lt;p&gt;-Cheers                             &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy Lunsford</dc:creator><pubDate>Thu, 15 Jul 2021 00:49:05 -0000</pubDate><guid>https://sourceforge.netce76b6d91c8a45265819af248ae01cc97a302abb</guid></item><item><title>IOS Fuji not working right? </title><link>https://sourceforge.net/p/switchmap/support-requests/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I'm running Cisco C9300-48P with Version 16.8.1a &lt;span&gt;[Fuji]&lt;/span&gt; which it came with, but I do have another one running Version 16.6.3 &lt;span&gt;[Everest]&lt;/span&gt; that works. The Fuji one is getting errors not displaying each port gray with no MAC, IP or CDP information. I feel like stepping the other switches down to Everest. Just thought I would document in a ticket what is going on.&lt;/p&gt;
&lt;p&gt;I can get you a log file if you wish, let me know. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">K2Chris1983</dc:creator><pubDate>Wed, 25 Sep 2019 13:35:19 -0000</pubDate><guid>https://sourceforge.net1da7626f8d84ad9590ccf19f69316cb0763b5be4</guid></item><item><title>SNMPv3</title><link>https://sourceforge.net/p/switchmap/support-requests/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Would it be possible to make the use of SNMPv3 better or to explain in more detail how to use it?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 22 Aug 2019 13:44:09 -0000</pubDate><guid>https://sourceforge.net7fba2bfe4d5f5f15139a213cf9653bb15133f7a0</guid></item><item><title>Undefined subroutine &amp;SNMP::Info</title><link>https://sourceforge.net/p/switchmap/support-requests/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am using switchmap 14.0 and when adding some HP switches I get the following error, how do I fix this issue?&lt;/p&gt;
&lt;p&gt;2018/10/04 10:26:52     Switch::PopulateSwitch: Ok, there's no mapping of port names to VLANs, so I'll try SNMP::Info Undefined subroutine &amp;amp;SNMP::Info called at c:/inetpub/wwwroot/switchmap/Switch.pm line 270. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 04 Oct 2018 14:51:15 -0000</pubDate><guid>https://sourceforge.net31a9e030f43a6f3266fbd6e4a4f31bf7ba2c9dd6</guid></item><item><title>Out of date Windows install walk-through - issues with Perl module installs.</title><link>https://sourceforge.net/p/switchmap/support-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I've been attempting to install version 14.0 on a windows 2016 server box.  I'm stuck at some of the Perl module dependancies specifically snmp::info.  The install instructions for windows from ref 11.12 and the recommended ActivePerl looks like has depricated some of the related net-snmp dependancies or has made changes.&lt;/p&gt;
&lt;p&gt;When running switchmap.pl -d 5 the following error is generated:&lt;br/&gt;
Can't locate SNMP/Info.pm in @INC (you may need to install the SNMP::Info module) (@INC contains: C:/inetpub/wwwroot/switchmap C:/Perl/site/lib C:/Perl/lib .) at C:/inetpub/wwwroot/switchmap/Switch.pm line 4.&lt;br/&gt;
BEGIN failed--compilation aborted at C:/inetpub/wwwroot/switchmap/Switch.pm line 4.&lt;br/&gt;
Compilation failed in require at SwitchMap.pl line 241.&lt;br/&gt;
BEGIN failed--compilation aborted at SwitchMap.pl line 241.&lt;/p&gt;
&lt;p&gt;I attempted to find related net-snmp components to fill in the missing file and was able to progress one more step but the version of snmp::info info.pm I found doesn't match the version and I receive errors (sorry, don't have error output for that).&lt;/p&gt;
&lt;p&gt;The readme for the linux setup has you grab slightly different named modules. Attempting to do cpan installs of the modules (vs the ActivePerl modules) results in different errors in installing SNMP::Info (can't find netsnmp.lib).  I can see there are still some dependancies mis-matches.  I may try and install Net-SNMP and SNMP::Info using some different methods.&lt;/p&gt;
&lt;p&gt;I have some other tools that perform similar functions but this setup is very easy to use for common switch port lookups (IP addresses, port descriptions, etc) so I'm hoping to keep it and migrate it from my old linux based install to my new windows install (the old linux box is way out of date to try and update and we are mainly a windows shop).&lt;/p&gt;
&lt;p&gt;Request: Update the Windows install doc with up to date ActivePerl (or another Perl implimentation) install instructions for all the needed modules.  Test and verify walk-through.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 07 Nov 2017 02:55:21 -0000</pubDate><guid>https://sourceforge.net7a3a65b39725f65acea60b070b265e0a90ef9ae0</guid></item><item><title>#8 Port Channel members on Cisco Nexus</title><link>https://sourceforge.net/p/switchmap/support-requests/8/?limit=25#8435</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Might be worth re-writing PopulateEtherChannels.pm to use dot3adaggportattachedaggid instead of ifStackStatus?  Both are non-proprietary, but the LAG-MIB is supported on Cisco IOS, IOS-XE, and NX-OS whereas IF-MIB's ifStackStatus is not supported on NX-OS.&lt;/p&gt;
&lt;p&gt;Use ifName to find interfaces like "&lt;span&gt;[Pp]&lt;/span&gt;ort-channel" and note index from each&lt;br/&gt;
    IF-MIB::ifName.369098761 = STRING: port-channel10&lt;/p&gt;
&lt;p&gt;Use dot3adaggportattachedaggid to find members&lt;br/&gt;
    IEEE8023-LAG-MIB::dot3adAggPortAttachedAggID.436232192 = INTEGER: 369098761&lt;br/&gt;
    IEEE8023-LAG-MIB::dot3adAggPortAttachedAggID.436232704 = INTEGER: 369098761&lt;/p&gt;
&lt;p&gt;For each of those indexes (436232192|436232704) use ifName/ifOperStatus/ifAdminStatus&lt;br/&gt;
    IF-MIB::ifName.436232192 = STRING: Ethernet1/49&lt;br/&gt;
    IF-MIB::ifName.436232704 = STRING: Ethernet1/50&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;IF-MIB::ifOperStatus.436232192 = INTEGER: up(1)
IF-MIB::ifOperStatus.436232704 = INTEGER: up(1)

IF-MIB::ifAdminStatus.436232192 = INTEGER: up(1)
IF-MIB::ifAdminStatus.436232704 = INTEGER: up(1)
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;For my uses I need to also generate alarms (this is not necessarily something that SwitchMap would use, but it's available):&lt;br/&gt;
   For each member interface:&lt;br/&gt;
         Admin/Oper = up/up --&amp;gt; OK/normal&lt;br/&gt;
         Admin/Oper = up/down --&amp;gt; ALARM CONDITION&lt;br/&gt;
         Admin/Oper = down/up --&amp;gt; invalid state&lt;br/&gt;
         Admin/Oper = down/down --&amp;gt; OK/unused&lt;/p&gt;
&lt;p&gt;Thoughts?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan</dc:creator><pubDate>Tue, 19 Apr 2016 16:03:51 -0000</pubDate><guid>https://sourceforge.netcbbc3f39c8b5ed841342e7a65437808b52d584a6</guid></item><item><title>Port Channel members on Cisco Nexus</title><link>https://sourceforge.net/p/switchmap/support-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Pete,&lt;br/&gt;
I didn't see anything in the 14.x ChangeLog so will ask here instead:&lt;/p&gt;
&lt;p&gt;Portchannel members are identified on Cisco Catalyst switches and this is done by using ifStackStatus (or so I believe).  On my older 12.5 installation this works fine, but Nexus switches only show the PortChannel interface (but does not show port-channel members).  Has this been fixed in 14.x?  If not do you have any ideas on how to implement it (I get " No Such Instance" for the ifStackStatus MIB on my Nexus switches)?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan</dc:creator><pubDate>Wed, 13 Apr 2016 18:14:49 -0000</pubDate><guid>https://sourceforge.netd7775fd468816398598f8bf5fd6ea3fa015c2fca</guid></item><item><title>#7 Strange behaviour when retrieving port on Cisco Catalyst 4500 IOS Version 03.04.00.SG </title><link>https://sourceforge.net/p/switchmap/support-requests/7/?limit=25#949e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Here's a fix for this specific problem, which I'm seeing in my Cisco 4510 switches. This is a hack until I get the next version of SwitchMap out the door. This change will cause SwitchMap to stop outputting rows for "Controlled" and "Uncontrolled" ports.&lt;/p&gt;
&lt;p&gt;Find the file named SwitchUtils.pm. Edit it, and in the "IsAncillary" function (defined on line 420), add these two lines before line 442:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="x"&gt;    (&lt;/span&gt;&lt;span class="p"&gt;$&lt;/span&gt;&lt;span class="nv"&gt;PortName&lt;/span&gt;&lt;span class="x"&gt; =~ /--Controlled&lt;/span&gt;&lt;span class="p"&gt;$&lt;/span&gt;&lt;span class="x"&gt;/)   or&lt;/span&gt;
&lt;span class="x"&gt;    (&lt;/span&gt;&lt;span class="p"&gt;$&lt;/span&gt;&lt;span class="nv"&gt;PortName&lt;/span&gt;&lt;span class="x"&gt; =~ /--Uncontrolled&lt;/span&gt;&lt;span class="p"&gt;$&lt;/span&gt;&lt;span class="x"&gt;/) or&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I made this change in the latest version of SwitchMap, so it'll be in the next release.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Fri, 18 Dec 2015 22:22:46 -0000</pubDate><guid>https://sourceforge.net58b8c8b281f228f0ac4b430ddd2a4544b1672e9a</guid></item><item><title>#5 Switchmap.pl file run time error</title><link>https://sourceforge.net/p/switchmap/support-requests/5/?limit=25#9ffa</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Another user reported this problem, which may have a simple work-around (it'll be fixed in version 14.0) For now, if the $DestinationDirectory in your ThisSite.pm file has a file path that starts with a lowercase drive specifier like "c", change it to uppercase.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Siemsen</dc:creator><pubDate>Fri, 01 May 2015 22:56:06 -0000</pubDate><guid>https://sourceforge.net4282126b701faa70353739cb9341e33445544e4a</guid></item></channel></rss>