Welcome to the VanDyke Software Forums

Join the discussion today!


Go Back   VanDyke Software Forums > Search Forums

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: zeunasc
Forum: Scripting 04-06-2012, 09:52 AM
Replies: 29
Views: 18,104
Posted By zeunasc
PERFECT! Thank you both so much for the...

PERFECT!

Thank you both so much for the help! The script works perfectly!
Forum: Scripting 04-06-2012, 08:19 AM
Replies: 29
Views: 18,104
Posted By zeunasc
The script is now working nearly perfectly. The...

The script is now working nearly perfectly. The suggestions you posted last worked for identifying the null output when CDP information isn't returned. I have been doing some testing and have found...
Forum: Scripting 04-05-2012, 01:53 PM
Replies: 29
Views: 18,104
Posted By zeunasc
I'm nearly there, I can feel it! I am to the...

I'm nearly there, I can feel it!

I am to the point where I need an ending spot for my loop. There are two final outcomes of the sho cdp nei MAC detail statement. The first is that a phone will...
Forum: Scripting 04-05-2012, 09:41 AM
Replies: 29
Views: 18,104
Posted By zeunasc
Thanks for the update. I have incorporated much...

Thanks for the update. I have incorporated much of what you included. Below is my script as it stands. It prompts for the MAC, issues the two commands needed, and gets the ip of the next hop.

So,...
Forum: Scripting 04-05-2012, 07:31 AM
Replies: 29
Views: 18,104
Posted By zeunasc
I figured out the second issue... I search for an...

I figured out the second issue... I search for an replace the carriage return that is in the variable:

crt.Screen.Send "sho cdp nei " & Replace(strResult, vbCrLf, "") & " d" & vbcr

Onward!
Forum: Scripting 04-05-2012, 06:47 AM
Replies: 29
Views: 18,104
Posted By zeunasc
Awesome, awesome post. So, using your...

Awesome, awesome post.

So, using your extraction examples, I can now isolate the last entry in the variable. Your crt.Screen.WaitForString "sho mac- | i " & strMAC line is great, would never have...
Forum: Scripting 04-05-2012, 06:37 AM
Replies: 29
Views: 18,104
Posted By zeunasc
I'm glad you posted the followup. I spent a few...

I'm glad you posted the followup. I spent a few hours on this yesterday afternoon, and again this morning, and I am really stuck on the data extraction step. Here is the code I have so far:
...
Forum: Scripting 04-04-2012, 12:59 PM
Replies: 29
Views: 18,104
Posted By zeunasc
What a great response, yes this helps a ton! I...

What a great response, yes this helps a ton! I appreciate that you took the time to break the problem down, and offer advice on where to learn about each section, rather than just supplying a script...
Forum: Scripting 04-04-2012, 08:26 AM
Replies: 29
Views: 18,104
Posted By zeunasc
Need a script to track down a switchport using MAC address

Please bear with me... new to SecureCRT, new to vbscript as well.

One of the more tedious things I have to do is to track down switchports for various reasons using a computer's MAC address. To...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -6. The time now is 04:37 AM.