Please add support for Arista EOS. It is almost identical to Cisco IOS but does not work with NetDB at the moment. A VM of EOS can be downloaded from their support web site and used to test against. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I’m kind of backed up at the moment, but if it really is that similar, you can try copying iosscraper.pl to aristascraper.pl, and then run it in full debug mode like this:
Debug level 5 should print out all the broken down fields received from the commands such as show mac address-table and show int status, if those commands are indeed the same. Careful because it might also print out your password, but if you can get some of that data, I will take a look and see if it’s a quick fix.
Please add support for Arista EOS. It is almost identical to Cisco IOS but does not work with NetDB at the moment. A VM of EOS can be downloaded from their support web site and used to test against. Thanks.
I did as you suggested. It looks like the output of "show mac address-table" is slightly different on Arista kit:
iosscraper.pl(2220): Getting the MAC Table on XXX
SSHCommand (command:show mac address-table) (timeout:60)
iosscraper.pl(2220): |DEBUG|: Unmatched Mac Table Fields: 1: 10 2: 000d.28bf.84ff 3: DYNAMIC 4: Et17 5: 1 6: 5 7: days 8: 2133
iosscraper.pl(2220): |DEBUG|: unparsed MAC data on XXX: 10 000d.28bf.84ff DYNAMIC Et17 1 5 days 2133 seconds ago
iosscraper.pl(2220): |DEBUG|: Unmatched Mac Table Fields: 1: 10 2: 0024.e8b5.be69 3: DYNAMIC 4: Et15 5: 1 6: 67027: seconds 8: ago
iosscraper.pl(2220): |DEBUG|: unparsed MAC data on XXX: 10 0024.e8b5.be69 DYNAMIC Et15 1 6702 seconds ago
iosscraper.pl(2220): |Warning|: No mac-address table data received from XXX: Use netdbctl -debug 2 for more info, or disable mac-address tables on XXX in the devicelist.csv with netdbnomac if unsupported on this device.
iosscraper.pl(2220): |DEBUG|: Bad mac-table-data: show mac address-table
Mac Address Table
Vlan Mac Address Type Ports Moves Last Move
---- ----------- ---- ----- ----- ---------
10 000d.28bf.84ff DYNAMIC Et17 1 5 days 2367 seconds ago
10 0024.e8b5.be69 DYNAMIC Et15 1 6937 seconds ago
Total Mac Addresses for this criterion: 2
Multicast Mac Address Table
Vlan Mac Address Type Ports
---- ----------- ---- -----
Total Mac Addresses for this criterion: 0
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi all does Arista EOS supported? I can't tell from the threads.. but I definitely have critical need for this :) if there is something specific I need to look at/modify to make it work, pls let me know thx
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Please add support for Arista EOS. It is almost identical to Cisco IOS but does not work with NetDB at the moment. A VM of EOS can be downloaded from their support web site and used to test against. Thanks.
Hey,
I’m kind of backed up at the moment, but if it really is that similar, you can try copying iosscraper.pl to aristascraper.pl, and then run it in full debug mode like this:
./aristascraper.pl -om /tmp/mac.csv -oi /tmp/int.csv -debug 5
Debug level 5 should print out all the broken down fields received from the commands such as show mac address-table and show int status, if those commands are indeed the same. Careful because it might also print out your password, but if you can get some of that data, I will take a look and see if it’s a quick fix.
Thanks
Hi,
I did as you suggested. It looks like the output of "show mac address-table" is slightly different on Arista kit:
iosscraper.pl(2220): Getting the MAC Table on XXX
SSHCommand (command:show mac address-table) (timeout:60)
iosscraper.pl(2220): |DEBUG|: Unmatched Mac Table Fields: 1: 10 2: 000d.28bf.84ff 3: DYNAMIC 4: Et17 5: 1 6: 5 7: days 8: 2133
iosscraper.pl(2220): |DEBUG|: unparsed MAC data on XXX: 10 000d.28bf.84ff DYNAMIC Et17 1 5 days 2133 seconds ago
iosscraper.pl(2220): |DEBUG|: Unmatched Mac Table Fields: 1: 10 2: 0024.e8b5.be69 3: DYNAMIC 4: Et15 5: 1 6: 67027: seconds 8: ago
iosscraper.pl(2220): |DEBUG|: unparsed MAC data on XXX: 10 0024.e8b5.be69 DYNAMIC Et15 1 6702 seconds ago
iosscraper.pl(2220): |Warning|: No mac-address table data received from XXX: Use netdbctl -debug 2 for more info, or disable mac-address tables on XXX in the devicelist.csv with netdbnomac if unsupported on this device.
iosscraper.pl(2220): |DEBUG|: Bad mac-table-data: show mac address-table
Vlan Mac Address Type Ports Moves Last Move
---- ----------- ---- ----- ----- ---------
10 000d.28bf.84ff DYNAMIC Et17 1 5 days 2367 seconds ago
10 0024.e8b5.be69 DYNAMIC Et15 1 6937 seconds ago
Total Mac Addresses for this criterion: 2
Vlan Mac Address Type Ports
---- ----------- ---- -----
Total Mac Addresses for this criterion: 0
Did anyone create a Arista AOS scraper? I wanted to check before investing time on it.
Thanks
hi all does Arista EOS supported? I can't tell from the threads.. but I definitely have critical need for this :) if there is something specific I need to look at/modify to make it work, pls let me know thx