Welcome to the VanDyke Software Forums

Join the discussion today!

Go Back   VanDyke Software Forums > Scripting


Thread Tools Rate Thread Display Modes
Old 10-07-2013, 06:49 AM
naveen038 naveen038 is offline
Registered User
Join Date: Oct 2013
Posts: 1
Post Command_Line_Walk_For_Nw_Devices

This script might already be written by someone, just in case please share.
Here are the requirements.
Generally commands will be as below
cmd 1 ?
option 1
option 2
option x

cmd 1 option 1 ?
opt 1.1
opt 1.2
opt 1.x

cmd 1 option 1 opt 1.2 ?
o 1.2.1
o 1.2.2
o 1.2.x
.... it follows.....

the task of the script is to go to each option and generate the command.

cmd 1
cmd 1 option 1
cmd 1 option 1 opt 1.1.1

If this is already written, please share the link
Reply With Quote
Old 10-07-2013, 07:52 AM
rtb rtb is offline
VanDyke Technical Support
Join Date: Aug 2008
Posts: 4,305
Hi naveen038,

Thanks for the question. We have an example script that illustrates how to read in data from a file and interact with remote devices. It seems like this may be a good starting point as you write your script. You can find the example at the following location:
Does this help you get started writing your script?

VanDyke Software
Technical Support
Reply With Quote

cli , cli walk , clicombinator , cmd , cmdwalk

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 07:36 PM.