<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Alert via e-mail if a loop occurs in IMC</title>
    <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855180#M2902</link>
    <description>&lt;P&gt;Describe the method you are using to create a loop in order to test loop detection.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Apr 2016 00:53:21 GMT</pubDate>
    <dc:creator>Vince-Whirlwind</dc:creator>
    <dc:date>2016-04-29T00:53:21Z</dc:date>
    <item>
      <title>Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6854959#M2901</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I want to configure an alert in IMC version 7.2 that sends an e-mail if a loop occurs. The mail notification with other alarms is working allready. The problem is that the switch won't even send a trap if it detects a loop.&lt;/P&gt;&lt;P&gt;I configured the switch with the following commands:&lt;/P&gt;&lt;P&gt;loop-protect all&lt;BR /&gt;loop-protect trap loop-detected&lt;BR /&gt;snmp-server host xxx.xxx.xxx.xxx community "xxx" trap-level All&lt;BR /&gt;snmp-server community "xxx" Unrestricted&lt;/P&gt;&lt;P&gt;Is their any missing configuration on the switch or the IMC?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2016 14:06:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6854959#M2901</guid>
      <dc:creator>frus92</dc:creator>
      <dc:date>2016-04-28T14:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855180#M2902</link>
      <description>&lt;P&gt;Describe the method you are using to create a loop in order to test loop detection.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 00:53:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855180#M2902</guid>
      <dc:creator>Vince-Whirlwind</dc:creator>
      <dc:date>2016-04-29T00:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855207#M2904</link>
      <description>&lt;P&gt;The config looks OK.&lt;/P&gt;&lt;P&gt;Does the switch detect &amp;amp; log the loop?&lt;/P&gt;&lt;P&gt;If it does, check with tcpdump on the IMC server - does it receive a trap?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 02:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855207#M2904</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2016-04-29T02:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855236#M2908</link>
      <description>&lt;P&gt;Describe the method you are using to create a loop in order to test loop detection.&lt;/P&gt;&lt;P&gt;- I'm connecting two ports of the switch with the same cable.&lt;/P&gt;&lt;P&gt;Does the switch detect &amp;amp; log the loop?&lt;/P&gt;&lt;P&gt;- Yes.&lt;/P&gt;&lt;P&gt;If it does, check with tcpdump on the IMC server - does it receive a trap?&lt;/P&gt;&lt;P&gt;- I did a tcpdump and there was no trap sent to the IMC server.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 06:26:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855236#M2908</guid>
      <dc:creator>frus92</dc:creator>
      <dc:date>2016-04-29T06:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855240#M2909</link>
      <description>&lt;P&gt;OK, so we've narrowed it down - looks like it must be something in the SNMP config on that device.&lt;/P&gt;&lt;P&gt;Do ANY traps get sent from that switch? (e.g. for link up/down, etc). &amp;nbsp;Wondering if there's something else not right - e.g. misconfigured SNMP host IP, or something filtering udp/162 from switch -&amp;gt; IMC server.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 06:42:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855240#M2909</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2016-04-29T06:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855250#M2910</link>
      <description>&lt;P&gt;That's not a loop. That's a spanning-tree loop.&lt;/P&gt;&lt;P&gt;Loop-detect is for detecing a loop that has occurred on an upstream switch, not on the switch itself.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 07:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855250#M2910</guid>
      <dc:creator>Vince-Whirlwind</dc:creator>
      <dc:date>2016-04-29T07:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855253#M2911</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1545934"&gt;@Vince-Whirlwind&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;That's not a loop. That's a spanning-tree loop.&lt;/P&gt;&lt;P&gt;Loop-detect is for detecing a loop that has occurred on an upstream switch, not on the switch itself.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;No.&lt;/P&gt;&lt;P&gt;There is no such thing as a spanning-tree loop. Spanning tree is a protocol that exists to *prevent* layer-2 loops. It does not cause loops in itself.&lt;/P&gt;&lt;P&gt;Spanning-tree protocol is one method of detecting and preventing&amp;nbsp;L2 frames from looping around a segment. But it is not the only method for doing so. HP Procurve switches include loop-detect for detecting and preventing such loops. This is *not* the same as Cisco's loopback detection, that detects traffic looped back into the same port.&lt;/P&gt;&lt;P&gt;Taking one cable, and plugging both ends into the same switch is a perfectly valid way of creating a loop. This will be detected by a Procurve switch. It works, and it generates a trap. I tested it myself&amp;nbsp;&lt;A href="https://lkhill.com/loop-detection-without-stp/" target="_blank"&gt;https://lkhill.com/loop-detection-without-stp/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Besides, what exactly do you mean by "a loop that has occurred on an upstream switch" ? Are you referring to a frame leaving a switch, then coming back in the same port? Or being received by another port on the same switch?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Apr 2016 07:23:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855253#M2911</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2016-04-29T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855617#M2913</link>
      <description>&lt;P&gt;I think you've misunderstood the purpose of Loop-protect.&lt;/P&gt;&lt;P&gt;It's not there to detect loops created on the local switch, but to detect loops that have occurred elsewhere.&lt;/P&gt;&lt;P&gt;"You can use BPDU protection for systems that have spanning tree enabled&lt;BR /&gt;(See "Configuring BPDU Protection" on page 5-27), however, the BPDU&lt;BR /&gt;protection feature cannot detect the formation of loops when an unmanaged&lt;BR /&gt;device on the network drops spanning tree packets. To protect against the&lt;BR /&gt;formation of loops in these cases, you can enable the Loop Protection feature"&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically, you use spanning tree to ensure your users and staff don't mistakenly create a loop on the switch that you are managing.&lt;/DIV&gt;&lt;DIV&gt;You use loop-protect on edge ports so you can detect loops that have occurred elsewhere on the network, and set it to disable the port if the loop is detected.&lt;/DIV&gt;&lt;DIV&gt;It's all described pretty clearly in the manual for whichever switch it is you are working with.&lt;/DIV&gt;&lt;DIV&gt;I use Loop-protect as part of my standard build for any switch deployment.&lt;/DIV&gt;&lt;DIV&gt;It's definitely up there with DHCP snooping and bpdu-protection as vital things to include in your configs.&lt;/DIV&gt;</description>
      <pubDate>Sun, 01 May 2016 23:58:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855617#M2913</guid>
      <dc:creator>Vince-Whirlwind</dc:creator>
      <dc:date>2016-05-01T23:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855977#M2917</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1545934"&gt;@Vince-Whirlwind&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;I think you've misunderstood the purpose of Loop-protect.&lt;/P&gt;&lt;P&gt;It's not there to detect loops created on the local switch, but to detect loops that have occurred elsewhere.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I don't follow this - I must be missing something. How do you define a loop created on the local switch? A single cable that is connected to two ports on the same switch? And how do you define a loop that has occurred elsewhere?&amp;nbsp;&lt;/P&gt;&lt;P&gt;What would that&amp;nbsp;second case look like from the perspective of a single switch? If a frame exits one port, and comes back in another port on the same switch, then there is a bridging&amp;nbsp;loop, right? It makes no difference to the switch if that went through a single cable, or through 10 dumb hubs, or another switch that had STP disabled. Or are you thinking of something a bit different?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;"You can use BPDU protection for systems that have spanning tree enabled&lt;BR /&gt;(See "Configuring BPDU Protection" on page 5-27), however, the BPDU&lt;BR /&gt;protection feature cannot detect the formation of loops when an unmanaged&lt;BR /&gt;device on the network drops spanning tree packets. To protect against the&lt;BR /&gt;formation of loops in these cases, you can enable the Loop Protection feature"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;BPDU protection (aka BPDU guard in Cisco-speak) is only one part of network protection.&amp;nbsp;The switch could process those BPDUs, and STP could run through its normal processes, and determine if there is the potential for a loop, and if so, may decide to put the port in blocking mode. It doesn't have to block the port just because BPDUs are received. I see BPDU protection as more about detecting unexpected BPDUs because of wilful (e.g. fake BPDUs) or accidental misconfiguration, rather than loop prevention. &amp;nbsp;From the docs:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;BPDU protection is a security feature designed to protect the active STP topology by preventing spoofed BPDU packets from entering the STP domain.&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 03 May 2016 01:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6855977#M2917</guid>
      <dc:creator>LindsayHill</dc:creator>
      <dc:date>2016-05-03T01:37:33Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6856003#M2919</link>
      <description>&lt;P&gt;I think the Procurve manual explains this very clearly.&lt;/P&gt;&lt;P&gt;Let me present a real-world example of the situation&amp;nbsp;Loop-protect is designed for:&lt;/P&gt;&lt;P&gt;A user brings in their 8-port unmanaged switch from home. They patch it into the work network. At some point they absent-mindedly patch one of its ports to another. It's a kind of switch that does not forward BPDU frames.&lt;/P&gt;&lt;P&gt;Loop-protect protects your Edge switch from the broadcast storm which this user has just created&amp;nbsp;by detecting the remote loop and shutting down the connecting Access port.&lt;/P&gt;&lt;P&gt;This scenario is at least as common as the problem of rogue BPDUs or DHCP services and I always use it.&lt;/P&gt;&lt;P&gt;Loop-protect is *not* designed to detect a local loop - that's what STP is for.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 04:51:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6856003#M2919</guid>
      <dc:creator>Vince-Whirlwind</dc:creator>
      <dc:date>2016-05-03T04:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Alert via e-mail if a loop occurs</title>
      <link>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6856136#M2923</link>
      <description>&lt;P&gt;Do ANY traps get sent from that switch? (e.g. for link up/down, etc).&lt;/P&gt;&lt;P&gt;- After testing if traps are sent from the switch to the IMC it seems like the IMC only gets results by polling the devices. The traps are looking like this: "Interface "17" State DOWN found during IMC device poll". There is nothing between the switches and the IMC server that could filter udp/162 and the IP of the snmp host is correct.So I guess there is something configured in a wrong way or missing on the IMC server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2016 11:32:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/imc/alert-via-e-mail-if-a-loop-occurs/m-p/6856136#M2923</guid>
      <dc:creator>frus92</dc:creator>
      <dc:date>2016-05-03T11:32:02Z</dc:date>
    </item>
  </channel>
</rss>

