If the device is a layer 3 switch or router this is relatively straight forward.
Easiest thing to do is to check the arp table for the IP to MAC. You can use the include output modified to narrow it down quickly.
e.g. "show arp | include 192.168.1.1"
It would then only show you the arp entry for that IP. If you are trying to find out this info on just a layer 2 switch then you will have more difficulty. I believe you would need to go to the layer 3 device connected to the switch and issue the show arp command from there. Once you have the mac address you could use the show mac-address-table command to trace back to the port.
Does this make sense? Just ask if any more questions.
you're right, in L3 you can find MAC with the vlan ID. But, if the device is connected to a L2 switch, it will not show on arp table when it's on different vlan than the native vlan of the L2 switch...
traceroute mac is probably the solution ...not try this yet.
This is actually a pretty cool feature, i didn't even know it existed until I was looking for a solution to advertise a subnet (prefix in BGP talk), only if a certain condition existed. This is exactly what conditional advertisements does
j ai une question j ai achete un routeur cisco 887VA-k9 , je le configuré avec la configuration ci- dessous
si je le lier avec mon pc portable sur l un de ses ports directement ça marche toute est bien ( la connexion internet + m...
Attached policy provides CLI access to the Cisco 4G router over text messaging. Two files are in the attached .tar file:
2. PDF with instructions on how to load and use the .tcl file.