Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 25 of 33
Search took 0.00 seconds.
Search: Posts Made By: rtb
Forum: Scripting 10-09-2015, 08:03 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi djdumlao, Since SecureCRT 7.3 for Windows...

Hi djdumlao,

Since SecureCRT 7.3 for Windows includes Python 2.6 and SecureCRT on Mac OS X, RHEL and Ubuntu use Python 2.7 (which should already exist on the system), we haven't tested the script...
Forum: Scripting 05-07-2015, 12:59 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi emexy, Thanks for the confirmation. I am...

Hi emexy,

Thanks for the confirmation. I am glad that we could help.
Forum: Scripting 05-07-2015, 11:37 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi emexy, I am glad to hear that you found a...

Hi emexy,

I am glad to hear that you found a way to filter out the unwanted string. You could modify your approach to remove the unwanted string and the blank line. For example:
strResult =...
Forum: Scripting 05-06-2015, 04:53 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi emexy, It looks like you are changing the...

Hi emexy,

It looks like you are changing the wrong part of the script.

If you make the change to strResult rather than strPrompt, do you get better results?

Do your vlans have a particular...
Forum: Scripting 05-06-2015, 12:37 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi emexy, Thanks for the update. I am glad...

Hi emexy,

Thanks for the update. I am glad to hear that you have the script working.

As a note, I edited my previous post to illustrate how one can handle spacing in the firewall name. It...
Forum: Scripting 05-06-2015, 11:30 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi emexy, It seems like the problem may be...

Hi emexy,

It seems like the problem may be higher up in the script. Lines 47 and 48 should look similar to the following:
g_strFirewall = " /FIREWALL=myFireWallName "
' g_strFirewall = ""
If...
Forum: Scripting 05-06-2015, 11:09 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi emexy, If you message box the connect...

Hi emexy,

If you message box the connect string, what do you see?

You can add the following line of code just after the line you posted to see what the connect string contains:
MsgBox...
Forum: Scripting 05-06-2015, 08:01 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi emexy, The VBScript version uses...

Hi emexy,

The VBScript version uses ConnectInTab(), but can also use a firewall/proxy.

The Python version uses ConnectInTab(), but doesn't have the ability to use a firewall/proxy.

It is...
Forum: Scripting 04-24-2015, 11:07 AM
Replies: 166
Views: 109,705
Posted By rtb
Thanks for posting Damon. For anyone reading...

Thanks for posting Damon.

For anyone reading this, the problem was with the Default.ini file. There was something in the file that was preventing the script from running as expected.
Forum: Scripting 04-18-2015, 03:34 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi All, We are working on this issue via...

Hi All,

We are working on this issue via email. If we can find out what is wrong in this specific case and environment, I will post here.
Forum: Scripting 03-20-2015, 01:22 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi vladiny, There isn't an easy, error proof...

Hi vladiny,

There isn't an easy, error proof way to modify the Python version of this example to accomplish your goal.

We are considering re-writing the Python version to be more similar to...
Forum: Scripting 03-13-2015, 08:32 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi vladiny, Thanks for the update and...

Hi vladiny,

Thanks for the update and information. I am glad to hear that you found the command you needed for your devices.

I don't know anything about Cisco devices, so this may be of no...
Forum: Scripting 03-12-2015, 04:58 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi vladiny, Thanks for the post. I am glad...

Hi vladiny,

Thanks for the post. I am glad to hear that you find the script example useful.

My suggestion would be to add a command to temporarily disable paging prior to running the show...
Forum: Scripting 02-05-2015, 04:32 PM
Replies: 166
Views: 109,705
Posted By rtb
Thanks for the update Thomas. To see what...

Thanks for the update Thomas.

To see what might be happening, I would need to see the script. You are welcome to post it or send it to support@vandyke.com with a subject of Attn: Todd - Forum...
Forum: Scripting 02-03-2015, 05:07 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi Thomas, Thanks for the post. If you...

Hi Thomas,

Thanks for the post.

If you want to have a single host results file rather than files for each command, you would change the line that writes data in the for strCommand in...
Forum: Scripting 11-20-2014, 08:54 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi iabudi, I am back. Please send the...

Hi iabudi,

I am back. Please send the script to support@vandyke.com with a subject of Attn: Todd - Script Problem.

Please include the version of SecureCRT that you are using and ensure that...
Forum: Scripting 10-22-2014, 05:04 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi iabudi, Thanks for the post. What errors...

Hi iabudi,

Thanks for the post. What errors can you get if enable fails?

What error do you see if the password is invalid?
Forum: Scripting 10-15-2014, 04:35 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi kgaudineer, You are welcome. I am hoping...

Hi kgaudineer,

You are welcome. I am hoping that this discussion will benefit others that want to use this example and read this thread.

I can see that my explanation is not very good. Adding...
Forum: Scripting 10-14-2014, 04:12 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi kgaudineer, There are other dependencies....

Hi kgaudineer,

There are other dependencies. I am not sure how your script may be different, but in the unmodified script, it is lines 91 to 99 that read in the data from the commands file. The...
Forum: Scripting 10-14-2014, 08:52 AM
Replies: 166
Views: 109,705
Posted By rtb
Hi kgaudineer, It seems like your idea would...

Hi kgaudineer,

It seems like your idea would work. Were you able to successfully edit the script to use your idea?
Forum: Scripting 10-13-2014, 05:11 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi kgaudineer, Thanks for the information. ...

Hi kgaudineer,

Thanks for the information.

Here is my understanding from what you posted. If you send the command copy startup-config tftp: the Cisco device responds with the following:...
Forum: Scripting 10-09-2014, 03:26 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi kgaudineer, It that is the route you want...

Hi kgaudineer,

It that is the route you want to go, you are welcome to do so. For me, modifying the existing script would be easier.

The script is not designed to handle prompts dynamically,...
Forum: Scripting 10-09-2014, 02:19 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi kgaudineer, I don't think that you need a...

Hi kgaudineer,

I don't think that you need a completely new script. I would likely add another condition after line 199. For example:
If Instr(strCommand, "copy") > 0 Then
' Take special...
Forum: Scripting 09-11-2014, 04:02 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi aaakaundal, Thanks for the post. ...

Hi aaakaundal,

Thanks for the post.

Actually, if you look at the Connect() function in the VBScript version of the script, you will see on lines 429 to 437 that many different strings are...
Forum: Scripting 08-19-2014, 03:09 PM
Replies: 166
Views: 109,705
Posted By rtb
Hi aluminex, Thanks for the update. I am...

Hi aluminex,

Thanks for the update. I am glad to hear that the change is working.

Please remember, that this is a hardcoded string that is not terribly unique. If you get to a point where the...
Showing results 1 to 25 of 33

 
Forum Jump

All times are GMT -6. The time now is 02:57 AM.