On 28.08.2013 17:07, Adam Armstrong wrote:
On 2013-08-28 12:49, Chris wrote:
Hi There,

I like seeing the Average Packet Size on Ports since 4361.
But unfortunately I don't have data in graphs for all devices.

It's working on:
- 6500 VSS (Ten/Gig/Vlan/Po) (IOS 15.0)
- ASA 55xx
- Servers (Linux)
- Riverbeds (Linux)
- Cisco-WLAN-Controllers

It's NOT working (empty graph) on:
- 4500  (Ten/Gig/Po)
- ASR1001 (Gig/Tu) (IOS 15.3S)
- 7301 (Gig/Tu) (IOS 15.1M)
- 28xx (Gig/Tu) (IOS 15.0M)
- 18xx (Fa/Tu) (IOS 12.4T)

Especially on our VPN-Rouers (73/28/ASR) this would be helpful.

How can I debug some more things to get it working?
Or how can I support you with information that you get it to work?

The graph relies on if[In|Uut][U|NU]castPkts existing on the host. If they're not populated, it won't work.

There isn't really a fix if the devices don't expose those counters.
Hi Adam,

I think it's not a good idea to use the NUcastPkts Counters.

in 32bit-counters the NUcast counters are deprecated - see IF-MIB:

ifInNUcastPkts OBJECT-TYPE
    SYNTAX  Counter32
    MAX-ACCESS  read-only
    STATUS      deprecated
    DESCRIPTION
            "The number of packets, delivered by this sub-layer to a
            higher (sub-)layer, which were addressed to a multicast or
            broadcast address at this sub-layer.
 
            Discontinuities in the value of this counter can occur at
            re-initialization of the management system, and at other
            times as indicated by the value of
            ifCounterDiscontinuityTime.
 
            This object is deprecated in favour of ifInMulticastPkts and
            ifInBroadcastPkts."
    ::= { ifEntry 12 }
 
and there aren't any NUcastPkts-Counters in the 64bit-section (HC-counters).
And as you know its really not a good idea to poll 32bit counters on ports over 100Mbit/s.

and yes - our 6500 has NUcastPkts-Counters.... and they are 32-bits... on 10Gig/s-Links...... however....

So I think moving  from NUcastPkts to [Multicast|Broadcast]Pkts could be a good idea.

i did some walks on an cisco-1812:

server:~ # snmpwalk -v 2c -c xxx  router IF-MIB::ifName
IF-MIB::ifName.1 = STRING: Fa0
IF-MIB::ifName.2 = STRING: Fa1
IF-MIB::ifName.3 = STRING: BR0
IF-MIB::ifName.4 = STRING: BR0:1
IF-MIB::ifName.5 = STRING: BR0:2
IF-MIB::ifName.6 = STRING: Fa2
IF-MIB::ifName.7 = STRING: Fa3
IF-MIB::ifName.8 = STRING: Fa4
IF-MIB::ifName.9 = STRING: Fa5
IF-MIB::ifName.10 = STRING: Fa6
IF-MIB::ifName.11 = STRING: Fa7
IF-MIB::ifName.12 = STRING: Fa8
IF-MIB::ifName.13 = STRING: Fa9
IF-MIB::ifName.14 = STRING: Nu0
IF-MIB::ifName.15 = STRING: Vl1
IF-MIB::ifName.16 = STRING: Lo0
IF-MIB::ifName.17 = STRING: Tu10052083
IF-MIB::ifName.18 = STRING: Tu10052204
IF-MIB::ifName.19 = STRING: Tu10052231
IF-MIB::ifName.20 = STRING: Tu10052233
IF-MIB::ifName.21 = STRING: Tu10052238
IF-MIB::ifName.22 = STRING: Tu10052240
IF-MIB::ifName.23 = STRING: Tu10052242
IF-MIB::ifName.24 = STRING: Tu10052244
IF-MIB::ifName.25 = STRING: Tu10052248
IF-MIB::ifName.26 = STRING: Tu10052250
IF-MIB::ifName.27 = STRING: Tu10052252
IF-MIB::ifName.28 = STRING: BR0
IF-MIB::ifName.29 = STRING: BR0
IF-MIB::ifName.30 = STRING: BR0:1
IF-MIB::ifName.31 = STRING: BR0:2
 
 
server:~ # snmpwalk -v 2c -c xxx router IF-MIB::ifInUcastPkts
IF-MIB::ifInUcastPkts.1 = Counter32: 0
IF-MIB::ifInUcastPkts.2 = Counter32: 268264150
IF-MIB::ifInUcastPkts.3 = Counter32: 0
IF-MIB::ifInUcastPkts.4 = Counter32: 0
IF-MIB::ifInUcastPkts.5 = Counter32: 0
IF-MIB::ifInUcastPkts.6 = Counter32: 0
IF-MIB::ifInUcastPkts.7 = Counter32: 0
IF-MIB::ifInUcastPkts.8 = Counter32: 0
IF-MIB::ifInUcastPkts.9 = Counter32: 0
IF-MIB::ifInUcastPkts.10 = Counter32: 0
IF-MIB::ifInUcastPkts.11 = Counter32: 0
IF-MIB::ifInUcastPkts.12 = Counter32: 0
IF-MIB::ifInUcastPkts.13 = Counter32: 0
IF-MIB::ifInUcastPkts.14 = Counter32: 0
IF-MIB::ifInUcastPkts.15 = Counter32: 0
IF-MIB::ifInUcastPkts.16 = Counter32: 0
IF-MIB::ifInUcastPkts.17 = Counter32: 5287961
IF-MIB::ifInUcastPkts.18 = Counter32: 40350643
IF-MIB::ifInUcastPkts.19 = Counter32: 5659588
IF-MIB::ifInUcastPkts.20 = Counter32: 5231365
IF-MIB::ifInUcastPkts.21 = Counter32: 5988201
IF-MIB::ifInUcastPkts.22 = Counter32: 4167718
IF-MIB::ifInUcastPkts.23 = Counter32: 5782312
IF-MIB::ifInUcastPkts.24 = Counter32: 12151794
IF-MIB::ifInUcastPkts.25 = Counter32: 8981664
IF-MIB::ifInUcastPkts.26 = Counter32: 6496661
IF-MIB::ifInUcastPkts.27 = Counter32: 7255653
IF-MIB::ifInUcastPkts.29 = Counter32: 0
 
server:~ # snmpwalk -v 2c -c xxx  router IF-MIB::ifHCInUcastPkts
IF-MIB::ifHCInUcastPkts.1 = Counter64: 0
IF-MIB::ifHCInUcastPkts.2 = Counter64: 268264181
IF-MIB::ifHCInUcastPkts.6 = Counter64: 0
IF-MIB::ifHCInUcastPkts.7 = Counter64: 0
IF-MIB::ifHCInUcastPkts.8 = Counter64: 0
IF-MIB::ifHCInUcastPkts.9 = Counter64: 0
IF-MIB::ifHCInUcastPkts.10 = Counter64: 0
IF-MIB::ifHCInUcastPkts.11 = Counter64: 0
IF-MIB::ifHCInUcastPkts.12 = Counter64: 0
IF-MIB::ifHCInUcastPkts.13 = Counter64: 0
IF-MIB::ifHCInUcastPkts.15 = Counter64: 0
IF-MIB::ifHCInUcastPkts.16 = Counter64: 0
IF-MIB::ifHCInUcastPkts.17 = Counter64: 5287961
IF-MIB::ifHCInUcastPkts.18 = Counter64: 40350644
IF-MIB::ifHCInUcastPkts.19 = Counter64: 5659588
IF-MIB::ifHCInUcastPkts.20 = Counter64: 5231365
IF-MIB::ifHCInUcastPkts.21 = Counter64: 5988201
IF-MIB::ifHCInUcastPkts.22 = Counter64: 4167718
IF-MIB::ifHCInUcastPkts.23 = Counter64: 5782312
IF-MIB::ifHCInUcastPkts.24 = Counter64: 12151794
IF-MIB::ifHCInUcastPkts.25 = Counter64: 8981664
IF-MIB::ifHCInUcastPkts.26 = Counter64: 6496661
IF-MIB::ifHCInUcastPkts.27 = Counter64: 7255653
 
 
server:~ # snmpwalk -v 2c -c xxx router IF-MIB::ifHCInNUcastPkts
IF-MIB::ifHCInNUcastPkts: Unknown Object Identifier
 
 
server:~ # snmpwalk -v 2c -c xxx  router IF-MIB::ifHCInBroadcastPkts
IF-MIB::ifHCInBroadcastPkts.1 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.2 = Counter64: 125040985
IF-MIB::ifHCInBroadcastPkts.6 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.7 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.8 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.9 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.10 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.11 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.12 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.13 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.15 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.16 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.17 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.18 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.19 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.20 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.21 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.22 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.23 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.24 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.25 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.26 = Counter64: 0
IF-MIB::ifHCInBroadcastPkts.27 = Counter64: 0
 
server:~ # snmpwalk -v 2c -c xxx router IF-MIB::ifHCInMulticastPkts
IF-MIB::ifHCInMulticastPkts.1 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.2 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.6 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.7 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.8 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.9 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.10 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.11 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.12 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.13 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.15 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.16 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.17 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.18 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.19 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.20 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.21 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.22 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.23 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.24 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.25 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.26 = Counter64: 0
IF-MIB::ifHCInMulticastPkts.27 = Counter64: 0
 
 Greets,
Chris