<?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 How to Enable Loose Loop Detection on ICX in RUCKUS Self-Help</title>
    <link>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/How-to-Enable-Loose-Loop-Detection-on-ICX/m-p/50137#M70</link>
    <description>&lt;P&gt;&lt;FONT face="inherit"&gt;On this article we will explore how to &lt;/FONT&gt;configure&lt;FONT face="inherit"&gt;&amp;nbsp;Loop Detection on an ICX. Specifically, Loose Mode.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;By default, Loop Detection is disabled on an ICX device.&lt;/P&gt;&lt;P&gt;For the purposes of this guide, I will be using an ICX 7150-24P running version SPS08095h, but all the commands shown here should be available on other models/version as well&lt;/P&gt;&lt;P&gt;There are two types of Loop Detection: Strict Mode and Loose Mode. Strict mode is configured on an interface level, and it will be triggered if a packet is looped back to the same port.&lt;/P&gt;&lt;P&gt;Loose mode is configured on the VLAN of the receiving port, and it will be triggered if packets originate from any port or Vlan on the same device.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Configure Loose Loop Detection&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;To enable Loose Loop Detection, we need to follow the next steps:&lt;/P&gt;&lt;P&gt;1-Access the VLAN(s) where Loop detection needs to be configured&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#conf t
ICX7150-24P Switch(config)#vlan 10
ICX7150-24P Switch(config-vlan-10)#&lt;/LI-CODE&gt;&lt;P&gt;2-Then enable loop-detection on this specific Vlan&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config-vlan-10)#loop-detection&lt;/LI-CODE&gt;&lt;P&gt;We can check if loop detection has been successfully enabled by running the following command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show loop-detection status
loop detection packets interval: 10 (unit 0.1 sec)
index port/vlan  status                         # errdis  sent-pkts recv-pkts
1     vlan10     0 errdis port                  0         121       0&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&amp;nbsp;Verify Loop Detection&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;If a Loop is present, all affected ports will be placed on err-disable status:&lt;/P&gt;&lt;P&gt;ICX7150-24P Switch(config)#Debug: Sep 18 13:42:59 Loop-detection: port &lt;FONT color="#FFCC00"&gt;1/1/3&lt;/FONT&gt; (vlan=10), put into&lt;FONT color="#FFCC00"&gt; errdisable state&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To confirm the same, we have the following options&lt;/P&gt;&lt;P&gt;a) Show loop-detection status&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show loop status
loop detection packets interval: 10 (unit 0.1 sec)
Number of err-disabled ports: 1
You can re-enable err-disable ports one by one by "disable" then "enable"
under interface config, re-enable all by "clear loop-detect", or
configure "errdisable recovery cause loop-detection" for automatic recovery

index port/vlan  status                         # errdis  sent-pkts recv-pkts
1     vlan10     1 errdis port                  2         151       2&lt;/LI-CODE&gt;&lt;P&gt;b)Show log&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#sh log
Syslog logging: enabled ( 0 messages dropped, 0 flushes, 12 overruns)
    Buffer logging: level ACDMEINW, 4000 messages logged
    level code: A=alert C=critical D=debugging M=emergency E=error
                I=informational N=notification W=warning

Static Log Buffer:
Aug 26 01:20:38:I:System: Stack unit 1 POE  PS 1, Internal Power supply  with 370000 mwatts capacity is up

Dynamic Log Buffer (4000 lines):
Sep 18 13:44:31:I:Security: running-config was potentially changed by super from console
Sep 18 13:44:00:I:System: Interface ethernet 1/1/3, state down
Sep 18 13:44:00:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state&lt;/LI-CODE&gt;&lt;P&gt;We can also filter the show log with the following command in case the output is flooded with any other unrelated logs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Show log | i err-disable
ICX7150-24P Switch#show log | i err-disable
Sep 18 13:44:00:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
Sep 18 13:42:59:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
Sep 18 13:41:24:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
Sep 18 13:38:36:I:LOOP DETECTION: VLAN 10, port 1/1/2 detect, putting into err-disable state
Sep 18 13:38:36:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
ICX7150-24P Switch#&lt;/LI-CODE&gt;&lt;P&gt;c)Show interface brief&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show interface brief

Port       Link    State   Dupl Speed Trunk Tag Pvid Pri MAC             Name
1/1/1      Up      Forward Full 1G    None  No  10   0   609c.9fe5.a4a0
1/1/2      Up      Forward Full 1G    None  No  10   0   609c.9fe5.a4a1
1/1/3      ERR-DIS None    None None  None  No  10   0   609c.9fe5.a4a2
1/1/4      Up      Forward Full 1G    None  Yes 1    0   609c.9fe5.a4a3
1/1/5      Down    None    None None  None  No  1    0   609c.9fe5.a4a4&lt;/LI-CODE&gt;&lt;P&gt;Or it can be directly filtered&amp;nbsp; like this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show interface brief | i ERR
1/1/3      ERR-DIS None    None None  None  No  10   0   609c.9fe5.a4a2&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Loop Detection Recovery&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;In order to recover a port that has been err-disabled, we have the following options&lt;/P&gt;&lt;P&gt;a) Manually disable and re-enable the port&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#conf t
ICX7150-24P Switch(config)#interface e 1/1/3
ICX7150-24P Switch(config-if-e1000-1/1/3)#disable
ICX7150-24P Switch(config-if-e1000-1/1/3)#enable
ICX7150-24P Switch(config-if-e1000-1/1/3)#sh int br e 1/1/3

Port       Link    State   Dupl Speed Trunk Tag Pvid Pri MAC             Name
1/1/3      Up      Forward Full 1G    None  No  10   0   609c.9fe5.a4a2&lt;/LI-CODE&gt;&lt;P&gt;b) Enter the command “clear loop-detection”&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#clear loop-detection
All errdisable ports are enabled&lt;/LI-CODE&gt;&lt;P&gt;c)Enable port recovery. This will automatically recover the port based on the parameters configured&lt;/P&gt;&lt;P&gt;Here are the basic commands to perform the same:&lt;/P&gt;&lt;P&gt;1-Set global loop detection interval&lt;/P&gt;&lt;P&gt;When loop detection is enabled, the loop detection time unit is 0.1 second, with a default of 10 (one second). The loop detection interval ranges from 1 (one tenth of a second) through 300 (30 seconds)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#loop-detection-interval 50   &lt;/LI-CODE&gt;&lt;P&gt;In this example, the interval has been set to 5 seconds&lt;/P&gt;&lt;P&gt;2-Configure the device to automatically recover the ports that has been disabled due to loop-detection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#errdisable recovery cause loop-detection&lt;/LI-CODE&gt;&lt;P&gt;3-Specify the recovery time interval&lt;/P&gt;&lt;P&gt;By default, the device will wait for 300 seconds before re-enabling the ports. We can change this interval to a value from 10 through 65535 seconds&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#errdisable recovery interval 60&lt;/LI-CODE&gt;&lt;P&gt;As shown from the following show log output, and with the options currently configured, the affected ports will be automatically recovered after 1 minute&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sep 18 14:06:21:I:System: Interface ethernet 1/1/3, state up
Sep 18 14:06:21:I:System: Interface ethernet 1/1/2, state up
Sep 18 14:06:18:I:ERR_DISABLE: Interface ethernet 1/1/3, err-disable recovery timeout
Sep 18 14:06:18:I:ERR_DISABLE: Interface ethernet 1/1/2, err-disable recovery timeout
Sep 18 14:05:18:I:System: Interface ethernet 1/1/2, state down
Sep 18 14:05:18:I:LOOP DETECTION: VLAN 10, port 1/1/2 detect, putting into err-disable state
Sep 18 14:05:18:I:System: Interface ethernet 1/1/3, state down
Sep 18 14:05:18:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state&lt;/LI-CODE&gt;&lt;P&gt;However, take into consideration that the port will be err-disabled again if the actual loop has not been fixed&lt;/P&gt;&lt;P&gt;Finally, there is also the option to only send an alert when a loop has been detected but without putting the affected ports on any ERR-DISABLED status.&lt;/P&gt;&lt;P&gt;This must be configured on an interface level&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config-if-e1000-1/1/3)#loop-detection shutdown-disable

Sep 18 14:13:14:I:LOOP DETECTION: port 1/1/3 detect Loop, Ignoring shut down event in shutdown-disable mode
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And those should be all the most important commands to configure and verify Loop detection on an ICX. I hope this has been useful for all of you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marcel Guzman,&amp;nbsp; Sr Technical Support Engineer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;support.ruckuswireless.com/contact-us&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Dec 2022 17:17:49 GMT</pubDate>
    <dc:creator>MarcelG</dc:creator>
    <dc:date>2022-12-15T17:17:49Z</dc:date>
    <item>
      <title>How to Enable Loose Loop Detection on ICX</title>
      <link>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/How-to-Enable-Loose-Loop-Detection-on-ICX/m-p/50137#M70</link>
      <description>&lt;P&gt;&lt;FONT face="inherit"&gt;On this article we will explore how to &lt;/FONT&gt;configure&lt;FONT face="inherit"&gt;&amp;nbsp;Loop Detection on an ICX. Specifically, Loose Mode.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;By default, Loop Detection is disabled on an ICX device.&lt;/P&gt;&lt;P&gt;For the purposes of this guide, I will be using an ICX 7150-24P running version SPS08095h, but all the commands shown here should be available on other models/version as well&lt;/P&gt;&lt;P&gt;There are two types of Loop Detection: Strict Mode and Loose Mode. Strict mode is configured on an interface level, and it will be triggered if a packet is looped back to the same port.&lt;/P&gt;&lt;P&gt;Loose mode is configured on the VLAN of the receiving port, and it will be triggered if packets originate from any port or Vlan on the same device.&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Configure Loose Loop Detection&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;To enable Loose Loop Detection, we need to follow the next steps:&lt;/P&gt;&lt;P&gt;1-Access the VLAN(s) where Loop detection needs to be configured&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#conf t
ICX7150-24P Switch(config)#vlan 10
ICX7150-24P Switch(config-vlan-10)#&lt;/LI-CODE&gt;&lt;P&gt;2-Then enable loop-detection on this specific Vlan&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config-vlan-10)#loop-detection&lt;/LI-CODE&gt;&lt;P&gt;We can check if loop detection has been successfully enabled by running the following command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show loop-detection status
loop detection packets interval: 10 (unit 0.1 sec)
index port/vlan  status                         # errdis  sent-pkts recv-pkts
1     vlan10     0 errdis port                  0         121       0&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;&amp;nbsp;Verify Loop Detection&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;If a Loop is present, all affected ports will be placed on err-disable status:&lt;/P&gt;&lt;P&gt;ICX7150-24P Switch(config)#Debug: Sep 18 13:42:59 Loop-detection: port &lt;FONT color="#FFCC00"&gt;1/1/3&lt;/FONT&gt; (vlan=10), put into&lt;FONT color="#FFCC00"&gt; errdisable state&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To confirm the same, we have the following options&lt;/P&gt;&lt;P&gt;a) Show loop-detection status&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show loop status
loop detection packets interval: 10 (unit 0.1 sec)
Number of err-disabled ports: 1
You can re-enable err-disable ports one by one by "disable" then "enable"
under interface config, re-enable all by "clear loop-detect", or
configure "errdisable recovery cause loop-detection" for automatic recovery

index port/vlan  status                         # errdis  sent-pkts recv-pkts
1     vlan10     1 errdis port                  2         151       2&lt;/LI-CODE&gt;&lt;P&gt;b)Show log&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#sh log
Syslog logging: enabled ( 0 messages dropped, 0 flushes, 12 overruns)
    Buffer logging: level ACDMEINW, 4000 messages logged
    level code: A=alert C=critical D=debugging M=emergency E=error
                I=informational N=notification W=warning

Static Log Buffer:
Aug 26 01:20:38:I:System: Stack unit 1 POE  PS 1, Internal Power supply  with 370000 mwatts capacity is up

Dynamic Log Buffer (4000 lines):
Sep 18 13:44:31:I:Security: running-config was potentially changed by super from console
Sep 18 13:44:00:I:System: Interface ethernet 1/1/3, state down
Sep 18 13:44:00:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state&lt;/LI-CODE&gt;&lt;P&gt;We can also filter the show log with the following command in case the output is flooded with any other unrelated logs&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Show log | i err-disable
ICX7150-24P Switch#show log | i err-disable
Sep 18 13:44:00:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
Sep 18 13:42:59:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
Sep 18 13:41:24:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
Sep 18 13:38:36:I:LOOP DETECTION: VLAN 10, port 1/1/2 detect, putting into err-disable state
Sep 18 13:38:36:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state
ICX7150-24P Switch#&lt;/LI-CODE&gt;&lt;P&gt;c)Show interface brief&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show interface brief

Port       Link    State   Dupl Speed Trunk Tag Pvid Pri MAC             Name
1/1/1      Up      Forward Full 1G    None  No  10   0   609c.9fe5.a4a0
1/1/2      Up      Forward Full 1G    None  No  10   0   609c.9fe5.a4a1
1/1/3      ERR-DIS None    None None  None  No  10   0   609c.9fe5.a4a2
1/1/4      Up      Forward Full 1G    None  Yes 1    0   609c.9fe5.a4a3
1/1/5      Down    None    None None  None  No  1    0   609c.9fe5.a4a4&lt;/LI-CODE&gt;&lt;P&gt;Or it can be directly filtered&amp;nbsp; like this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#show interface brief | i ERR
1/1/3      ERR-DIS None    None None  None  No  10   0   609c.9fe5.a4a2&lt;/LI-CODE&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Loop Detection Recovery&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;&lt;P&gt;In order to recover a port that has been err-disabled, we have the following options&lt;/P&gt;&lt;P&gt;a) Manually disable and re-enable the port&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch#conf t
ICX7150-24P Switch(config)#interface e 1/1/3
ICX7150-24P Switch(config-if-e1000-1/1/3)#disable
ICX7150-24P Switch(config-if-e1000-1/1/3)#enable
ICX7150-24P Switch(config-if-e1000-1/1/3)#sh int br e 1/1/3

Port       Link    State   Dupl Speed Trunk Tag Pvid Pri MAC             Name
1/1/3      Up      Forward Full 1G    None  No  10   0   609c.9fe5.a4a2&lt;/LI-CODE&gt;&lt;P&gt;b) Enter the command “clear loop-detection”&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#clear loop-detection
All errdisable ports are enabled&lt;/LI-CODE&gt;&lt;P&gt;c)Enable port recovery. This will automatically recover the port based on the parameters configured&lt;/P&gt;&lt;P&gt;Here are the basic commands to perform the same:&lt;/P&gt;&lt;P&gt;1-Set global loop detection interval&lt;/P&gt;&lt;P&gt;When loop detection is enabled, the loop detection time unit is 0.1 second, with a default of 10 (one second). The loop detection interval ranges from 1 (one tenth of a second) through 300 (30 seconds)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#loop-detection-interval 50   &lt;/LI-CODE&gt;&lt;P&gt;In this example, the interval has been set to 5 seconds&lt;/P&gt;&lt;P&gt;2-Configure the device to automatically recover the ports that has been disabled due to loop-detection&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#errdisable recovery cause loop-detection&lt;/LI-CODE&gt;&lt;P&gt;3-Specify the recovery time interval&lt;/P&gt;&lt;P&gt;By default, the device will wait for 300 seconds before re-enabling the ports. We can change this interval to a value from 10 through 65535 seconds&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config)#errdisable recovery interval 60&lt;/LI-CODE&gt;&lt;P&gt;As shown from the following show log output, and with the options currently configured, the affected ports will be automatically recovered after 1 minute&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Sep 18 14:06:21:I:System: Interface ethernet 1/1/3, state up
Sep 18 14:06:21:I:System: Interface ethernet 1/1/2, state up
Sep 18 14:06:18:I:ERR_DISABLE: Interface ethernet 1/1/3, err-disable recovery timeout
Sep 18 14:06:18:I:ERR_DISABLE: Interface ethernet 1/1/2, err-disable recovery timeout
Sep 18 14:05:18:I:System: Interface ethernet 1/1/2, state down
Sep 18 14:05:18:I:LOOP DETECTION: VLAN 10, port 1/1/2 detect, putting into err-disable state
Sep 18 14:05:18:I:System: Interface ethernet 1/1/3, state down
Sep 18 14:05:18:I:LOOP DETECTION: VLAN 10, port 1/1/3 detect, putting into err-disable state&lt;/LI-CODE&gt;&lt;P&gt;However, take into consideration that the port will be err-disabled again if the actual loop has not been fixed&lt;/P&gt;&lt;P&gt;Finally, there is also the option to only send an alert when a loop has been detected but without putting the affected ports on any ERR-DISABLED status.&lt;/P&gt;&lt;P&gt;This must be configured on an interface level&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ICX7150-24P Switch(config-if-e1000-1/1/3)#loop-detection shutdown-disable

Sep 18 14:13:14:I:LOOP DETECTION: port 1/1/3 detect Loop, Ignoring shut down event in shutdown-disable mode
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And those should be all the most important commands to configure and verify Loop detection on an ICX. I hope this has been useful for all of you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Marcel Guzman,&amp;nbsp; Sr Technical Support Engineer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;support.ruckuswireless.com/contact-us&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Dec 2022 17:17:49 GMT</pubDate>
      <guid>https://community.ruckuswireless.com/t5/RUCKUS-Self-Help/How-to-Enable-Loose-Loop-Detection-on-ICX/m-p/50137#M70</guid>
      <dc:creator>MarcelG</dc:creator>
      <dc:date>2022-12-15T17:17:49Z</dc:date>
    </item>
  </channel>
</rss>

