Community
Command Central
MVP Program
Monthly Mission
Blogs
Groups
Events
Media Vault
Products
Observability
Network Management
Application Management
IT Security
IT Service Management
System Management
Database Management
Content Exchange
SolarWinds Platform
Server & Application Monitor
Database Performance Analyzer
Server Configuration Monitor
Network Performance Monitor
Network Configuration Manager
SQL Sentry
Web Help Desk
Free Tools & Trials
Store
Home
Products
Engineer's Toolset
VB downloader question
gmoore
I downloaded the VB script for automating the cisco configs and it works great for my internal network routers. I would like to download the config for my routers that are sitting on the internet as well. To do this I need to change the TFTP IP address to the natted IP address. Is there anyway this can be done in the script?
Greg
gmoore@c3i-inc.com
Find more posts tagged with
Accepted answers
All comments
DonYonce
Greg,
You can set the TFTP Server address from within your download scripts.
Here is an example from the original "DownloadMultipleConfigs.vbs". I changed the Download() function to set the TFTP Server address.
Sub Download(IP,Community)
' Create a new transfer object
Set Transfer = TransferEngine.Transfers.NewTransfer
' Set IP address and Community string
Transfer.IP = IP
Transfer.Community = Community
' The following Line sets the TFTP Server address
Transfer.TFTPServer = "200.100.200.100"
' Download config
If Transfer.DownloadConfig then
Success = Success & "Success:Downloaded Config to " & Transfer.FullPathname & vbcrlf
Else
Success = Success & "Error :" & Transfer.LastError & vbcrlf
End If
Set Transfer = Nothing
End Sub
bsomali
Hi Don,
Would you provide more information on SWCiscoTransfer COM object properties?
Thanks.
Quick Links
All Categories
Recent Posts
Activity
Unanswered
Groups
Help
Best Of