Downloading ARP tables from switches in '/home/tc/iplist.txt' Connecting to switch: '192.168.1.20', vlan: '1' Connecting to switch: '192.168.1.10', vlan: '1' Connecting to switch: '192.168.1.1', vlan: '1' Connecting to switch: '192.168.1.30', vlan: '1' Connecting to switch: '172.17.100.45', vlan: '1' Connecting to switch: '172.17.100.45', vlan: '100' Checking if 'snmpwalk' is running ! Done! Downloading MAC nad port tables from switches in '/home/tc/iplist.txt' Connecting to switch: '192.168.1.20', vlan: '1' Connecting to switch: '192.168.1.10', vlan: '1' Connecting to switch: '192.168.1.1', vlan: '1' Connecting to switch: '192.168.1.30', vlan: '1' Connecting to switch: '172.17.100.45', vlan: '1' Connecting to switch: '172.17.100.45', vlan: '100' Checking if 'snmpwalk' is running ! Done! Please wait, merging MAC tables from different VLANs found in directory '/home/tc/MIB-Tables' to single MAC table takes time Please wait, parsing MACs in directory '/home/tc/MIB-Tables' and ARP tables in '/home/tc/ARP-Tables' takes time +++ Switch: '192.168.1.20' including trunk port(s) +++ Gi0/0,00 00 AB 24 80 01,192.168.1.10 Gi0/0,00 00 AB 4C 54 00,192.168.1.11 Gi0/0,00 00 AB 4D 80 01,192.168.1.1 Gi0/0,00 00 AB 5D C2 00,192.168.1.4 Gi0/3,00 00 AB 5F 40 00,192.168.1.7 Gi0/0,00 00 AB 65 C4 00,192.168.1.8 Gi0/2,00 00 AB 6A A9 00,192.168.1.6 Gi0/0,00 00 AB 74 80 01,192.168.1.30 Gi0/0,00 00 AB 84 CE 00,192.168.1.3 Gi0/1,00 00 AB 8A 90 00,192.168.1.5 Gi0/0,00 00 AB 90 2B 00,192.168.1.12 Gi0/0,00 00 AB 90 BD 00,192.168.1.9 Gi0/0,00 00 AB C7 D4 00,192.168.1.2 +++ Switch: '192.168.1.10' including trunk port(s) +++ Gi0/0,00 00 AB 4C 54 00,192.168.1.11 Gi0/0,00 00 AB 4D 80 01,192.168.1.1 Gi0/3,00 00 AB 4F 80 01,192.168.1.20 Gi0/2,00 00 AB 5D C2 00,192.168.1.4 Gi0/3,00 00 AB 5F 40 00,192.168.1.7 Gi0/0,00 00 AB 65 C4 00,192.168.1.8 Gi0/3,00 00 AB 6A A9 00,192.168.1.6 Gi0/0,00 00 AB 74 80 01,192.168.1.30 Gi0/1,00 00 AB 84 CE 00,192.168.1.3 Gi0/3,00 00 AB 8A 90 00,192.168.1.5 Gi0/0,00 00 AB 90 2B 00,192.168.1.12 Gi0/0,00 00 AB 90 BD 00,192.168.1.9 Gi0/0,00 00 AB C7 D4 00,192.168.1.2 +++ Switch: '192.168.1.1' including trunk port(s) +++ Gi0/3,00 00 AB 24 80 01,192.168.1.10 Gi1/0,00 00 AB 4C 54 00,192.168.1.11 Gi0/3,00 00 AB 4F 80 01,192.168.1.20 Gi0/3,00 00 AB 5D C2 00,192.168.1.4 Gi0/3,00 00 AB 5F 40 00,192.168.1.7 Gi0/2,00 00 AB 65 C4 00,192.168.1.8 Gi0/3,00 00 AB 6A A9 00,192.168.1.6 Gi1/0,00 00 AB 74 80 01,192.168.1.30 Gi0/3,00 00 AB 84 CE 00,192.168.1.3 Gi0/3,00 00 AB 8A 90 00,192.168.1.5 Gi1/0,00 00 AB 90 2B 00,192.168.1.12 Gi0/1,00 00 AB 90 BD 00,192.168.1.9 Gi1/1,00 00 AB C7 D4 00,192.168.1.2 +++ Switch: '192.168.1.30' including trunk port(s) +++ Gi0/0,00 00 AB 24 80 01,192.168.1.10 Gi0/2,00 00 AB 4C 54 00,192.168.1.11 Gi0/0,00 00 AB 4D 80 01,192.168.1.1 Gi0/0,00 00 AB 4F 80 01,192.168.1.20 Gi0/0,00 00 AB 5D C2 00,192.168.1.4 Gi0/0,00 00 AB 5F 40 00,192.168.1.7 Gi0/0,00 00 AB 65 C4 00,192.168.1.8 Gi0/0,00 00 AB 6A A9 00,192.168.1.6 Gi0/0,00 00 AB 84 CE 00,192.168.1.3 Gi0/0,00 00 AB 8A 90 00,192.168.1.5 Gi0/1,00 00 AB 90 2B 00,192.168.1.12 Gi0/0,00 00 AB 90 BD 00,192.168.1.9 Gi0/0,00 00 AB C7 D4 00,192.168.1.2 +++ Switch: '172.17.100.45' including trunk port(s) +++ Fa0/22,00 30 88 17 9D E8, Fa0/22,68 5D 43 AD AF C5,172.17.100.2 Fa0/22,94 44 52 4A D1 54, Fa0/23,00 17 9A 3A 89 FE,192.168.100.1 Deleting trunk ports from files located in directory 'result' Note! Port 'Fa0/22' on switch '172.17.100.45' is trunk and it has '3' MAC addresses connected, removing port 'Fa0/22' from 'result/switch_172.17.100.45.csv' Note! Port 'Gi0/3' on switch '192.168.1.1' is trunk and it has '7' MAC addresses connected, removing port 'Gi0/3' from 'result/switch_192.168.1.1.csv' Note! Port 'Gi1/0' on switch '192.168.1.1' is trunk and it has '3' MAC addresses connected, removing port 'Gi1/0' from 'result/switch_192.168.1.1.csv' Note! Port 'Gi0/0' on switch '192.168.1.10' is trunk and it has '7' MAC addresses connected, removing port 'Gi0/0' from 'result/switch_192.168.1.10.csv' Note! Port 'Gi0/3' on switch '192.168.1.10' is trunk and it has '4' MAC addresses connected, removing port 'Gi0/3' from 'result/switch_192.168.1.10.csv' Note! Port 'Gi0/0' on switch '192.168.1.20' is trunk and it has '10' MAC addresses connected, removing port 'Gi0/0' from 'result/switch_192.168.1.20.csv' Note! Port 'Gi0/0' on switch '192.168.1.30' is trunk and it has '11' MAC addresses connected, removing port 'Gi0/0' from 'result/switch_192.168.1.30.csv' Displaying content of files stored in directory '/home/tc/result' +++ Switch: '172.17.100.45' with '1' host(s) connected ++++ Fa0/23,00 17 9A 3A 89 FE,192.168.100.1 +++ Switch: '192.168.1.1' with '3' host(s) connected ++++ Gi0/2,00 00 AB 65 C4 00,192.168.1.8 Gi0/1,00 00 AB 90 BD 00,192.168.1.9 Gi1/1,00 00 AB C7 D4 00,192.168.1.2 +++ Switch: '192.168.1.10' with '2' host(s) connected ++++ Gi0/2,00 00 AB 5D C2 00,192.168.1.4 Gi0/1,00 00 AB 84 CE 00,192.168.1.3 +++ Switch: '192.168.1.20' with '3' host(s) connected ++++ Gi0/3,00 00 AB 5F 40 00,192.168.1.7 Gi0/2,00 00 AB 6A A9 00,192.168.1.6 Gi0/1,00 00 AB 8A 90 00,192.168.1.5 +++ Switch: '192.168.1.30' with '2' host(s) connected ++++ Gi0/2,00 00 AB 4C 54 00,192.168.1.11 Gi0/1,00 00 AB 90 2B 00,192.168.1.12 Note! Script finished, check result in directory '/home/tc/result'