Caligare home | What's Netflow | Formats | RFC | Configuration | Applications | Links | Netflow Forum

Netflow packet Version 8 (V8)

version 1 | version 5 | version 6 | version 7 | version 8 | version 9

Flow header format

BytesContentsDescription
0-1versionNetFlow export format version number
2-3countNumber of flows exported in this packet (1-30)
4-7sys_uptimeCurrent time in milliseconds since the export device booted
8-11unix_secsCurrent count of seconds since 0000 UTC 1970
12-15unix_nsecsResidual nanoseconds since 0000 UTC 1970
16-19flow_sequenceSequence counter of total flows seen
20engine_typeType of flow switching engine
21engine_idID number of the flow switching engine
22aggregationAggregation method being used
23agg_versionVersion of the aggregation export
24-27reservedUnused (zero) bytes

Router AS Flow Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-21src_asSource autonomous system number, either origin or peer; always set to zero
22-23dst_asDestination autonomous system number, either origin or peer; always set to zero
24-25inputSNMP index of input interface; always set to zero
26-27outputSNMP index of output interface

Router ProtoPort Flow Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20protIP protocol type (for example, TCP = 6; UDP = 17); set to zero if flow mask is destination-only or source-destination
21padUnused (zero) bytes
22-23reservedUnused (zero) bytes
24-25srcportTCP/UDP source port number; set to zero if flow mask is destination-only or source-destination
26-27dstportTCP/UDP destination port number; set to zero if flow mask is destination-only or source-destination

Router DstPrefix Flow Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-23dst_prefixDestination IP address prefix
24dst_maskDestination address prefix mask; always set to zero
25padUnused (zero) bytes
26-27dst_asDestination autonomous system number, either origin or peer; always set to zero
28-29outputSNMP index of output interface
30-31reservedUnused (zero) bytes

Router SrcPrefix Flow Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-23src_prefixSource IP address prefix
24src_maskSource address prefix mask; always set to zero
25padUnused (zero) bytes
26-27src_asSource autonomous system number, either origin or peer; always set to zero
28-29inputSNMP index of input interface; always set to zero
30-31reservedUnused (zero) bytes

Router Prefix Flow Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-23src_prefixSource IP address prefix
24-27dst_prefixDestination IP address prefix
28dst_maskSource address prefix mask; always set to zero
29src_maskDestination address prefix mask; always set to zero
30-31reservedUnused (zero) bytes
32-33src_asSource autonomous system number, either origin or peer; always set to zero
34-35dst_asDestination autonomous system number, either origin or peer; always set to zero
36-37inputSNMP index of input interface; always set to zero
38-39outputSNMP index of output interface

TosAS Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-21src_asSource autonomous system number, either origin or peer; always set to zero
22-23dst_asDestination autonomous system number, either origin or peer; always set to zero
24-25inputSNMP index of input interface; always set to zero
26-27outputSNMP index of output interface
28tosType of service
29padUnused (zero) bytes
30-31reservedUnused (zero) bytes

TosProtoPort Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20protIP protocol type (for example, TCP = 6; UDP = 17); set to zero if flow mask is destination-only or source-destination
21tosIP Type of Service
22-23reservedUnused (zero) bytes
24-25srcportTCP/UDP source port number; set to zero if flow mask is destination-only or source-destination
26-27dstportTCP/UDP destination port number; set to zero if flow mask is destination-only or source-destination
28-29inputSNMP index of input interface
30-31outputSNMP index of output interface

PrePortProtocol Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dpktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-23src_prefixSource IP address prefix
24-27dst_prefixDestination IP address prefix
28dst_maskDestination address prefix mask
29src_maskSource address prefix mask
30tosIP Type of Service
31protIP protocol type (for example, TCP = 6; UDP = 17); set to zero if flow mask is destination-only or source-destination
32-33srcportTCP/UDP source port number; set to zero if flow mask is destination-only or source-destination
34-35dstportTCP/UDP destination port number; set to zero if flow mask is destination-only or source-destination
36-37inputSNMP index of input interface
38-39outputSNMP index of output interface

TosSrcPrefix Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-23src_prefixSource IP address prefix
24src_maskSource address prefix mask
25tosIP Type of Service
26-27src_asSource autonomous system number, either origin or peer
28-29inputSNMP index of input interface
30-31reservedReserved for future use

TosDstPrefix Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-23dst_prefixDestination IP address prefix
24dst_maskDestination address prefix mask
25tosIP Type of Service
26-27dst_asDestination autonomous system number, either origin or peer
28-29outputSNMP index of output interface
30-31reservedUnused (zero) bytes

TosPrefix Record Format

BytesContentsDescription
0-3flowsNumber of flows
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-23src_prefixSource IP address prefix
24-27dst_prefixDestination IP address prefix
28dst_maskDestination address prefix mask
29src_maskSource address prefix mask
30tosIP Type of Service
31padUnused (zero) bytes
32-33src_asSource autonomous system number, either origin or peer
34-35dst_asDestination autonomous system number, either origin or peer
36-37inputSNMP index of input interface
38-39outputSNMP index of output interface

DestOnly Record Format

BytesContentsDescription
0-3dstaddrDestination IP address
4-7dPktsPackets in the flow
8-11dOctetsTotal number of Layer 3 bytes in the packets of the flow
12-15firstSysUptime, in seconds, at start of flow
16-19lastSysUptime, in seconds, at the time the last packet of the flow was received
20-21outputSNMP index of output interface
22tosIP Type of Service
23marked_tosType of Service of the packets that exceeded the contract
24-27extraPktsPackets that exceed the contract
28-31router_scIP address of the router that is bypassed by the Catalyst 5000 series switch. This is the same address the router uses when it sends NetFlow export packets. This IP address is propagated to all switches bypassing the router through the FCP protocol.

SrcDst Record Format

BytesContentsDescription
0-3dstaddrDestination IP address
4-7srcaddrSource IP address; in case of destination-only flows, set to zero
8-11dPktsPackets in the flow
12-15dOctetsTotal number of Layer 3 bytes in the packets of the flow
16-19firstSysUptime, in seconds, at start of flow
20-23lastSysUptime, in seconds, at the time the last packet of the flow was received
24-25outputSNMP index of output interface
26-27inputSNMP index of input interface
28tosIP Type of Service
29marked_tosType of Service of the packets that exceeded the contract
30-31reservedUnused (zero) bytes
32-35extraPktsPackets that exceed the contract
36-39router_scIP address of the router that is bypassed by the Catalyst 5000 series switch. This is the same address the router uses when it sends NetFlow export packets. This IP address is propagated to all switches bypassing the router through the FCP protocol.

FullFlow Record Format

BytesContentsDescription
0-3dstaddrDestination IP address
4-7srcaddrSource IP address; in case of destination-only flows, set to zero
8-9dstportTCP/UDP destination port number; set to zero if flow mask is destination-only or source-destination
10-11srcportTCP/UDP source port number; set to zero if flow mask is destination-only or source-destination
12-15dPktsPackets in the flow
16-19dOctetsTotal number of Layer 3 bytes in the packets of the flow
20-23firstSysUptime, in seconds, at start of flow
24-27lastSysUptime, in seconds, at the time the last packet of the flow was received
28-29outputSNMP index of output interface
30-31inputSNMP index of input interface
32tosIP Type of Service
33protIP protocol type (for example, TCP = 6; UDP = 17); set to zero if flow mask is destination-only or source-destination
34marked_tosType of Service of the packets that exceeded the contract
35padUnused (zero) bytes
36-39extraPktsPackets that exceed the contract
40-43router_scIP address of the router that is bypassed by the Catalyst 5000 series switch. This is the same address the router uses when it sends NetFlow export packets. This IP address is propagated to all switches bypassing the router through the FCP protocol.


(c) 2003-2006 Caligare s.r.o.
http://www.caligare.com
Last-modified: May 10 2006