cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
992
Views
0
Helpful
1
Replies

eem script with double confirmation required

sjamison76
Level 1
Level 1

I am trying to figure out how to get around a double confirmation in an EEM script.

 

In the eem script, if a specific event happens, I want it to do a show tech, and copy that up to a tftp server.

 

The issue is it requires a double confirmation. What is the correct syntax to work on this? What do I put in the eem script to accept both?  pattern "10.1.1.1" pattern "SHOW_TECH" on a single line? 

 

copy flash:SHOW_TECH.TXT tftp://10.1.1.1/SHOW_TECH.TXT

Address or name of remote host [10.1.1.1]?

Destination filename [SHOW_TECH.TXT]?

 

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

cli command "copy flash:SHOW_TECH.TXT tftp://10.1.1.1/SHOW_TECH.TXT" pattern "Address"

cli command "10.1.1.1" pattern "Destination"

cli command "SHOW_TECH.TXT"

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: