have you taken Tcl out of the equation to troubleshoot?eg. just in normal enable prompt go sh run | i IO_Inetdoes that string exist in the running config for that ios version?
Totally agree, I love the split command Also, be sure to do it how Mike's syntax is with the ARP variable.Dont place $ARP in brackets {$ARP} as this will mean no substitution will occur.
I am learning TCL too and feel I can assist in some of this for you.The reason why you get an invalid argument is because you are using argv which only accepts arguments when you are calling a tcl script to run from a command line and you add argumen...