List IPs/MACs of devices and switchport where they are plugged in

Hi there,
I'll be going out to an installation with a 6504 and a couple of dozend access switches to check for stuff that's plugged into the wrong port.
What I want to do is to create a list: what client-device (IP) is connected to what port.
Unfortunately there's no network management tool present on site that might help.
I have two ideas how to get there and perhaps anyone has done something like that before:
First, I'll scan the whole IP range of allowed adresses from the core. This will put all existing MAC adresses in the IP range into the core's ARP table.
Then read out ARP table and put all existing MACs in a file
Then prepare a script that works in one of the following ways:
1) centrally traceroute to each destination
for each [MAC from ARP table]  do 
ssh core-switch
traceroute mac MAC
Advantage: scripting is easier because I only ever log in to core-switch
Disadvantage: this requires to pass a variable (MAC) through from the script into the routine that runs in the called SSH-shell. Is that even possible?
I'm no scripting expert, so I'm not really sure...
2) locally collect all ARP-tables
for each [list of access-switches] do
ssh [Access-switch]
show mac address-table
then sort out everything where the ARP table does _not_ point to a local FE port (but to an uplink).
then enrich each entry with the name of the switch it was found on.
Advantage: no passing through of a variable into the SSH-subroutine necessary.
Disadvantage: have to enrich the data
Has someone ever encountered this problem before and perhaps has some smart script lying around? Any help would be apprechiated.
Thanks in advance!

Open firefox and in the menu, go to:
Tools > Options
Choose the "General" section (light switch icon)
There should be a downloads block there. It says something like "Save files to [_____________][Browse...]"
you should be able to click on browse and see where the folder is located. Then hit CANCEL (so you don't change it by mistake before you have found it for sure)
Once you have found the files, if you would like, you can go back in and change the location setting to somewhere you would prefer if you do not like where they are saving to.

Similar Messages

Maybe you are looking for