Re: eem configuration example

From: Narbik Kocharians <narbikk_at_gmail.com>
Date: Thu, 22 Apr 2010 11:37:49 -0700

hahahahaha

This is part of my NEW work book that will be out in 10 days, the work book
is called boot camp 2.0 (Configure, verify and TEST) and i copied and pasted
a sample lab from that work book.

I hope it was helpful.

On Thu, Apr 22, 2010 at 11:25 AM, imran ali <immrccie_at_gmail.com> wrote:

> wow narbik what's ur typing speed :) ??
>
> kambiz second link seems to be broken ..
>
> thanks
>
> On Thu, Apr 22, 2010 at 11:49 PM, Narbik Kocharians <narbikk_at_gmail.com>wrote:
>
>> Ali,
>>
>> The examples that Keith and the URL that Kambiz provided are excellent,
>> but
>> here is an example that can start you with EEM configuration in a very
>> basic
>> maner:
>>
>>
>> Configure two applets named R2EEM and R4EEM; the R2EEM should be
>> configured
>> such that it assigns an IP address of 10.1.24.2 /24 to the F0/0 interface
>> of
>> R2, and the R4EEM should be configured such that it assigns an IP address
>> of
>> 10.1.24.4 /24 to the F0/0 interface of R4. These two applets should also
>> enable the F0/0 interface of R2 and R4.
>>
>>
>>
>>
>>
>> *On R2*
>>
>>
>>
>> R2(config)#*event manager applet R2EEM*
>>
>> R2(config-applet)#*event none sync yes*
>>
>> R2(config-applet)#*action 1.0 cli command "enable"*
>>
>> R2(config-applet)#*action 1.1 cli command "config terminal"*
>>
>> R2(config-applet)#*action 1.2 cli command "interface F0/0"*
>>
>> R2(config-applet)#*action 1.3 cli command "ip address 10.1.24.2
>> 255.255.255.0"*
>>
>> R2(config-applet)#*action 1.4 cli command "no shut"*
>>
>> R2(config-applet)#*action 1.5 cli command "end"*
>>
>>
>>
>> *EEM applets are divided into three sections: *
>>
>> * *
>>
>> - *The name: in this case the event manager applet R2EEM command is
>> used to name the applet R2EEM .*
>> - *The trigger (or event): the trigger is defined with the event none
>> sync yes command. This is an event which is used to instruct the applet
>> to
>> execute. The event none states that there is to be a manual trigger
>> which
>> means that the applet should be executed from the CLI using the event
>> manager run command. The sync yes command instructs the router to run
>> the
>> commands in this applet synchronously with the router CLI, rather than
>> execute them in a batch which helps prevent command overruns.*
>>
>> * *
>>
>> - *The action: When the applet executes the commands it uses the action
>> statements, these must be numbered in ascending order, in this example
>> the
>> action statements are to place the router in privilege mode, then, in
>> global
>> config mode, then, interface configuration mode, then, it assigns an IP
>> address, then, enables (NO SHUT) the interface and finally exits back to
>> the
>> privilege mode. *
>>
>>
>>
>> *On R4*
>>
>>
>>
>> R4(config)#*event manager applet R4EEM*
>>
>> R4(config-applet)#*event none sync yes*
>>
>> R4(config-applet)#*action 1.0 cli command "enable"*
>>
>> R4(config-applet)#*action 1.1 cli command "config terminal"*
>>
>> R4(config-applet)#*action 1.2 cli command "interface F0/0"*
>>
>> R4(config-applet)#*action 1.3 cli command "ip address 10.1.24.4
>> 255.255.255.0"*
>>
>> R4(config-applet)#*action 1.4 cli command "no shut"*
>>
>> R4(config-applet)#*action 1.5 cli command "end"*
>>
>>
>>
>> *To test and verify the configuration:*
>>
>> * *
>>
>> *On R2*
>>
>>
>>
>> R2#*event manager run R2EEM*
>>
>>
>>
>> *You should see the following console message:*
>>
>> * *
>>
>> *%SYS-5-CONFIG_I: Configured from console by on vty0 (EEM:R2EEM)*
>>
>> * *
>>
>> *R2#Show ip int brief F0/0*
>>
>> * *
>>
>> Interface IP-Address OK? Method Status
>> Protocol
>>
>> *FastEthernet0/0 10.1.24.2 YES manual up up***
>>
>>
>>
>> *To test and verify the configuration:*
>>
>> * *
>>
>> *On R4*
>>
>>
>>
>>
>>
>> R4#*event manager run R4EEM*
>>
>>
>>
>> *R4#Show ip int brie F0/0*
>>
>> * *
>>
>> Interface IP-Address OK? Method Status
>> Protocol
>>
>> *FastEthernet0/0 10.1.24.4 YES manual up up** *
>>
>>
>>
>>
>>
>> I hope this helped.
>> On Thu, Apr 22, 2010 at 11:04 AM, Kambiz Agahian
>> <kagahian_at_ccbootcamp.com>wrote:
>>
>> > Here is the actual gateway to find all EEM related stuff:
>> >
>> >
>> >
>>
>> http://www.cisco.com/en/US/products/ps6815/products_ios_protocol_group_home.h
>> > tml
>> >
>> > And this one is a simple guide to configure ISR boxes with some nice
>> > examples:
>> >
>> >
>> >
>>
>> http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6555/ps6815/conf
>> >
>> >
>>
>> ig_guide_eem_configuration_for_cisco_integrated_services_router_platforms.htm
>> > l
>> >
>> >
>> > HTH
>> >
>> > --------------------------
>> > Kambiz Agahian
>> > CCIE (R&S)
>> > CCSI, WAASSE, RSSSE
>> > Technical Instructor
>> > CCBOOTCAMP - Cisco Learning Solutions Partner (CLSP)
>> > Email: kagahian_at_ccbootcamp.com
>> > Toll Free: 877-654-2243
>> > International: +1-702-968-5100
>> > Skype: skype:ccbootcamp?call
>> > FAX: +1-702-446-8012
>> > YES! We take Cisco Learning Credits!
>> > Training And Remote Racks: http://www.ccbootcamp.com
>> > OEQ Voice Waiver: http://www.ccbootcamp.com/noeqvoice.html
>> > OEQ R&S Waiver: http://www.ccbootcamp.com/noeqrs.html
>> > OEQ Commercial: http://www.ccbootcamp.com/noeq.mpg
>> >
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: nobody_at_groupstudy.com on behalf of ehtesham ali
>> > Sent: Thu 4/22/2010 10:56 AM
>> > To: ccielab_at_groupstudy.com
>> > Subject: eem configuration example
>> >
>> > HI group,
>> >
>> > As i am new to EEM , i just wanted an example task of EEM and any
>> reference
>> > guides to start off as related to rs exam. (no nda violation :)
>> >
>> >
>> > Blogs and organic groups at http://www.ccie.net
>> >
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html
>> >
>> >
>> > Blogs and organic groups at http://www.ccie.net
>> >
>> > _______________________________________________________________________
>> > Subscription information may be found at:
>> > http://www.groupstudy.com/list/CCIELab.html
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>> --
>> Narbik Kocharians
>> CCSI#30832, CCIE# 12410 (R&S, SP, Security)
>> www.MicronicsTraining.com <http://www.micronicstraining.com/>
>> Sr. Technical Instructor
>> YES! We take Cisco Learning Credits!
>> Training And Remote Racks available
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>>
>

-- 
Narbik Kocharians
CCSI#30832, CCIE# 12410 (R&S, SP, Security)
www.MicronicsTraining.com
Sr. Technical Instructor
YES! We take Cisco Learning Credits!
Training And Remote Racks available
Blogs and organic groups at http://www.ccie.net
Received on Thu Apr 22 2010 - 11:37:49 ART

This archive was generated by hypermail 2.2.0 : Sat May 01 2010 - 09:49:57 ART