Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Trace node IP from Switch

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...?

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Blue

Re: Trace node IP from Switch

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

5 REPLIES
Hall of Fame Super Blue

Re: Trace node IP from Switch

Hi Jestin

To see all the IP addresses

4500# sh arp

To see all the mac-addresses

4500# sh mac-address-table

HTH

Jon

Community Member

Re: Trace node IP from Switch

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

Hall of Fame Super Blue

Re: Trace node IP from Switch

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

Community Member

Re: Trace node IP from Switch

Hi Joh,

My doubt is clear now.

Thankz...

Jestin

Hall of Fame Super Blue

Re: Trace node IP from Switch

Jestin

No problem. Appreciate the rating.

Jon

900
Views
0
Helpful
5
Replies
CreatePlease to create content