cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1034
Views
0
Helpful
3
Replies

#

BfUAY5
Level 1
Level 1
3 Replies 3

Joe Clarke
Cisco Employee
Cisco Employee

On what version of IOS is this applet actually running?

 

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.

Review Cisco Networking for a $25 gift card