|
From: Marco Shaw on 15 Apr 2008 15:01 I did a complete SNMP walk of a device. I'm trying to determine where the Sup IIIG cards are located on the device. For example, here�s what one device returned to me: UNIX> grep "X5550" cat.dmp entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry.entPhysicalDescr.1000 : DISPLAY STRING- (ascii): WS-X5550 1000BaseX Supervisor IIIG Rev. 1.2 entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry.entPhysicalDescr.3000 : DISPLAY STRING- (ascii): WS-X5550 1000BaseX Supervisor IIIG Rev. 1.2 cisco.workgroup.ciscoStackMIB.moduleGrp.moduleTable.moduleEntry.moduleModel.1 : DISPLAY STRING- (ascii): WS-X5550 cisco.workgroup.ciscoStackMIB.moduleGrp.moduleTable.moduleEntry.moduleModel.2 : DISPLAY STRING- (ascii): WS-X5550 I'm not sure what the 1000 and 3000 represent? Or perhaps the "moduleModel.1" is something I need instead� Now, I'm having a problem trying to map the errors to the correct card/port though. From SNMP: .... transmission.dot3.dot3StatsTable.dot3StatsEntry.dot3StatsInternalMacTransmitErrors.3 : Counter: 0 transmission.dot3.dot3StatsTable.dot3StatsEntry.dot3StatsInternalMacTransmitErrors.4 : Counter: 0 .... The count/integer starts at 3 for this particular CAT� How can I determine programatically what is the correct port/interface that I need to query to get the transmit/receive errors for the ports associated with the Sup IIIG? Marco
From: Bod43 on 16 Apr 2008 07:54 On 15 Apr, 21:01, Marco Shaw <marco.shaw@_remove_gmail.com> wrote: > I did a complete SNMP walk of a device. I'm trying to determine where > the Sup IIIG cards are located on the device. > > For example, here's what one device returned to me: > UNIX> grep "X5550" cat.dmp > entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry-.entPhysicalDescr.1000 > : DISPLAY STRING- (ascii): WS-X5550 1000BaseX Supervisor IIIG Rev. 1.2 > entityMIB.entityMIBObjects.entityPhysical.entPhysicalTable.entPhysicalEntry-.entPhysicalDescr.3000 > : DISPLAY STRING- (ascii): WS-X5550 1000BaseX Supervisor IIIG Rev. 1.2 > cisco.workgroup.ciscoStackMIB.moduleGrp.moduleTable.moduleEntry.moduleModel-.1 > : DISPLAY STRING- (ascii): WS-X5550 > cisco.workgroup.ciscoStackMIB.moduleGrp.moduleTable.moduleEntry.moduleModel-.2 > : DISPLAY STRING- (ascii): WS-X5550 > > I'm not sure what the 1000 and 3000 represent? Or perhaps the > "moduleModel.1" is something I need instead... > > Now, I'm having a problem trying to map the errors to the correct > card/port though. > > From SNMP: > ... > transmission.dot3.dot3StatsTable.dot3StatsEntry.dot3StatsInternalMacTransmi-tErrors.3 > : Counter: 0 > transmission.dot3.dot3StatsTable.dot3StatsEntry.dot3StatsInternalMacTransmi-tErrors.4 > : Counter: 0 > ... > > The count/integer starts at 3 for this particular CAT... > > How can I determine programatically what is the correct port/interface > that I need to query to get the transmit/receive errors for the ports > associated with the Sup IIIG? > > Marco The SNMP index numbers are assigned arbitrarily and may be different from one boot to the next. I think that the newer kit may have a better scheme. You need to look at ..iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifIndex ..iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr I am not sure how to drive it all properly but if you do a walk of ..iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry You will see that by using the results from ..iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifIndex and ..iso.org.dod.internet.mgmt.mib-2.interfaces.ifTable.ifEntry.ifDescr You could figure out the index of each interface. Ther are very likely Cisco Private equivalents. 3750 that I am looking at has what appears to be a better scheme Index Int 1 Vl1 100 Vl100 10101 Gi 1/0/1 10128 Gi 1/0/28 10601 Gi 2/0/1 11101 Gi 3/0/1 .... So maybe they don't randomly change in this case.
|
Pages: 1 Prev: high availability Internet connection Next: Concentrator 3000 question ?? |