Difference between revisions of "Manual:Loop Protect"

From MikroTik Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
{{Versions|v6.37rc25 +}}
 +
 +
==Loop Protect==
 +
 +
Loop protect feature can prevent Layer2 loops by sending loop protect protocol packets and shutting down interfaces in case they receive loop protect packets originated from themself. The feature works by checking source MAC address of received loop protect packet against MAC addresses of loop protect enabled interfaces. If the match is found, loop protect disables the interface which received the loop protect packet. Log message warns about this event and interface is marked with a loop protect comment by system.
 +
 +
Loop protect works on ethernet, vlan, eoip and eoipv6 interfaces. It supports adjusting loop protect packet sending interval and interface disable time. Configuration changes or expiration of disable time resets loop protection on interface.
 +
 +
<p id="shbox"><b>Sub-menu:</b> <code>/interface ethernet</code> <code>/interface vlan</code> <code>/interface eoip</code> <code>/interface eoipv6</code></p><br />
 +
 +
===Properties===
 +
 +
<table class="styled_table">
 +
<tr>
 +
  <th width="40%">Property</th>
 +
  <th >Description</th>
 +
</tr>
 +
<tr>
 +
    <td><var><b>loop-protect</b></var> (<em>on | off | default</em>; Default: <b>default</b>)</td>
 +
    <td>Enables or disables loop protect.</td>
 +
</tr>
 +
<tr>
 +
    <td><var><b>loop-protect-send-interval</b></var> (<em>time</em>; 0 - forever; Default: <b>5min</b>)</td>
 +
    <td>Sets how often loop protect packets are sent.</td>
 +
</tr>
 +
<tr>
 +
    <td><var><b>loop-protect-disable-time</b></var> (<em>0</em>; Default: <b>none</b>)</td>
 +
    <td>Sets how long interface is disabled when loop is detected.</td>
 +
</tr>
 +
</table>
 +
 +
===Read-only properties===
 +
 +
<table class="styled_table">
 +
<tr>
 +
  <th width="40%">Property</th>
 +
  <th >Description</th>
 +
</tr>
 +
<tr>
 +
    <td><var><b>loop-protect-status</b></var> (<em>on | off | disable</em>)</td>
 +
    <td>
 +
* <var>on</var> - feature is turned on, interface is sending and listening for loop protect packets
 +
* <var>off</var> - loop-protect feature is disabled
 +
* <var>disable</var> - feature is turned on, interface has received loop protect packet and disabled itself to prevent loop
 +
</td>
 +
</tr>
 +
</table>
 +
 +
<p></p>
 +
  
 
{{cont}}
 
{{cont}}

Revision as of 15:15, 31 August 2016

Version.png

Applies to RouterOS: v6.37rc25 +

Loop Protect

Loop protect feature can prevent Layer2 loops by sending loop protect protocol packets and shutting down interfaces in case they receive loop protect packets originated from themself. The feature works by checking source MAC address of received loop protect packet against MAC addresses of loop protect enabled interfaces. If the match is found, loop protect disables the interface which received the loop protect packet. Log message warns about this event and interface is marked with a loop protect comment by system.

Loop protect works on ethernet, vlan, eoip and eoipv6 interfaces. It supports adjusting loop protect packet sending interval and interface disable time. Configuration changes or expiration of disable time resets loop protection on interface.

Sub-menu: /interface ethernet /interface vlan /interface eoip /interface eoipv6


Properties

Property Description
loop-protect (on | off | default; Default: default) Enables or disables loop protect.
loop-protect-send-interval (time; 0 - forever; Default: 5min) Sets how often loop protect packets are sent.
loop-protect-disable-time (0; Default: none) Sets how long interface is disabled when loop is detected.

Read-only properties

Property Description
loop-protect-status (on | off | disable)
  • on - feature is turned on, interface is sending and listening for loop protect packets
  • off - loop-protect feature is disabled
  • disable - feature is turned on, interface has received loop protect packet and disabled itself to prevent loop


[ Top | Back to Content ]