Table: sFlow record fields describes sFlow record used and exported:
| Record | Field | Value | 
|---|---|---|
sFlow Datagram Header (SAP and port)  | 
Datagram version  | 
5  | 
Agent Address  | 
Active CPM IPv4 address (from BoF)  | 
|
Sub-agent ID  | 
0  | 
|
Sequence number  | 
CPM inserted sFlow datagram sequence number  | 
|
SysUptime  | 
SysUptime when the counters for records included in the datagram were collected by the line card  | 
|
NumSamples  | 
Number of counter records in the datagram  | 
|
Counter header (SAP and Port)  | 
Enterprise  | 
0 (standard sFlow)  | 
sFlow Sample Type  | 
4 (Expanded counter sample)  | 
|
Sample Length  | 
sFlow packet size excluding header  | 
|
Sequence number  | 
Line card-inserted sequence number  | 
|
Source ID Type  | 
0  | 
|
Source ID Index  | 
tmnxPortId of the physical port (sFlow data source)  | 
|
Counter records  | 
Count of counter records in the datagram  | 
|
Ethernet Interface Counters (EIC) – port (Ethernet Layer)  | 
Enterprise  | 
Statistics returned are based on dot3StatsEntry in EtherLike-MIB.mib. Statistics support may depend on hardware type.  | 
Format  | 
||
Flow data length  | 
||
Alignment Errors  | 
||
FCS Errors  | 
||
Single Collision Frames  | 
||
Multiple Collision Frames  | 
||
SQE Test Errors  | 
||
Deferred Transmissions  | 
||
Late Collisions  | 
||
Excessive Collisions  | 
||
Internal Mac Transmit Errors  | 
||
Carrier Sense Errors  | 
||
Frame Too Longs  | 
||
Internal Mac Receive Errors  | 
||
Symbol Errors  | 
||
Generic Interface Counters (GIC) – port/SAP  | 
Enterprise  | 
0 (standard sFlow)  | 
Format  | 
1 (GIC)  | 
|
Flow data length  | 
88  | 
|
ifIndex  | 
Port: ifIndex (tmnxPortId) of phys port SAP: SapEncapValue - part of SAP SNMP key  | 
|
ifType  | 
Port: 6 (EthernetCsmacd) SAP: 1 (Other)  | 
|
ifSpeed  | 
Port: Port speed value SAP: 
 The values plus ifIndex in the record are SAP SNMP key. SapPortId is LAG’s tmnxPortId for SAPs on a LAG and port’s tmnxPortId for SAPs on physical port  | 
|
ifDirection  | 
Derived from MAU MIB (0 = unknown, 1 = full duplex, 2 = half duplex, 3 = in, 4 = out)  | 
|
ifAdminStatus  | 
0 (down) 1 (up)  | 
|
ifOperStatus  | 
0 (down) 1 (up)  | 
|
Input Octets  | 
Statistics return for port are based on ifEntry or ifXEntry in IF-MIB.mib as applicable. Statistics returned for SAPs are sum of counters based on the sFlow ingress/egress counter map configured.  | 
|
Input Packets  | 
||
Input Multicast packets  | 
||
Input Broadcast packets  | 
||
Input Discarded packets  | 
||
Generic Interface Counters (GIC) – port/SAP (Continued)  | 
Input Errors  | 
Statistics return for port are based on ifEntry or ifXEntry in IF-MIB.mib as applicable. Statistics returned for SAPs are sum of counters based on the sFlow ingress/egress counter map configured.  | 
Input Unknown Protocol Packets  | 
||
Output Octets  | 
||
Output Packets  | 
||
Output Multicast packets  | 
||
Output Broadcast packets  | 
||
Output Discarded packets  | 
||
Output Errors  | 
||
Promiscuous Mode  | 
0 (FALSE)  | 
0 is returned for statistics that are not supported by a specific hardware type.
If required, CPM executes rollover logic to convert internal 64-bit counters to a 32-bit sFlowd counter returned.