<?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 Working example of Link-Flap in EXOS in ExtremeSwitching (EXOS/Switch Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/working-example-of-link-flap-in-exos/m-p/56135#M16347</link>
    <description>Just wondering if anyone has any working examples of EXOS link-flap. I'm trying to make sense of the documentation while at the same time introduce some realistic values. Here is what the documentation says:&lt;BR /&gt;
---------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
The maximum value configurable for threshold depends on the link-flap interval value and the link scan interval. For example, if the link scan interval is 50 ms (0.0.5 seconds) (default link-scan interval on most platforms), maximum link down/up events detectable by the hardware is 20 per second. Thus the maximum number of link-flaps detectable per second is 10. If the link-flap interval is 20 seconds, the maximum configurable threshold value is 20 * 10 = 200.&lt;BR /&gt;
&lt;BR /&gt;
Thus, the maximum configurable value for threshold = link-flap interval (seconds) * maximum link-flaps detectable/second&lt;BR /&gt;
&lt;BR /&gt;
To turn on or off port link-flap detection, use the following command:  &lt;BR /&gt;
&lt;BR /&gt;
configure ports [port_list | all] link-flap-detection [on | off]  &lt;BR /&gt;
&lt;BR /&gt;
To set interval, threshold (maximum number of link down events), and disable time values for link-flap  detection, use the following command:  &lt;BR /&gt;
&lt;BR /&gt;
configure ports [port_list | all] link-flap-detection [{interval [interval  | indefinitely]} {threshold threshold} {disable-time [disable_time |  until-cleared]}]&lt;BR /&gt;
&lt;BR /&gt;
To add or delete actions (disabling ports, logging events, generating SNMP traps) to be taken when  excessive link-flapping is detected, use the following command:  &lt;BR /&gt;
&lt;BR /&gt;
configure ports [port_list | all] link-flap-detection action [add | delete]  [{{disable-port} {log} {trap}} | all-actions]  &lt;BR /&gt;
&lt;BR /&gt;
---------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
Based on those figures I guess the confiugration will look something like:&lt;BR /&gt;
&lt;BR /&gt;
configure ports 1:1 link-flap-detection on&lt;BR /&gt;
configure ports 1:1 link-flap-detection interval 10 threshold 200 disable-time 15&lt;BR /&gt;
configure ports 1:1 link-flap-detection action log trap&lt;BR /&gt;
&lt;BR /&gt;
Although the 'disable-time' seems to suggest the amount of time, possibly in seconds, to disable the port if the threshold is reached, or you could use the until-cleared option. Yet there is a separate configure statement that you can set the action to disable-port, log, or trap.&lt;BR /&gt;
&lt;BR /&gt;
So if I just wanted link-flap to send a log and trap, but not disable the port, what would you configure?&lt;BR /&gt;
&lt;BR /&gt;
Perhaps the disable-time is just a period of time before any breached threshold is reset?&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Wed, 28 Jun 2017 19:56:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-28T19:56:00Z</dc:date>
    <item>
      <title>Working example of Link-Flap in EXOS</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/working-example-of-link-flap-in-exos/m-p/56135#M16347</link>
      <description>Just wondering if anyone has any working examples of EXOS link-flap. I'm trying to make sense of the documentation while at the same time introduce some realistic values. Here is what the documentation says:&lt;BR /&gt;
---------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
The maximum value configurable for threshold depends on the link-flap interval value and the link scan interval. For example, if the link scan interval is 50 ms (0.0.5 seconds) (default link-scan interval on most platforms), maximum link down/up events detectable by the hardware is 20 per second. Thus the maximum number of link-flaps detectable per second is 10. If the link-flap interval is 20 seconds, the maximum configurable threshold value is 20 * 10 = 200.&lt;BR /&gt;
&lt;BR /&gt;
Thus, the maximum configurable value for threshold = link-flap interval (seconds) * maximum link-flaps detectable/second&lt;BR /&gt;
&lt;BR /&gt;
To turn on or off port link-flap detection, use the following command:  &lt;BR /&gt;
&lt;BR /&gt;
configure ports [port_list | all] link-flap-detection [on | off]  &lt;BR /&gt;
&lt;BR /&gt;
To set interval, threshold (maximum number of link down events), and disable time values for link-flap  detection, use the following command:  &lt;BR /&gt;
&lt;BR /&gt;
configure ports [port_list | all] link-flap-detection [{interval [interval  | indefinitely]} {threshold threshold} {disable-time [disable_time |  until-cleared]}]&lt;BR /&gt;
&lt;BR /&gt;
To add or delete actions (disabling ports, logging events, generating SNMP traps) to be taken when  excessive link-flapping is detected, use the following command:  &lt;BR /&gt;
&lt;BR /&gt;
configure ports [port_list | all] link-flap-detection action [add | delete]  [{{disable-port} {log} {trap}} | all-actions]  &lt;BR /&gt;
&lt;BR /&gt;
---------------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;
&lt;BR /&gt;
Based on those figures I guess the confiugration will look something like:&lt;BR /&gt;
&lt;BR /&gt;
configure ports 1:1 link-flap-detection on&lt;BR /&gt;
configure ports 1:1 link-flap-detection interval 10 threshold 200 disable-time 15&lt;BR /&gt;
configure ports 1:1 link-flap-detection action log trap&lt;BR /&gt;
&lt;BR /&gt;
Although the 'disable-time' seems to suggest the amount of time, possibly in seconds, to disable the port if the threshold is reached, or you could use the until-cleared option. Yet there is a separate configure statement that you can set the action to disable-port, log, or trap.&lt;BR /&gt;
&lt;BR /&gt;
So if I just wanted link-flap to send a log and trap, but not disable the port, what would you configure?&lt;BR /&gt;
&lt;BR /&gt;
Perhaps the disable-time is just a period of time before any breached threshold is reset?&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 28 Jun 2017 19:56:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-exos-switch/working-example-of-link-flap-in-exos/m-p/56135#M16347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-28T19:56:00Z</dc:date>
    </item>
  </channel>
</rss>

