ANNOUNCEMENT - The community will be down for maintenace this Thursday August 13 from 12:00 AM PT to 02:00 AM PT. As a precaution save your work.
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
401
Views
0
Helpful
1
Replies
Highlighted
Beginner

EEM cli command needs to enter an extra carriage return

I am running in a situation when writing EEM to communicate with a remote session that requires an extra carriage return to be entered. Kind of like:

 

action 4 cli command "hello"

action 4 cli command ""

 

After issuing "hello", the server will not return anything (Zip, nothing at all). The server only started responding after an extra CR. The cli command seems to be waiting for a prompt. What can I do to workaround that?

1 REPLY 1
Highlighted
VIP Mentor

Re: EEM cli command needs to enter an extra carriage return

Not sure what you trying to do here or use case here expect hello to be done in the script ?

 

here is EEM guide lines : and explain us more details to help better.

 

https://community.cisco.com/t5/networking-documents/cisco-eem-best-practices/ta-p/3127596

BB
*** Rate All Helpful Responses ***
Content for Community-Ad