Thanks for your reply,
Note that the list is not in sequence
But in fact what I would like is to have a list with the network elements and their addresses, and i need make a telnet for them without having to worry about the ip address ,
I have other elements but isn't in sequence, for exemple
dm3001 =' telnet 10.10.14.23'
dm4000 =' telnet 10.20.14.23'
dm4001 =' telnet 10.10.14.23'
dm4004 =' telnet 10.30.14.23'
dm880 =' telnet 10.40.14.23'
I would like to enter the name of the element , search in table above and make telnet to ip of it, like a dns,