09-22-2015 08:00 PM
Hi Cisco Support Community,
I'm developing netflow v9 collector. I have a question about Scope Field types.
According to RFC 3954 and http://www.cisco.com/en/US/technologies/tk648/tk362/technologies_white_paper09186a00800a3db9.html
Scope 1 Field Type The relevant portion of the Exporter/NetFlow process to which the Options Template Record refers. Currently defined values are: 1 System 2 Interface 3 Line Card 4 Cache 5 Template For example, the NetFlow process can be implemented on a per- interface basis, so if the Options Template Record were reporting on how the NetFlow process is configured, the Scope for the report would be 2 (interface).
Are The Scope values of these Scope Field types(System, Interface, Line Card, Cache, Template) always integers number(not strings like "eth0", "system-123", "cache-123")?
Imagine, i have an Option Template Flowset and appropriate Option Data Flowset. The Option Template Flowset has:
Scope Field Type = 1(System) and Scope Field Length = 4 bytes.
I grab the Scope Field value of type 1(System) from the Option Data Flowset, i.e. 4 bytes, and how should i interpret it? Is it a string? Is it an integer? We don't have formal definition of values for these Scope Field Types.
09-23-2015 12:18 AM
I guess they are hexadecimal. Cisco would send out info as below for the scope field:
0x0001 System
0x0002 Interface
0x0003 Line Card
0x0004 NetFlow Cache
0x0005 Template
R,
Don Jacob
*** Pls rate all useful responses ***
09-23-2015 12:18 AM
This might be of more help:
http://www.cisco.com/en/US/technologies/tk648/tk362/technologies_white_paper09186a00800a3db9.html
R,
Don Jacob
*** Pls rate all useful responses ***
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide