EEM show run filter help..

From: Arslan Ahmed <arslanahmed4_at_gmail.com>
Date: Tue, 6 Mar 2012 15:20:35 +0500

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
Received on Tue Mar 06 2012 - 15:20:35 ART

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