Hi,
Great app,
We recently rolled out a large number of Aruba switches.
the arubaswitchscraper.pl script for them doesn't seem to able to read the mac addresses table correctly.
The mac table looks like this :
MAC Address Port VLAN
00155d-b05300 2/27 100
but the script is looking for this format : ?
if ( $line =~ /(\w\w\:){5}|(\w\w\w\w.\w\w\w\w.\w\w\w\w)/ ) {
which means 1234.5678.9012 ?
Anyone got a fix for this ?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Great app,
We recently rolled out a large number of Aruba switches.
the arubaswitchscraper.pl script for them doesn't seem to able to read the mac addresses table correctly.
The mac table looks like this :
MAC Address Port VLAN
00155d-b05300 2/27 100
but the script is looking for this format : ?
if ( $line =~ /(\w\w\:){5}|(\w\w\w\w.\w\w\w\w.\w\w\w\w)/ ) {
which means 1234.5678.9012 ?
Anyone got a fix for this ?
Thanks
This should do the trick
if ( $line =~ /(\w\w\:){5}|(\w\w\w\w\w\w-\w\w\w\w\w\w) {