cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
451
Views
0
Helpful
4
Replies

Switchport Client IP Address

peter.tan
Level 1
Level 1

In the Catalyst 6513, how can we determine the IP address of the client connected to each switchport?

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

Hi Peter

Assuming you are using IOS on the switch

1) sh mac-address-table int "interface"

eg sh mac-address-table int gi8/8

Output would look something like

SZ-JFH-F00-DTE1#sh mac-address-table int gi8/8

Legend: * - primary entry

age - seconds since last seen

n/a - not available

vlan mac address type learn age ports

------+----------------+--------+-----+----------+--------------------------

* 50 0011.85be.b2af dynamic Yes 45 Gi8/8

2) sh arp | include 0011.85be.b2af

output =

SZ-JFH-F00-DTE1#sh arp | include 0011.85be.b2af

Internet 10.181.120.7 9 0011.85be.b2af ARPA Vlan50

HTH

Jon

Hello,

Show arp will only list the IP entry for the host if a host sends some traffic to switch ip or vice versa. If the host is talking to some other host in the same vlan and is not using the gateway then it will not be easy to locate the IP address using the " show arp " command.

You can use a free tool " ccgetmacaddress" which will tell you the " MAC-IP " or "IP-MAC" binding on you network.

HTH,

-amit singh

Thank you, Amit

Thank you, Jon.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card