If you are a Linux user I wrote a python script that takes the output ofĪdded code to create a json file.Use a tool like nmap or angry IP to ping all addresses in the subnet.Most devices ignore a broadcast ping for security reasons but I've found that the fire alarms and Environmental Montioring Systems (EMS) that I am interested in do respond to ping x.x.x.255 (for a /24). Ping the broadcast mask on the core before running the "sh ip arp".You may need to ping each device to refresh the ARP cache. One drawback is that devices will time out of the ARP cache if they aren't active. Tecmint is a great site for Linux information. Here is a link to a review of Linux Diff tools - 9 Best File Comparison and Difference (Diff) Tools for Linux. On Windows, Notepad++ is also a good tool. I use Meld on Linux\Windows to compare files. You can include the vlan in the "show ip arp" if you are only working on one vlan. This script makes it easy (and fast) to compare the before and after since it only contains the IP/MAC and is sorted by IP address. I run a 'sh ip arp' before the cut and then 'sh ip arp' on the new switch and compare them to make sure all critical servers/devices are working. I use the ARP table when I'm replacing a core switch. This table is useful for troubleshooting but the switch doesn't sort the output and includes some fields like "Protocol" and "Type" that are always going to be the same on an Ethernet/TCP/IP network. Converts "show ip arp" to a sorted list of IP and MAC addresses.Ī switch running a routing protocol maintains an ARP table that maps mac addresses to IP addresses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |