On Thu, 09 Sep 2010 10:19:27 -0700 Wes Hardaker <harda...@users.sourceforge.net> wrote:
> >>>>> On Tue, 7 Sep 2010 15:17:01 -0700, Stephen Hemminger > >>>>> <shemmin...@vyatta.com> said: > > SH> It is a zero-length string unless admin has set it through > SH> ip link set dev eth0 alias 'my network interface' > SH> or via sysfs > SH> echo 'some string' >/sys/class/net/eth0/ifalias > > SH> The point is the OS doesn't set it > > No, my point is that the MIB actually sort of indicates it shouldn't > come from a system derived string in the first place. IE, it's a > "SNMP management side thing only". That being said, I think that's as > stupid rule and I'd be happy to take the patch as I think it's more > useful. My interpretation of the text, though, says that it should > remain initial blank until a manager modifies it. But... I'm a single > opinion advocating for a rule I don't even like. So forget it! FYI - Cisco IOS fills in ifAlias with value from interface description. interface GigabitEthernet0/2 description ... That is what Vyatta is trying to support. Our shell based on bash uses scripting to set value in kernel. This allows value to persist and allows it to show up in other commands. CLI => kernel => snmpd ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders