cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1618
Views
0
Helpful
5
Replies

Trace node IP from Switch

jestin.vj
Level 1
Level 1

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

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

View solution in original post

5 Replies 5

Jon Marshall
Hall of Fame
Hall of Fame

Hi Jestin

To see all the IP addresses

4500# sh arp

To see all the mac-addresses

4500# sh mac-address-table

HTH

Jon

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

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

Hi Joh,

My doubt is clear now.

Thankz...

Jestin

Jestin

No problem. Appreciate the rating.

Jon

Review Cisco Networking products for a $25 gift card