unix script for repeating a command with a variable

Hi need urgent help , for creating unix script .
To collect system name,This is command i want to execute n (integer) no. of times for for a differnt IP addresses .IP is variable in every execution.
Other string & collecter name is constant .
snmpGet %IP% sysName.0 -c <string> -S <datacollecter name>

Please help in this . thanks a lot.

rgds
LT

You are breaking the rule with duplicating post:

langdatyagi, be aware of the rules.

You have already broken it twice. Once more and you will earn a temporary ban.