Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

RE: OID for traffic monitoring of a sub interface of a 7401 router

Hi Rizwan,

I've tried a snmpwalk for ifInOctets/ifOutOctects before and I could only retrieve traffic information up to four interfaces only namely: GigabitEthernet0/0, GigabitEthernet0/1, Null0 and Loopback0. The MIB tree in my 7401 router does not contain sub-interfaces (i.e. GigabitEthernet0/1.201) traffic information on "IfInOctets, IfInOctets etc".

I could only retrieve ifDescr, ifType, ifSpeed etc info for the sub interfaces.

The current IOS on my 7401: Version 12.2(4)B2 EARLY DEPLOYMENT RELEASE.

Kindly advise. Thks.

2 REPLIES
Blue

Re: RE: OID for traffic monitoring of a sub interface of a 7401

How about the snmpwalk output ?

New Member

Re: RE: OID for traffic monitoring of a sub interface of a 7401

Snmpwalk (V1) output:

interfaces.ifTable.ifEntry.ifInOctets.1 = Counter32: 1866738103

interfaces.ifTable.ifEntry.ifInOctets.2 = Counter32: 391404844

interfaces.ifTable.ifEntry.ifInOctets.3 = Counter32: 0

interfaces.ifTable.ifEntry.ifInOctets.4 = Counter32: 0

interfaces.ifTable.ifEntry.ifInUcastPkts.1 = Counter32: 91515768

interfaces.ifTable.ifEntry.ifInUcastPkts.2 = Counter32: 112897201

interfaces.ifTable.ifEntry.ifInUcastPkts.3 = Counter32: 0

interfaces.ifTable.ifEntry.ifInUcastPkts.4 = Counter32: 0

interfaces.ifTable.ifEntry.ifInNUcastPkts.1 = Counter32: 0

interfaces.ifTable.ifEntry.ifInNUcastPkts.2 = Counter32: 0

interfaces.ifTable.ifEntry.ifInNUcastPkts.3 = Counter32: 0

interfaces.ifTable.ifEntry.ifInNUcastPkts.4 = Counter32: 0

Snmpwalk (V2c) output:

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.1 = Counter64: 36242366924

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.2 = Counter64: 34760034539

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInOctets.4 = Counter64: 0

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInUcastPkts.1 = Counter64: 91546113

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInUcastPkts.2 = Counter64: 112936995

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCInUcastPkts.4 = Counter64: 0

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.1 = Counter64: 28644067552

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.2 = Counter64: 43364990877

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutOctets.4 = Counter64: 0

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutUcastPkts.1 = Counter64: 77363337

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutUcastPkts.2 = Counter64: 94712829

ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifHCOutUcastPkts.4 = Counter64: 0

187
Views
0
Helpful
2
Replies