cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
763
Views
0
Helpful
0
Replies

What is "Source ID" in Netflow V9 Packet Header

Deepak Ladha
Level 1
Level 1
Hi,
 
My question is regarding the "Source ID" field that appears in Netflow V.9 packet header. Following Cisco link ( http://www.cisco.com/en/US/technologies/tk648/tk362/technologies_white_paper09186a00800a3db9.pdf) gives Source ID definition as -
 
"The Source ID field is a 32-bit value that is used to guarantee uniqueness for all flows exported from a particular device. (The Source ID field is the equivalent of the engine type and engine ID fields found in the NetFlow Version 5 and Version 8 headers). The format of this field is vendor specific. In the Cisco implementation, the first two bytes are reserved for future expansion, and will always be zero. Byte 3 provides uniqueness with respect to the routing engine on the exporting device. Byte 4 provides uniqueness with respect to the particular line card or Versatile Interface Processor on the exporting device."
 
I am using "Source ID" (combined with template id) to uniquely identify options templates exported by different routers. At our new lab setup where we have more than one routers configured to export Netflow, I observed that all the routers were exporting "Source ID" value as "0"(zero). It failed my assumption that I had formed based on definition from above Cisco doc.
 
I assumed -
 
 
SourceID    Template Id  Unique Key
------------     ---------------   --------------
source1       256              source1-256
source1       257              source1-257
source2       256              source2-256
source3       258              source3-258
 
 
But, I observed
 
SourceID    Template Id  Unique Key
------------     ---------------   --------------
0                  256              0-256
0                  257              0-257
0                  256              0-256
0                  258              0-258
 
 
 
Thus, same template id(256) from different routers(source1, source3) eventually form same unique key and breaks my code.
 
I would like to know if my interpretation that Source ID can be used to uniquely identify templates in this manner is correct or not ? 
Is "Source ID" user configurable attribute ? How does it comply to the definition given in above Cisco doc ?
 
Thanks,
Deepak
 
0 Replies 0