I'm trying to use this script to extract port to vlan information on some Extreme switches I have.
I have a stack of 4 x X440 extreme switches which have the following ports tagged in a vlan:
1:45
1:48
3:48
The Interface vlan id is: 1000034.
When running the following code:
print_r($snmpHost->useExtreme_Vlan()->getTaggedPortsForVlan(1000034));
We get an array returned with 96 entries indexed from 1001 - 1048 and 2001 - 2048 all of them set to false. The first issues is there should be 192 ports, but I think the ordering is also incorrect as the first 92 ports should have some tagged vlans.
If I manually walk the OID I can see data which looks more correct, e.g.
I'm trying to use this script to extract port to vlan information on some Extreme switches I have.
I have a stack of 4 x X440 extreme switches which have the following ports tagged in a vlan:
1:45 1:48 3:48
The Interface vlan id is: 1000034.When running the following code:
print_r($snmpHost->useExtreme_Vlan()->getTaggedPortsForVlan(1000034));
We get an array returned with 96 entries indexed from 1001 - 1048 and 2001 - 2048 all of them set to false. The first issues is there should be 192 ports, but I think the ordering is also incorrect as the first 92 ports should have some tagged vlans.
If I manually walk the OID I can see data which looks more correct, e.g.
I therefore suspect that function opaqueTaggedPorts() which in turn calls subOidWalk() isn't returning all the data. I've tried
Any help or advice much appreciated.
Jona