cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
502
Views
0
Helpful
3
Replies

Error cisco Prime 3.7 Error occured while executing the command

lucas.24
Level 1
Level 1

I am trying to run commands from Cisco Prime within the infrastructure and I find that the result of the jobs is Failure but the commands are executed within the equipment, except for the configuration recording.
The error that the output of the jobs gives is the following.

Failed

Error occured while executing the command configure terminalip access-list standard 4015 permit 10.74.xx.xxx exitip access-list standard 4115 permit 10.74.xx.xxx.Command Output : configure terminalconfigure terminal ^% Invalid input detected at '^' marker.
 
Rollback : Failed while performing Config Archive Rollback in NCS.

The "script" that is running is the following

<MLTCMD>

 
configure terminal
ip access-list standard 40
15 permit 10.74.xx.xxx
exit
ip access-list standard 41
15 permit 10.74.xx.xxx
wr
</MLTCMD>

3 Replies 3

@lucas.24 

 Seems to me Prime tried to execute your tamplate as on line command.

" configure terminalip access-list standard 4015 permit 10.74.xx.xxx exitip access-list standard 4115 permit 10.74.xx.xxx"

 You need to add carriage return to you templace so that Prime can execute it line by line

 

Flavio, thanks for reply..

I apologize for the ignorance, what would be a carriage return?

"What is carriage return (CR)? CR, short for "carriage return," refers to a control character used in computing, programming, and communications. It represents the action of moving the cursor or print head back to the beginning of a line. In other words, it indicates the return to the left edge of the current line

If I am not mistaken, Prime templace accept <R> as Carriage return