Symptom
The port-channel interfaces on the Nexus1000v do not have interface SNMP MIB counters; for port-channel interfaces, only the interface attributes such as description, type, mtu and mac address are available:
[root@bloober ~]# snmpwalk -v 2c -c public 192.168.3.233 1.3.6.1.2.1.2 | grep 369098762
IF-MIB::ifIndex.369098762 = INTEGER: 369098762
IF-MIB::ifDescr.369098762 = STRING: port-channel11
IF-MIB::ifType.369098762 = INTEGER: propVirtual(53)
IF-MIB::ifMtu.369098762 = INTEGER: 1500
IF-MIB::ifSpeed.369098762 = Gauge32: 4294967295
IF-MIB::ifPhysAddress.369098762 = STRING: 0:50:56:51:0:8f
IF-MIB::ifAdminStatus.369098762 = INTEGER: up(1)
IF-MIB::ifOperStatus.369098762 = INTEGER: up(1)
IF-MIB::ifLastChange.369098762 = Timeticks: (0) 0:00:00.00
IF-MIB::ifOutQLen.369098762 = Gauge32: 0
IF-MIB::ifSpecific.369098762 = OID: SNMPv2-SMI::zeroDotZero
[root@bloober ~]#
The member ports of the port-channel do have counters such as IF-MIB::ifInOctets and IF-MIB::ifInUcastPkts, even the vethernet interfaces have those counters. On the Nexus7000, the port-channel interfaces have SNMP MIB counters.
The SNMP MIN interface counters for port-channel interfaces should also have 64-bit counters.
Conditions
SNMP MIB counters for port-channel interfaces.
Workaround
Aggregate the counters from the member interfaces of the port-channel.