Like the title states, attempting to push out a template to all switches that will remove local usernames. The issue occurs when the switch prompts
This operation will remove all username related configurations with same name.Do you want to continue? [confirm]
I cannot figure out, for the life of me, how to put confirm in the template. It just runs the job for 4 minutes and 59 seconds and then fails, and the details show that it's waiting for a response there. Obviously it just times out after the response isn't received (because it's not in the template).
I've tried searching through Cisco's documentation and it's lacking pretty heavily. What I did find is this:
Adding Interactive Commands
An interactive command contains the input that must be entered following the execution of a command.
To enter an interactive command in the CLI Content area, use the following syntax:
CLI Command<IQ>interactive question 1<R>command response 1 <IQ>interactive question 2<R>command response 2
where <IQ> and <R> tag are case-sensitive and must be entered as uppercase.
For example:
#INTERACTIVE
crypto key generate rsa general-keys <IQ>yes/no<R> no
#ENDS_INTERACTIVE
It just seems like no matter how I input those commands, it never accepts them.
Any ideas?
No comments:
Post a Comment