01-19-2017 03:05 AM - edited 11-01-2017 12:05 AM
01-20-2017 01:11 PM
On what version of IOS is this applet actually running?
01-22-2017 11:00 PM - edited 11-01-2017 12:04 AM
01-23-2017 07:12 AM
I am not really sure what you're asking. This post doesn't make a whole lot of sense. It sounds like you want to have an array mapping the remote hostnames and IPs? If so, then just use an array:
array set remotes [list]
set remotes(HOSTNAME1) IP1
set remotes(HOSTNAME2) IP2
...
You can then index this array either by key, or you can use commands like [array names remotes] to get a list of keys, and then iterate over that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide