OT: EEM and Enable Mode

From: Scott M Vermillion (scott@it-ag.com)
Date: Sun Sep 30 2007 - 19:28:16 ART


Hi folks,

I'm mocking up a client-deployed configuration that they're having some
trouble with. They have Embedded Event Manger set to clear all NAT
translations when a certain track object goes down or comes back up. In my
lab, I was not seeing any NAT translations being flushed following a track
object state transition, so I did a 'debug event manager all' to see what I
could see. What it looked like buried in the output was this:

 

R3>clear ip nat trans *

                   ^

As if the command was being executed from a non-enable prompt. So I added
an action into the EEM of simply 'action .5 cli command "enable"' prior to
my 'action 1.0 cli command "clear ip nat trans *"' and viola! Everything
seems to work.

This strikes me as ludicrous. I had a look through the DocCD and found no
reference to needed to force this. Never having implemented this CLI
command line feature, I don't know if this is normal behavior or not.
Anyone care to share their experiences with this?

 

Thanks much!

 

Scott



This archive was generated by hypermail 2.1.4 : Sat Oct 06 2007 - 12:01:17 ART