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

Netflow v9 - Scope Field Type

peroksid901
Level 1
Level 1

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.

2 Replies 2

Don Jacob
Level 1
Level 1

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 ***

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.

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 ***

Regards, Don Thomas Jacob http://www.solarwinds.com/netflow-traffic-analyzer.aspx Head Geek @ SolarWinds NOTE: Please rate and close questions if you found any of the answers helpful.