Dear Vaibhav, It seems that you're not updating ns-lib.tcl. Check this: http://masimum.inf.um.es/fjrm/wp-uploads/nsrt-howto/html/node20.html
Regards, fran El 17/03/2013, a las 13:16, Vaibhav Ambhire escribió: > > i wrote a new agent and modified the relevant files > (makefile,packet.h,ns-default. > tcl,ns-packet.tcl) ,then i executed "./configure" and "make". > It executed well. But when i want to run any tcl file i get this error > (ns: [code ommited because of length] : invalid command name > "Agent/security_packet" while executing "Agent/security_packet set > packetSize_ 200"). > > > Please any one know the solution, then help me. > If anybody know the exact steps to add a new agent in ns2, then please > forward the relevant material on the same email id... > > > Yhanks, > Vaibhav -- Francisco J. Ros, PhD Dept. of Information and Communications Engineering University of Murcia, Murcia (Spain) http://masimum.inf.um.es/fjrm/