On Thu, Mar 17, 2011, at 15:57:44PM GMT+01:00, Morten Brekkevold wrote:
We could go about this another way as well. If you look at each individual switch port, NAV has assigned a port number to it, based on the port number found in BRIDGE-MIB (this number is unique across the IP device, even when it has multiple modules).
You are referring to dot1dBasePort, yes?
If a device doesn't reply to ifName, but a bridge port number was found, it could substitute the port number for the ifName value - only falling back to ifDescr if it's not a switch port. What do you think?
Yes, that sounds good. If this happens, maybe one should also keep the ifDescr in the «IP Device Info»-section?
Are the port numbers NAV has found for your switch reasonable?
If you're referring to «Port» in the «IP Device Info»-section, then yes, it's reasonable (it's an integer, going from 1 through 26).