02-02-2008 12:45 AM - edited 03-05-2019 08:53 PM
Hi All,
I have a 4506 Switch in my Network.
I want to find out the IP and MAC of users connected to each interface.
Any1 can help me plz...?
Solved! Go to Solution.
02-02-2008 02:26 AM
Jestin
Taken from one of out switches. The machine you want to trace is on gi8/9
1) Get mac-address associated with that port.
SZ-JFH-F00-DTE1#show mac-address-table interface gi8/9
Legend: * - primary entry
age - seconds since last seen
n/a - not available
vlan mac address type learn age ports
------+----------------+--------+-----+----------+--------------------------
* 60 0013.216b.5863 dynamic Yes 5 Gi8/9
2) Using the mac-address from the output
SZ-JFH-F00-DTE1#sh arp | include 0013.216b.5863
Internet 10.181.121.7 0 0013.216b.5863 ARPA Vlan60
SZ-JFH-F00-DTE1#
HTH
Jon
02-02-2008 01:49 AM
Hi Jestin
To see all the IP addresses
4500# sh arp
To see all the mac-addresses
4500# sh mac-address-table
HTH
Jon
02-02-2008 02:22 AM
Hi Jon,
My doubt is that, suppose one PC1 is connected to fa2/3. I want to get the IP of PC1.
Thankz for ur reply
Jestin
02-02-2008 02:26 AM
Jestin
Taken from one of out switches. The machine you want to trace is on gi8/9
1) Get mac-address associated with that port.
SZ-JFH-F00-DTE1#show mac-address-table interface gi8/9
Legend: * - primary entry
age - seconds since last seen
n/a - not available
vlan mac address type learn age ports
------+----------------+--------+-----+----------+--------------------------
* 60 0013.216b.5863 dynamic Yes 5 Gi8/9
2) Using the mac-address from the output
SZ-JFH-F00-DTE1#sh arp | include 0013.216b.5863
Internet 10.181.121.7 0 0013.216b.5863 ARPA Vlan60
SZ-JFH-F00-DTE1#
HTH
Jon
02-02-2008 02:47 AM
Hi Joh,
My doubt is clear now.
Thankz...
Jestin
02-02-2008 02:48 AM
Jestin
No problem. Appreciate the rating.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide