Hello every one,
I am using Clish to implement CISCO standard commands. I have
installed it.
I was able to write small commands using .xml file.
I am not understanding how to pass the paramaters to .c file from
CLISH shell, and how to link .xml and .c file.....
I need help in this regard. please help me regarding this.....
Thank you,
--
VISHAL .V. GIRISAGAR
Department of Electronics and Communication engineering
BVBCET
Hubli - 580031
I can't realize your aim and scheme.
Do you want to use builtin functions?
Or execute external binaries?
Where are you going to use answer? In <ACTION>?
2011/3/11 vishal girisagar <vish...@gmail.com>:
But I prefer to fork another klish from klish and change the real
user. It's more secure. See the "enable" COMMAND from xml-examples in
klish source tree. Additionally see
http://code.google.com/p/klish/wiki/klish_examples
Please "answer to all" to send emails to mailing list but not only to me.
2011/3/12 vishal girisagar <vish...@gmail.com>:
> thank you,
> and one more thing. How can i provide different privilages to
> different users???
>
> On 3/11/11, Serj Kalichev <serj.k...@gmail.com> wrote:
>> Do you mean a common shell programming?
>> By default the script within <ACTION> tag is shell script. See the
>> xml-examples in klish source tree.
>>
>> 2011/3/11 vishal girisagar <vish...@gmail.com>:
>>> I am going to use in action.......
>>> i want to have my own seperate files and i want to pass parameters to
>>> that file and execute it when certain command is typed in clish...
There is konfd daemon in klish sourcecode that can store user
configuration (user commands, settings). The clish utility can get
filenames as args in command line to execute commands from it.
example:
clish /etc/startup-config
The command must have CONFIG tag to get into the config (konfd daemon).
2011/3/20 vishal girisagar <vishalgir...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "klish" group.
To unsubscribe from this group and stop receiving emails from it, send an email to klish+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.