cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

ELRP + UPM = Number of UPM Events in Queue for execution

ELRP + UPM = Number of UPM Events in Queue for execution

AlexanderT
New Contributor
Hello!

I want to execute UPM after every LOOP detect without Queue.

Now, I see couple of loops , but UPM executes with Queue.

  • 07/22/2015 16:58:08.98 [CLI:v3000:4] LOOP DETECTED : 3241 transmited, 177 received, ingress slot:port (3) egress slot:port (1)07/22/2015 16:58:07.98 [CLI:v3002:6] LOOP DETECTED : 170 transmited, 97 received, ingress slot:port (3) egress slot:port (1)
  • 07/22/2015 16:58:05.98 [CLI:v3000:4] LOOP DETECTED : 3238 transmited, 171 received, ingress slot:port (1) egress slot:port (3)
  • 07/22/2015 16:58:04.98 [CLI:v3002:6] LOOP DETECTED : 167 transmited, 91 received, ingress slot:port (3) egress slot:port (1)
  • 07/22/2015 16:58:02.98 [CLI:v3000:4] LOOP DETECTED : 3235 transmited, 165 received, ingress slot:port (3) egress slot:port (1)
  • 07/22/2015 16:58:01.98 [CLI:v3002:6] LOOP DETECTED : 164 transmited, 85 received, ingress slot:port (3) egress slot:port (1)
  • 07/22/2015 16:57:59.98 [CLI:v3000:4] LOOP DETECTED : 3232 transmited, 159 received, ingress slot:port (1) egress slot:port (3)
* exos_vm_sw1.91 # show upm history--------------------------------------------------------------------------------
Exec Event/ Profile Port Status Time Launched
Id Timer/ Log filter
--------------------------------------------------------------------------------
100 Log-Message(loopdete loopdetect --- Running 2015-07-22 17:22:57
99 Log-Message(loopdete loopdetect --- Pass 2015-07-22 17:21:56
98 Log-Message(loopdete loopdetect --- Pass 2015-07-22 17:20:56
97 Log-Message(loopdete loopdetect --- Pass 2015-07-22 17:19:56
96 Log-Message(loopdete loopdetect --- Pass 2015-07-22 17:18:56
95 Log-Message(loopdete loopdetect --- Pass 2015-07-22 17:17:56
--------------------------------------------------------------------------------
Number of UPM Events in Queue for execution: 10
* exos_vm_sw1.92 #

* exos_vm_sw1.92 # show upm profile "loopdetect" Created at : 2015-07-22 10:43:41
Last edited at : 2015-07-22 16:30:09

************Profile Contents Begin************
configure vlan $EVENT.LOG_PARAM_1 delete ports $EVENT.LOG_PARAM_7
set var temp $TCL(after [expr 60*1000])
configure vlan $EVENT.LOG_PARAM_1 add ports $EVENT.LOG_PARAM_7 tagged

************Profile Contents Ends*************

Profile State: Enabled
Profile Maximimum Execution Time: 75
Events and ports configured on the profile:
===========================================================
Event Port list/Log filter
===========================================================
device-detect :
device-undetect :
user-authenticated :
user-unauthenticated :
log-message : loopdetect
identity-detect :
identity-undetect :
identity-role-associate :
identity-role-dissociate :
===========================================================
13 REPLIES 13

OscarK
Extreme Employee
Hello Pavel, you dont solve the loop, you temporary remove the vlan and add it back after which the loop starts again.I suggest you disable with UPM the port reported by ELRP so the loop will not return.

Why do you think 'the loop don't solved' after 1 minute, for the time that vlan was removed from port ? It can be very temporarily loop created by some rebooting device for example.

If only one packet received by ELRP why need I shut the port and wait for admin to recover? (Again, it is not edge port, it is some peering, interconnect, and so on. Here are couples or tens vlans, and if one of its loop, the others must work )

It's way better the box to recover automatically by itself , and if loop detected again than block/remove vlan again.

Here is how it works on D-Link switches , flawlessly I think :

18337 2014-03-09 07:51:28 CRIT(2) Port 23 VID 1075 LBD loop occurred. Packet dis card begun
18336 2014-03-09 07:51:28 CRIT(2) Port 23 VID 200 LBD loop occurred. Packet disc
ard begun
18335 2014-03-09 07:51:27 INFO(6) Port 23 VID 1075 LBD recovered. Loop detection
restarted
18334 2014-03-09 07:51:27 INFO(6) Port 23 VID 200 LBD recovered. Loop detection
restarted
18333 2014-03-09 07:50:28 CRIT(2) Port 23 VID 1075 LBD loop occurred. Packet dis
card begun
18332 2014-03-09 07:50:28 CRIT(2) Port 23 VID 200 LBD loop occurred. Packet disc
ard begun
18331 2014-03-09 07:50:26 INFO(6) Port 23 VID 1075 LBD recovered. Loop detection
restarted
18330 2014-03-09 07:50:26 INFO(6) Port 23 VID 200 LBD recovered. Loop detection
restarted
18329 2014-03-09 07:49:27 CRIT(2) Port 23 VID 1075 LBD loop occurred. Packet dis

AlexanderT
New Contributor
ŠžŠŗ, then UPM is not what I need.

But what tools I need to run commands in parallel or so ?

Here is what I want to do every time when LOOP detected :

configure vlan $EVENT.LOG_PARAM_1 delete ports $EVENT.LOG_PARAM_7
set var temp $TCL(after [expr 60*1000])
configure vlan $EVENT.LOG_PARAM_1 add ports $EVENT.LOG_PARAM_7 tagged

OscarK
Extreme Employee
Hello Pavel, what do you mean you want to execute UPM without queueu ? A UPM profile is always run by adding it to the current UPM scheduler and run as soon as possible.
GTM-P2G8KFN