Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 12-14-2012, 04:04 AM
skjensen skjensen is offline
Registered User
Join Date: Dec 2012
Posts: 1
Backup of show vlan command on Catalyst Switch


I have a little challenge. I need to find a solution for getting the output from "show vlan" command of multiple switches.

I know it would be easier to backup vlan.dat but in this case it is only the information about the vlans I need.

I have the SecureCRT program and I found that it is possible to receive the ACSII code manually and then save it as .txt

Is there anyone who knows if this can be automated?


Reply With Quote
Old 12-14-2012, 08:14 AM
bgagnon bgagnon is offline
VanDyke Technical Support
Join Date: Oct 2008
Posts: 4,636
Hello skjensen,

While it sounds like you only need to capture the results (log) of one command, this script example illustrates how you can connect to a list of hosts that is saved in a file and run commands from a file and log the results.

If you don't want to deal with the extraneous files and just want to use data contained in the script, see these other examples:

Using Sessions

Using IP/Hostnames

VanDyke Software
Technical Support
(505) 332-5730
Reply With Quote

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 -6. The time now is 01:52 AM.