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

CiscoCMD auto reply prompt question

Murciarules
Level 1
Level 1

Hi there,

 

I would like to use automation a job using this command: "install remove inactive" with ciscoCMD

in multiple switches, however the program is stuck when prompt the question "Do you want to remove above files?" waiting for user insert "yes" or "y", is there a way using ciscocmd to auto reply yes o y without user interaction?

 

I followed the steps from this ticket https://community.cisco.com/t5/network-management/prime-infrastructure-cli-template-clean-ios-xe-not-working/m-p/4391897#M139777 without any help as user is using PI 3.9 Patch 1

 

Best regards.

2 Replies 2

Alex Stevenson
Cisco Employee
Cisco Employee

Hello @Murciarules,

 

I'm not a CiscoCMD expert. I was noticed in the doc Cisco Command The Ultimate Little Tool that it only runs on UNIX and Windows.

 

Perhaps you can run a command in it with one of the following, depending on your OS:

 

 

 

Hope this helps!

 

 

 

Murciarules
Level 1
Level 1

Thanks @Alex Stevenson . i will have a look.