Open redaxhu opened 7 months ago
Hi @redaxhu many thanks for this! Can you let me know why Layer3::MIBS is needed? It seems a bit odd for the Layer2::CiscoSB class to import that, and I wonder if it's a specific MIB we can just import that instead. (personally I do believe the whole Layer2/Layer3 business is not helpful but we have it in the design)
Hi @ollyg , actually you are right, it is working without using the Layer3 too. somehow I though I need Layer3 to access the i_alias() fn.
Expected Behavior
The Cisco Small Business Sx200-300-500 switch lines return the port description in ifAlias and the current CiscoSB class not using at all.
SNMP::Info::Layer2::CiscoSB should return ifAlias if it exists in the switch, instead of ifDescription.
Current Behavior
same ifName and ifDescr returned
Possible Solution
add the following to SNMP/Info/Layer2/CiscoSB.pm:
Your Environment