11-27-2019 11:42 AM
Hi everyone,
I have the above mentioned Cisco switch. I am interested in knowing the IP address or the assigned name of devices connected to its individual ports. I am not interested in changing any of the switch's or port's properties.
1Q) Can someone please tell me which Cisco application I can use for this?
2Q) Is there any specific port of it that I can or cannot connect to for this purpose?
Thank you and Happy Thanksgiving,
Neil
11-27-2019 11:53 AM
@neilmehta42969453 , Hello!
There are some resources on your own switch that can help you.
Firstly enable this resources whether are disabled.
CDP: Cisco properties
LLDP: Standard Devices
sw(config)# cdp run
sw(config)# lldp enable
they will show to you directly device connected (hostname, ip address, platform and others).
command that can be used:
show cdp neighbors
show cdp neighbors detail
show lldp neihbors
show lldp neighbors detail
There are others commands, check it:
Other resource that you can use is the entry arp.
show arp will show to you information about mac and ip address learning on each interface.
11-28-2019 07:07 AM
on the switch (L2 device) issue the command "show mac address-table"
-> capture the output to record what mac address is connected to what interface
on your router (L3 device) issue the command "show ip arp" (could be this same switch?)
-> capture the output to record the relation of MAC-addresses and IP-addresses
in a spreadsheet sort both lists on mac address and match both lists
-> result is a combined list "MAC - IP - port"
11-28-2019 08:47 AM
Hi!
If that is something you want to or need to check more often,
maybe consider enabling DHCP Snooping (if you haven't already).
If you have - you will be able to find MAC Address and IP Address of all connected Clients which obtain their IP Address over DHCP.
Best regards
Julian
12-02-2019 05:21 AM
Thank you so much for your reply. Which software do I need to issue these commands? GNS3 or Cisco Packet Tracker?
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