Re: EEM show run filter help..

From: Daniel Kratz <dkratz_at_gmail.com>
Date: Wed, 7 Mar 2012 09:14:28 -0300

Hi Arslan,

The event tag is part of version 2.4 of Embedded Event Manager framework
[1]. The event tag command is used to program multi-event detection and
event correlation implementation. EEM v2.4 was introduced on release
12.4(20)T.

You are running 12.4(15)T13 Advance Enterprise Services with SNA. If you
search in feature navigator you will be aware that these images only
support versions 2.1 and 2.2 of EEM framework.

Unfortunately youll not be able to run this on 3725, at least in 12.4(T)
trail. If you have access to IOS image you can try run this on 7200.
This is the boring side of EEM in the real life you can understand what
features are supported by your running software. EMM have many releases:
1.0, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, 3.1, 3.2 and 4.0. For now, in the lab
youll have support up to EEM 3.0.

[]4s
Kratz

2012/3/6 Arslan Ahmed <arslanahmed4_at_gmail.com>

> Hi everyone,
>
> Can some body help me with EEM configuration. I want to filter show run
> with EEM applet.
>
> I found the method from somewhere but some commands are not in the router.
> i am using GNS3,
>
> Router IOS : Cisco IOS Software, 3700 Software
> (C3745-ADVENTERPRISEK9_SNA-M), Version 12.4(15)T13, RELEASE SOFTWARE (fc3)
>
> Method :
> -------------------------------------------------------------------------
> event manager applet SHOW_RUN_FILTER
> event tag 1.0 cli pattern "show run" sync yes
> action 1.0 cli command "enable"
> action 2.0 cli command "show run | exclude username"
> action 3.0 puts $_cli_result
> action 4.0 set $_exit_status 0
> -------------------------------------------------------------------------
>
> but there isn't any command event tag in event manager applet mode, when i
> type event ? i get the below output and also there isn't any command
> "action puts" and "action set" in router. do i need to install something in
> router ?
>
> OUTPUT
> ------------------------------
>
> R3(config-applet)#event ?
> application Application specific event
> cli CLI event
> counter Counter event
> interface Interface event
> ioswdsysmon IOS WDSysMon event
> none Manually run policy event
> oir OIR event
> resource Resource event
> snmp SNMP event
> syslog Syslog event
> timer Timer event
> track Tracking object event
>
> ------------------------------
>
>
> Thanks.
>
> ---------------------
> Best Regards
> Arslan Ahmed
>
> Certified
> ------------------
> CCNA, CCNP, CCIE R&S Written.
> JNCIA-Junos, JNCIA-ER, JNCIA-EX, JNCIS-ER, JNCIS-SEC.
>
> Email : arslanahmed4_at_gmail.com
>
> ---------------------------------------
> **
> Disclaimer
> This email is confidential, may be legally privileged, and is for the
> intended recipient only. Access, disclosure, copying, distribution, or
> reliance on any of it by anyone else is prohibited and may be a criminal
> offense. Please delete if obtained in error and email confirmation to the
> sender.
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

--
"Any fool can know. The point is to understand."
                                                Albert Einstein
Blogs and organic groups at http://www.ccie.net
Received on Wed Mar 07 2012 - 09:14:28 ART

This archive was generated by hypermail 2.2.0 : Sun Apr 01 2012 - 07:56:52 ART