A detailed explanation of active flow monitoring version 9 packet formats and fields is shown as follows:
The JUNOS software supports the following version 9 template formats:
Table 35: Flow Monitoring Version 9 Template Formats
Figure 39: Version 9 Flow Header Format

Table 36: Version 9 Flow Header Fields
Figure 40: Version 9 Template FlowSet Format

Table 37: Version 9 Template FlowSet Fields
|
Field |
Description |
|---|---|
|
FlowSet ID |
FlowSet type. FlowSet ID 0 is reserved for the Template FlowSet. |
|
Length |
FlowSet length. Individual template FlowSets might contain multiple template records, which means that the length of template FlowSets varies. |
|
Template ID |
Unique template ID assigned to each newly generated template. Templates numbered 256 and higher define data formats. Templates numbered 0 through 255 define FlowSet IDs. |
|
Field Count |
Fields in the template record. This field allows the collector to determine the end of the current template record and the start of the next. |
|
Field Type |
Field type. These are defined in Table 38. |
|
Field Length |
Length, in bytes, of the corresponding field type. |
Table 38: Field Type Definitions Supported in the JUNOS Software
Figure 41: Version 9 Data FlowSet Format

Table 39: Version 9 Data FlowSet Format
Figure 42: Version 9 Options Template Format

Table 40: Version 9 Options Template Format
Figure 43: Active Flow Monitoring Version 9 Options Data Record Format

Table 41: Active Flow Monitoring Version 9 Options Data Record Format