05-18-2018 10:24 AM - edited 03-01-2019 06:35 PM
Trying to use CLI Templates to push this command to a bunch of ISR4Ks but it has a yes/no prompt that needs a response so trying the #INTERACTIVE option but have not gotten it to work. Tried various permutations but they all fail. There is not much in the documentation that I can find. The original output if I do the command manually is shown below labeled Original Output. What am I doing wrong here, any suggestions?
What I tried in CLI Template in Prime
#MODE_ENABLE
#INTERACTIVE
license right-to-use move throughput <IQ>ACCEPT? (yes/[no]):<R> yes
#ENDS_INTERACTIVE
#MODE_END_ENABLE
Original Output if done at CLI manually
=============================
FO35RTR1#license right-to-use move throughput
% End User License Agreement is not accepted
PLEASE READ THE FOLLOWING TERMS CAREFULLY. INSTALLING THE LICENSE OR
LICENSE KEY PROVIDED FOR ANY CISCO PRODUCT FEATURE OR USING SUCH
PRODUCT FEATURE CONSTITUTES YOUR FULL ACCEPTANCE OF THE FOLLOWING
TERMS. YOU MUST NOT PROCEED FURTHER IF YOU ARE NOT WILLING TO BE BOUND
BY ALL THE TERMS SET FORTH HEREIN.
Use of this product feature requires an additional license from Cisco,
together with an additional payment. You may use this product feature
on an evaluation basis, without payment to Cisco, for 60 days. Your use
of the product, including during the 60 day evaluation period, is
subject to the Cisco end user license agreement
http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html
If you use the product feature beyond the 60 day evaluation period, you
must submit the appropriate payment to Cisco for the license. After the
60 day evaluation period, your use of the product feature will be
governed solely by the Cisco end user license agreement (link above),
together with any supplements relating to such product feature. The
above applies even if the evaluation license is not automatically
terminated and you do not receive any notice of the expiration of the
evaluation period. It is your responsibility to determine when the
evaluation period is complete and you are required to make payment to
Cisco for your use of the product feature beyond the evaluation period.
Your acceptance of this agreement for the software features on one
product shall be deemed your acceptance with respect to all such
software on all Cisco products you purchase which includes the same
software. (The foregoing notwithstanding, you must purchase a license
for each software feature you use past the 60 days evaluation period,
so that if you enable a software feature on 1000 devices, you must
purchase 1000 licenses for use past the 60 day evaluation period.)
Activation of the software command line interface will be evidence of
your acceptance of this agreement.
ACCEPT? (yes/[no]): yes
Moved the license throughput from evaluation to permanent mode
FO35RTR1#license right-to-use move throughput
% License is already in RightToUse state
05-23-2018 01:59 PM
10-25-2018 12:31 PM
This ended up working. The verbiage in the brackets [ ] is what it wanted for IQ then followed by the Response <R>yes.
The IQ section wants what is in brackets. Documentation not clear to me but found out from TAC engineer.
#MODE_ENABLE
#INTERACTIVE
license right-to-use move throughput<IQ>no<R>yes
#ENDS_INTERACTIVE
#MODE_END_ENABLE
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide