Hi.
I have 52 units of A5120-EI switch and time to time, i need to know where some MAC address are connected. Is there any way to do that by command line or SNMP?
I've tried the command "display mac-address <mac>" and I've got the port.....but is not the right way. Way? Because, as I think, it's a MAC-table of know hosts, not the MAc os connected device on specific port.
For example: I have switchs: A------B-----C. My computer is connected to switch A and switch C doesn't have anything connected, except the 'link' in port 1, witch is in 'hybrid' mode aloowing X,Y,Z VLAN's.
After some time and after connecting on all Switchs from my computer to manage it, if I go to console on switch C and so this: "display mac-address <my mac>", I got all mac-address learned from other switchs, including my computer MAC......all saying that is know from port 1 (link port). With this, I can't find where my MAc is connected.
Is there any other way to do that? Of corse, I know the MAC address. My initial idea is to make an script with will connect on all my switchs, one by one, and do some commands to discovery if the specific MAC address are connected to that switch or not.
By the way, I'm not interested in any software. I need to implement this in my current system using any kind of connection; ssh, telnet, SNMP, etc...
Thanks!!
P.S. This thread has been moved from Switches, Hubs, Modems (Legacy ITRC forum) to Comware-Based. -HP Forum Moderator
#MACaddress#A5120