[c-nsp] SNMP and interface description - IOS-XR

Tony Tauber ttauber at 1-4-5.net
Tue Jan 20 21:29:56 EST 2015


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 <jared at puck.nether.net> wrote:

>
> > On Jan 20, 2015, at 4:27 PM, Peter Rathlev <peter at rathlev.dk> 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
>
>


More information about the cisco-nsp mailing list