FYI, if you like to be able to get more than 64 bytes, use snmp-server ifmib ifalias long <http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.7/system_management/command/reference/yr37snmp.html#wp1143236> .
Tony On Tue, Jan 20, 2015 at 4:44 PM, Jared Mauch <[email protected]> wrote: > > > On Jan 20, 2015, at 4:27 PM, Peter Rathlev <[email protected]> wrote: > > > > On Tue, 2015-01-20 at 19:13 +0200, Hank Nussbacher wrote: > >> In IOS 12.2(33)SRE7a in order to read an interface description we did: > >> snmpwalk -v 2c -c <snmp read community> rtr1 .1.3.6.1.4.1.9.2.2.1.1.28 > >> > >> [This is the Cisco specific locIfDescr] > >> > >> SNMPv2-SMI::enterprises.9.2.2.1.1.28.3 = STRING: "vidcast via > >> vidcast-pix (Rack #6)" > >> > >> but we can't find the proper MIB in Cisco IOS XR Software, Version > 5.1.3. > > > > This might be a stupid question but is there any specific reason not to > > just use IF-MIB::ifAlias? > > > > The locIfDescr is from OLD-CISCO-INTERFACES-MIB and has probably been > > deprecated for some time now. > > This is what we use, we collect some information from interfaces MIB > and the balance from the ifMIB. > > - Jared > > _______________________________________________ cisco-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/cisco-nsp archive at http://puck.nether.net/pipermail/cisco-nsp/
