Thursday, May 3, 2007
This is very important while one configure snmp simulator "mimic" for telnet.
Here is one script to simulate "show" command, important, simple though.
for arg in $*
count=`expr $count + 1`
if [ $count -lt $# ]
A Sample run:
$ ./show ospf neighbor
cat: ./telnet/ospf_neighbor.txt: No such file or directory
So actual "show ospf neighbor" output is to be kept in the file ./telnet/ospf_neighbor.txt.
© Jadu Saikia www.UNIXCL.com