09-28-2018 01:27 PM - edited 03-18-2019 12:32 PM
Hi,
How can I run several repeating commands in CUCM sql ? Can I just copy the list of command and paste , like i do with cisco router IOS ? Or is there way to run TCL script ?
Thank you
Solved! Go to Solution.
10-01-2018 08:29 AM
Don't reinvent the wheel. Check the 'offiical' python script examples:
https://www.vandyke.com/support/securecrt/python_examples.html
The Send.Data.py example looks like what you're after.
09-28-2018 02:26 PM
I used some time back..CUCM using the Cisco AXL API you can use that for scripting.
09-28-2018 04:06 PM
09-28-2018 04:12 PM
what are you looking, Hope if i understand correctly you looking to automate and execute the SQL right ?
and store the results either email or file. ( success or failure).
10-01-2018 07:22 AM
I have to turn off display name on about 200 cisco codecs. I have made sql command and tested successfully but it's just one line and I'd need to copy paste 200 times :D . U mentioned securecrt , I have it , how to automate with it or script on it? , sorry guys im not good with AXL and think is freaking complicated as every cisco stuff.
securecrt , I have it , how to automate with it or script on it?
Thank you
10-01-2018 07:50 AM
Looks like I found way to do in SecureCRT, there is embedded functionality u can record script and save as vbs or python and then edit and run it. Its very good for people like me not so expereinced with scripting :) .
I ll try to solve my problem and send SQL command to CUCM and see how it will work . I just need to recall now how to make pause and wait response from sql serevr in the python script before to send next line.
10-01-2018 08:29 AM
Don't reinvent the wheel. Check the 'offiical' python script examples:
https://www.vandyke.com/support/securecrt/python_examples.html
The Send.Data.py example looks like what you're after.
10-01-2018 08:41 AM
Yeeees, u r right, Thank you bro :)
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: