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 44: Flow Monitoring Version 9 Template Formats
Figure 53: Version 9 Flow Header Format

Table 45: Version 9 Flow Header Fields
Figure 54: Version 9 Template FlowSet Format

Table 46: 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 47. |
|
Field Length |
Length, in bytes, of the corresponding field type. |
Table 47: Field Type Definitions Supported in the JUNOS Software
Figure 55: Version 9 Data FlowSet Format

Table 48: Version 9 Data FlowSet Format
Figure 56: Version 9 Options Template Format

Table 49: Version 9 Options Template Format
Figure 57: Active Flow Monitoring Version 9 Options Data Record Format

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