VanDyke Software Forums

Go Back   VanDyke Software Forums > Scripting
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-25-2012, 02:33 PM
hgarcia hgarcia is offline
Registered User
 
Join Date: Apr 2012
Posts: 3
Backing up Config Cisco switch

hi,

i'm looking for a script which help me to back up the Cisco switch config. Could someone help me??

Regards,
Hugo Garcia
Reply With Quote
  #2  
Old 04-25-2012, 02:53 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 3,264
Hi Hugo,

There are several if not many threads in this forum that discuss different ways of accomplishing your goal.

What version of SecureCRT are you using?

Have you already started writing your script?

What specifically do you want to do in your script?

If you are new to scripting, you may want to take a look at the scripting manual that illustrates how to use the SecureCRT API. It uses VBScript for the examples. You can download the manual from the following location:
http://www.vandyke.com/support/tips/...ing/index.html
If you are already comfortable with scripting, we do have more complex examples that you are welcome to customize to your needs.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #3  
Old 04-26-2012, 08:00 AM
hgarcia hgarcia is offline
Registered User
 
Join Date: Apr 2012
Posts: 3
Thanks for the soon response. I'm new to scripting, i want to learn to use scripts to automate tasks in my job.

Answering your questions:

What version of SecureCRT are you using?....6.5.3

Have you already started writing your script?.......no i haven't

What specifically do you want to do in your script?.......well, i have a Network Infraestructure with many Cisco Switches, but i don't have an automate application to back up the configuration. I want that each weekend (Sunday at 23 hrs.) the script backing up the Cisco switches config.
This is my first goal, later i need to upload the config to the switch which need it.

Regards,
Hugo
Reply With Quote
  #4  
Old 04-26-2012, 08:56 AM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 3,264
Hi Hugo,

Thanks for the information. Since you are new to scripting, and want to learn, you may want to take a look at the scripting manual that we published to the following location:
http://www.vandyke.com/support/tips/...ing/index.html
This manual discussed different essential topics like connecting to a machine, sending data to a machine, reading data from a machine, etc.

There are even example scripts that illustrate concepts that are presented.

Additionally, there is a thread at the following location that has a lengthy discussion about backing up configurations and has an example script along with questions and answers about how to accomplish specific tasks/goals:
http://forums.vandyke.com/showthread.php?t=4863
Here is another thread that illustrates how save config files, and has an example script:
http://forums.vandyke.com/showthread.php?t=10359
Does this help you get started writing your own script?
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
  #5  
Old 04-26-2012, 12:09 PM
hgarcia hgarcia is offline
Registered User
 
Join Date: Apr 2012
Posts: 3
thanks again, i'll check the information at the Tutorial. I hope to learn quickly with this information.

Thanks,
Hugo
Reply With Quote
  #6  
Old 04-26-2012, 12:28 PM
rtb rtb is offline
VanDyke Technical Support
 
Join Date: Aug 2008
Posts: 3,264
Hi Hugo,

I am glad to help. Please feel free to post any questions you might have as you go through the scripting manual.
__________________
--Todd

VanDyke Software
Technical Support
support@vandyke.com
505-332-5730
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:53 PM.


copyright 1995-2014 VanDyke Software, Inc.