[c-nsp] SNMP Question

Per Carlson pelle at hemmop.com
Fri Feb 4 03:17:17 EST 2011

Hi Scott.

> I have found that for my 3845 (running 15.0) with PRI in slots 0/0/0 I can
> use OID


The table you are polling is cpmDS0UsageTable where each entry is indexed like:

cpmDS0UsageEntry OBJECT-TYPE
    DESCRIPTION  "An entry in the DS0 Usage table."
    INDEX {cpmDS1SlotIndex, cpmDS1PortIndex, cpmChannelIndex }

As Jeffery proposed, walk this table ( to find
the OIDs. The table contain a mapping (cpmAssociatedInterface) to
ifIndex. That way you can figure out which slot/post/channel index
corresponds to which interfacce of the router.

To find the ifIndex of the interfaces, walk the OID ifDescr
( The last ".N" in the OIDs in that table are the


RFC1925, truth 11:
 Every old idea will be proposed again with a different name and
 a different presentation, regardless of whether it works.

More information about the cisco-nsp mailing list