cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1782
Views
0
Helpful
2
Replies
pattyj
Beginner

Prime CLI Template #Interactive Mode - does it care on spacing?

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



 

 

2 REPLIES 2
iportuga
Cisco Employee

Hi
Which is the PI version?

Have you tried the following code?

#MODE_ENABLE
#INTERACTIVE
license right-to-use move throughput<IQ>(yes/[no])<R>yes
#ENDS_INTERACTIVE
#MODE_END_ENABLE

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

Content for Community-Ad