View Single Post
  #1  
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

Hi,
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.

like
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