| Author |
arp and cam tables
|
|
|
| Here is the scenario,
I work in a pretty big network and many times, have to find a machine and the port it is on accross the network in other buildings. I have found the easiest way to do it ( as long as the machine is online) is to ping it, then do an arp -a from the command prompt to get the mac and then go to the switch and sh cam and paste the mac.
However, If I am in a different vlan than the machine I am looking for, I get the mac from the router I traverse. I think I should be able to set my machine up as a trunk link to make myself a member of all vlans, but haven't tried it yet. Anybody out there tried this yet? | |
|
| Can be done but you need a special NIC that supports ISL or 802.1Q to do that.
This is a bit of a pain, but the other thing you can do is grab the routers arp table and import it to Excel. Then sort the IPs to make it easier to find the violaters MAC address and go from there.
Hard to believe you are tracing down MAC addresses often enough to make that trunking option worthwhile!
Yankee | |
|
| If you're doing this that often, maybe it's time to consider some network management software.
But that's probably a subject for a different forum.
In the meantime, Yankee's method is way cool.
Automate it with perl and some telnet modules and you'll be the envy of the other geeks.
MadChef | |
|
| I have actually used the excel method already, and only came up with the idea after a small brainstorming session and was wondering. I just got Cisco works 2000 and am waiting on my passwords for hp openview and node manager. shouldn't really matter anymore, but was still toying with the idea. | |
|
| Could you also do this with a 5500 series catalyst with an RSM? | |
|
| Dr, you mean the way I suggested? If so the answer is yes. I have a 5500 with an RSM that I occassionally have to chase down some violater. Fortunately it ain't too often so it ain't that bad.
Yankee | |
|
| yeah,
That is what I am running My RSM's in as well. Not chasing down too many, but like I said, was just thinking of an easier way, but
not willing to put in a trunk just for that!
Think Cisco Works is my best solution! | |
|
| Why not poll the rsm interface and use the cisco mibs to get an ip/mas address table. You should be able to do this fairly easily. | |
|
| Doh!
I forgot the way I did it last time which is simple
sh ip arp <ip address>
Yankee | |
|
| Great!!!
It's amazing what you can forget when you have been eye to eye with the telnet session for so many hours straight. LOL.
I forgot about that command. Thanks Yankee,
Will remember that in the next few weeks while preping to sit for CIT. | |
|
| LOL
Forget remembering it for an exam, that's one that benefits you more in real life!
Yankee |
|
|
|