cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1031
Views
0
Helpful
2
Replies

EEM

gornication
Level 1
Level 1

Hello!

event manager applet test

   event cli pattern "show vlan id 777" sync yes/sync no skip no/sync no skip yes 
   action 1.0 puts "vlan 777"
Always get the same result:
cisco-test#show vlan id 777 
vlan 777

 

Why?
How does this relate to exit status?


Of course I read something, but I didn't understand much. For example this: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/eem/command/eem-cr-book/eem-cr-e1.html  

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame

What exactly your goal or trying to achieve here using EEM Script? - explain so we can assist better.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

The main goal is to understand how Event Manager works.
Here it is not clear to me why nothing changes after changes in the event manager applet configuration.
I expect that sync yes will lead to the fact that I see first the output of the command "show vlan id 777" and then "vlan777".
If sync no + skip no, then I will first see "vlan 777", and then the output of the command to which the manager reacted.
And if sync nosync yes, then I will only see "vlan 777" after entering the command.
But that doesn't happen.

Review Cisco Networking for a $25 gift card