EEM does'nt disconnect from vty line session and the line

From: Josepha HODE <josephahode_at_gmail.com>
Date: Tue, 25 Jun 2013 16:59:27 +0100

Dear all,

Dear,

i use eem to shutdown or no shutdown a bgp session with one supplier and i
remark that the vty session which eem doing remain idle all time and
saturates vty line that fact, at a given moment, eem no longer works.

event manager applet SET-UP-S1-BGP

event snmp oid 1.3.6.1.4.1.9.9.42.1.2.9.1.6.2 get-type exact entry-op eq
entry-val 2 exit-op eq exit-val 1 poll-interval 5

action 1.1 cli command "enable"

action 1.2 cli command "conf t"

action 1.3 cli command "router bgp xxxxx"

action 1.4 cli command "no neighbor supplier1 shutdown"

action 1.5 cli command "end"

action 1.6 cli command "exit"

event manager applet SET-DOWN-S1-BGP

event snmp oid 1.3.6.1.4.1.9.9.42.1.2.9.1.6.2 get-type exact entry-op eq
entry-val 1 exit-op eq exit-val 2 poll-interval 5

action 1.1 cli command "enable"

action 1.2 cli command "conf t"

action 1.3 cli command "router bgp xxxxxx"

action 1.4 cli command "neighbor supplier1 shutdown"

action 1.5 cli command "end"

action 1.6 cli command "exit"

The show users for ewample show:

RT-SUPPLIER1#sh users

    Line User Host(s) Idle Location

322 vty 0 idle 1d05h EEM:SET-UP-S1-BGP

323 vty 1 idle 1d05h EEM:SET-UP-S1-BGP

324 vty 2 idle 1d05h EEM:SET-UP-S1-BGP

325 vty 3 idle 1d03h EEM:SET-UP-S1-BGP

326 vty 4 idle 1d02h EEM:SET-DOWN-S1-BGP

327 vty 5 idle 1d02h EEM:SET-UP-S1-BGP

328 vty 6 idle 1d01h EEM:SET-DOWN-S1-BGP

329 vty 7 idle 1d01h EEM:SET-UP-S1-BGP

How can i configure the eem or force it to disconnect after running. Or use
another thing which will close automatically all idle line session.

Thanks.

Blogs and organic groups at http://www.ccie.net
Received on Tue Jun 25 2013 - 16:59:27 ART

This archive was generated by hypermail 2.2.0 : Mon Jul 01 2013 - 06:58:42 ART