how do i get the IP address of the Machine

Unanswered Question
Apr 17th, 2009

suppose i connected one ip phone to the switch and one machin to that ip phone. i know only the MAC Address of the IP phone and i want to know the IP address of the system which is connected to the IP phone with the help of command on switch.... is thr any command on switch

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Adrian Saavedra Fri, 04/17/2009 - 06:18

Hi awdhoot_t,


In the switch, use the command:


Switch# sh mac-address-table interface


where is the switchport where you plug the IP Phone.


Then you can use sh arp.


Hope this helps you, if so please rate.


Best regards,


- Adrián.



Nicholas Matthews Fri, 04/17/2009 - 14:18

show mac- | i aaaa.aaaa.aaaa


Use mac address in lower case form.


Then if your output is similar to this:

232 000d.290b.e3af DYNAMIC Fa0/21


Do a 'show mac- | i Fa0/21'



This will tell you the other MAC on the port. Sh arp will not because it's a layer 3 command.




-nick

Adrian Saavedra Fri, 04/17/2009 - 16:20

Hello Nick,


But, he wants to know IP address of the machine attached to IP Phone...


Best regards,


- Adrián.

Actions

This Discussion