Uncategorized

Cisco show connected device mac

What I need to do is associate an IP Address with the exact interface. Example if someone comes to me and says I will need to know the exact interface to shutdown there are other reasons why I would need to know the interface this is just an example. Also, from a security point of view, a portscan action can be done using a spoofed IP address, so the information given is unreliable. I would suggest you to do a map of the layer 2 of your network using some simple tool nmap with -sP option to do a ping sweep of the entire subnet and gathering the whole information in an Excel file or equivalent.

Once someone asks you to disable a device, you can match the IP address with its MAC address and disable the port you need. Also you can prevent users from "sniffing" the network by using the "protected port" feature given by Cisco Catalysts. Using the "mac-address sticky" option you will reduce efforts for managing mac address table on each port, while "mac-address maximum 2" will grant that no more than 2 MAC addresses can be applied on that port.

Once a device starts an ARP Poisoning process or sniffing actively the port will shutdown or other chosen action policy. Hope this helps: VLAN 1 is reserved for admin so someone knows how to get on there which is a little unsettling. Is this a layer-2 or layer-3 switch? If you are using VLANs then a router of some description will also be installed. D to get the exact port. Find your port in the list and take mac address which associates with this port. Then run "show arp" command and find the record with mentioned above mac address.

You have ip you looking for. Internet Ping an IP in the same vlan and ping the ip you are after Then use the random IP as the source and your taget IP as the target. If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem.

Step 1: Connect to your Cisco Devices

Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended. Please note: Do not post advertisements, offensive material, profanity, or personal attacks.

Find the IP Address of a Device connected to a Cisco Switch

Please remember to be considerate of other members. All submitted content is subject to our Terms Of Use. Another way to find that information is to first PING the address of the system you are looking for. Then issue: As you can see, the 'sh arp' or 'sh ip arp' commands also give you the MAC addresses, so essentially the 'sh mac add' is only to get the port in which the device is connected. It helps to Ping the subnet's broadcast address e.

Small tip: When you see a large number of MAC addresses showing up on a single port, there's a switch on that port into which those MAC addresses are connected. If you're all Cisco, 'show cdp neighbor' or 'sh cdp nei' will get you to the next switch.

How to find IP & MAC addresses on Cisco IOS Devices - Networking - Spiceworks

The amazing thing to me is, this far into the 21st Century, this is still the only way I could find to get this information -- i. What if you can't get to the Console port? Good stuff, thanks for posting this! My go-to Cisco command is: Another thing I've learned that is very helpful I'm still a noob with Cisco stuff is tab-completion and using a "?

Unfortunately dumping the mac table and working through it is the only way to reliably find stuff and identify its switch port. I've done a similar process with HP switches. Spiceworks has the ability to harvest this information using SNMP and will create a map showing which device is on which switchport.


  • How to find port it connected to a switch using mac-address/ip add?!
  • .
  • Step 2: Find The MAC Addresses.
  • notepad++ mac os x alternative;
  • find IP address/machine connected to a - Cisco Community.
  • visual basic 8 download for mac!
  • ngoc trinh mac vay ngan lo quan lot!

The feature could use some more work but basic components are there. Hey everyone thanks for the great feed back, it's really cool having this featured. SadTech0 if you cant to the console port and you don't know the IP Address you could use a tool like angry IP scanner and find the switch that way. Barring some major obstruction you should try to console in get the ip and start an inventory. Hope that helps. Keep in mind, in some security minded environments, CDP may be disable if it's not needed.

How to find IP & MAC addresses on Cisco IOS Devices

It's one of those things that give out unnecessary reconnaissance info to the bad guys. If one of your edge routers gets compromised, it can be used to start footprinting your internal network. They are very helpful. Home Networking General Networking How-tos. General Networking Cisco. TaylorC This person is a verified professional. Verify your account to enable IT peers to see that you are a professional. Apr 20, 2 Minute Read. Reply 9.

Taylor Carpenter This person is a verified professional. Track Progress.

Your Answer

Earn Credits. Connect to your Cisco Devices. Step 2: Step 3: Find the IP Address.