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

Jared Mauch jared at puck.nether.net
Tue Jan 20 16:44:39 EST 2015


> 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