04-19-2007 03:48 AM - edited 03-05-2019 03:33 PM
In the Catalyst 6513, how can we determine the IP address of the client connected to each switchport?
04-19-2007 04:14 AM
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
04-19-2007 04:36 AM
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
04-19-2007 05:58 AM
Thank you, Amit
04-19-2007 05:57 AM
Thank you, Jon.
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: