<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Troubleshooting on vlan51</title><link>https://vlan51.com/tags/troubleshooting/</link><description>Recent content in Troubleshooting on vlan51</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Wed, 01 Jun 2016 00:00:00 +0000</lastBuildDate><atom:link href="https://vlan51.com/tags/troubleshooting/index.xml" rel="self" type="application/rss+xml"/><item><title>Fixing "Device Denied SNMP Access" Traps in HPE IMC</title><link>https://vlan51.com/imc/snmp-denied-access/</link><pubDate>Wed, 01 Jun 2016 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/snmp-denied-access/</guid><description>&lt;p&gt;IMC needs correct SNMP credentials to read the MIBs on each device. When they&amp;rsquo;re wrong, you&amp;rsquo;ll see traps like these:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;Trap Name: Device Denied SNMP Access&#10;Severity: Major&#10;Trap Time: 2016-05-30 19:41:43&#10;Description: Device &amp;#34;My Network Switch&amp;#34; denied access.&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;iMC: 10.0.10.10&#10;Trap of Source: MYSWITCH (10.0.10.254)&#10;Location: Home&#10;Contact: &amp;#34;Network Admins&amp;#34;&#10;Trap Name: Authentication Failure&#10;Severity: Warn&#10;Trap Time: 2016-05-31 07:15:23&#10;Description: Device receives an SNMP message with an erroneous community string&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;These are almost always the device (switch, firewall and so on) refusing IMC&amp;rsquo;s requests. Check the device&amp;rsquo;s own logs and you&amp;rsquo;ll usually find the failures line up with IMC&amp;rsquo;s polling times.&lt;/p&gt;</description></item><item><title>HPE IMC Installation and Upgrade Errors (and Fixes)</title><link>https://vlan51.com/imc/install-and-upgrade-errors/</link><pubDate>Wed, 01 Jun 2016 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/install-and-upgrade-errors/</guid><description>&lt;p&gt;This isn&amp;rsquo;t a step-by-step install guide. It&amp;rsquo;s a collection of problems I&amp;rsquo;ve hit while installing and upgrading IMC, and how I got past them.&lt;/p&gt;&#10;&lt;h2 id="installing-net-35-source-files-could-not-be-found"&gt;Installing: .NET 3.5 &amp;ldquo;source files could not be found&amp;rdquo; &lt;a class="anchor" href="#installing-net-35-source-files-could-not-be-found" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;On Windows Server 2012, IMC&amp;rsquo;s installer needs the .NET Framework 3.5 feature, which can fail to install because the source files can&amp;rsquo;t be found.&lt;/p&gt;&#10;&lt;p&gt;Mount the Windows Server ISO (here as &lt;code&gt;D:&lt;/code&gt;) and run this from an elevated command prompt, changing the drive letter if needed:&lt;/p&gt;</description></item><item><title>Command-Line Packet Capture on Citrix NetScaler with nstrace</title><link>https://vlan51.com/netscaler/packet-capture-nstrace/</link><pubDate>Thu, 01 Oct 2015 00:00:00 +0000</pubDate><guid>https://vlan51.com/netscaler/packet-capture-nstrace/</guid><description>&lt;p&gt;How to capture packets on a Citrix NetScaler from the command line using &lt;code&gt;nstrace&lt;/code&gt;, then open the capture in Wireshark.&lt;/p&gt;&#10;&lt;h2 id="start-a-capture"&gt;Start a capture &lt;a class="anchor" href="#start-a-capture" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;SSH to the NetScaler and, at the &lt;code&gt;&amp;gt;&lt;/code&gt; prompt, run &lt;code&gt;nstrace&lt;/code&gt; with a filter:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;nstrace -filter &amp;#34;DESTIP == 10.0.0.20&amp;#34; -link ENABLED -size 0&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;&lt;code&gt;-size 0&lt;/code&gt; captures the entire packet. By default NetScaler only captures the headers.&lt;/p&gt;&#10;&lt;p&gt;To combine filters, put the whole expression in quotes and separate conditions with &lt;code&gt;||&lt;/code&gt; (or &lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt;):&lt;/p&gt;</description></item><item><title>Tuning Link Up/Down Flap Alarms in HPE IMC</title><link>https://vlan51.com/imc/link-flap-alarms/</link><pubDate>Thu, 01 Jan 2015 00:00:00 +0000</pubDate><guid>https://vlan51.com/imc/link-flap-alarms/</guid><description>&lt;p&gt;IMC raises this alarm when a port flaps:&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;iMC alarm system found event (Link UP) and event (Link DOWN) had 3 intermittent failures from &amp;lt;date/time&amp;gt; to &amp;lt;date/time&amp;gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;h2 id="investigate-before-tuning"&gt;Investigate before tuning &lt;a class="anchor" href="#investigate-before-tuning" aria-label="Link to this section"&gt;#&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Don&amp;rsquo;t dismiss link flaps. Find the device and port in the alarm, log into the switch, and check the log (newest first on ArubaOS-Switch):&lt;/p&gt;&#10;&lt;div class="code"&gt;&#10; &lt;div class="code-bar"&gt;&lt;span&gt;cli&lt;/span&gt;&lt;button class="copy" type="button" aria-label="Copy to clipboard"&gt;Copy&lt;/button&gt;&lt;/div&gt;&lt;pre&gt;&lt;code&gt;show logging -r&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&#10;&lt;p&gt;Look for errors like this one, which point to a real physical problem you need to fix:&lt;/p&gt;</description></item></channel></rss>