cc/td/doc/product/rtrmgmt/nfa
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Using the FlowAnalyzer Display Module

Using the FlowAnalyzer Display Module

This chapter tells you how to use the Display module of the NetFlow FlowAnalyzer application.

The Display module provides a graphical user interface (GUI) for one or more instances of the NetFlow FlowAnalyzer application installed and running in your network.

The Display module enables you to display NetFlow data that has been exported from Cisco NetFlow-enabled devices in your network and stored on one or more designated FlowCollector workstations in your network.

This stored NetFlow data is readily accessible by one or more DisplayServer modules running on host workstations in your network, thereby enabling each such module to service requests for NetFlow data issued by a user at the console of a Display module.

This chapter contains the following sections:

Generic NetFlow Process Description

The generic NetFlow system processes are illustrated in Figure 3-1 and described below:

    1. Cisco NetFlow-enabled devices in the network export NetFlow data to a designated FlowCollector workstation in the network.

    2. The FlowCollector stores the exported NetFlow data locally on its hard drive according to the following directory hierarchy:

    3. Using the Display module on a host workstation or PC, the user issues a request for NetFlow data.

    4. The DisplayServer module, running on a host workstation in the network, services the user's request for NetFlow data by retrieving the desired data from the specified directory on the appropriate FlowCollector workstation and transmitting the data to the Display module.

    5. The Display module presents the NetFlow data on the workstation or PC screen in the format of the selected aggregation scheme.


Figure 3-1: Generic NetFlow System Processes


As implied by Figure 3-1, you can have multiple instances of the FlowCollector application and the FlowAnalyzer application running on separate hosts in the network. Although this is not specifically indicated in Figure 3-1, you can also have multiple instances of the Display module running on separate workstations or PCs in your network.

In operational terms, Figure 3-1 shows a load-sharing arrangement in which a single Display module running on a host can be used to initiate Display module commands pertaining to NetFlow data stored on different FlowCollector workstations.

Starting the FlowAnalyzer

For instructions on starting all the modules in the FlowAnalyzer application, including the Display module, see the section entitled "Starting the FlowAnalyzer" in Chapter 2.

If the three server modules of the FlowAnalyzer application (the UtilityServer, the TrawhoisServer, and the DisplayServer) are already running on your FlowAnalyzer workstation, see the section entitled "Starting the Display Module" in Chapter 4 for instructions on starting the Display module.

Data Set Paths—Their Role in the NetFlow System

The term "data set path," as used throughout this document, refers to a FlowCollector workstation directory in the network in which raw NetFlow data has been collected and stored for data analysis purposes. Several such directories can exist in your network, depending on how many FlowCollector workstations have been configured to collect NetFlow data.

At initial startup, the main Display module window comes up in a "clean" form on your host workstation or PC screen, as shown in Figure 3-2.

Note from the message in the center of the main display area that the system expects you to define a data set path, or to load a file containing one or more previously-defined data set paths, as the basis for user interaction with the system. Without such a data set path, the FlowAnalyzer has no framework for acting on user commands issued at the console of the Display module.


Figure 3-2: Initial Display Module Window on Startup


The purpose of this section is to fully acquaint you with the role of data set paths in the NetFlow system and to tell you how these directory constructs are used to support the functionality of the system.

Netflow Data Area of the Display Module Window

The Netflow Data area of the Display module window (see Figure 3-2) provides the necessary "real estate" in the Display module window for defining and selecting data set path(s) of interest for FlowAnalyzer operations. Therefore, you must first populate this area of the Display module window with one or more data set paths as a necessary first step before issuing any Display module commands.

Then, by selecting a particular data set path and issuing appropriate Display module commands, you can access the specified directory of a FlowCollector workstation to retrieve and display desired NetFlow data for a particular network router.

One or more such data set paths constitute what is referred to throughout this chapter as the "data tree structure." Once you have defined such a data tree structure and loaded it into the Netflow Data area, it remains in effect until you overtly change it for some reason, such as defining a new data set path, changing or deleting an existing data set path, or grouping existing data set paths into a named router group.

A data tree structure consists of the following elements:

You can select any aggregation scheme from those listed in the Netflow Data area as the basis for Display module commands. You can also select multiple aggregation schemes of the same type across multiple routers in the Netflow Data area as the basis for Display module commands. In this case, the resulting NetFlow data array for each aggregation scheme appears one below another in the Display module window, necessitating the use of the scroll bars in the Display module window to view all regions of the data array.

A typical data tree structure is shown in Figure 3-2.

Note that the tree structure in the Netflow Data area can consist of several data set paths. Furthermore, each such path incorporates the elements described above.

If the number of data set paths that you add to the Netflow Data area exceeds the boundaries of the window, scroll bars appear in the window automatically. You can use these scroll bars to bring all regions of the Netflow Data area into view.

Server Area of the Display Module Window

Note from Figure 3-3 that a "Server" area abuts the Netflow Data area. This Server area identifies the DisplayServer workstation that will be used to service NetFlow data requests for the associated data set path listed opposite in the Netflow Data area.

By means of the square sizing icon in the right margin of the Netflow Data area, you can shrink the size of this Server region to eliminate it from view altogether, thereby optimizing the space available in the Display module window for viewing NetFlow data.

To change the size of the Server area in either horizontal direction, place the mouse pointer over the sizing icon, causing crosshairs to appear. While holding down the left mouse button, drag the margin of the window to the desired position.


Figure 3-3: "Server" Area of the Display Module Window


Once you are familiar with the general layout of the Display module window and have gained a general understanding of data set paths and their role in the NetFlow system, you are now prepared to populate the Netflow Data area with a working data tree structure, as described in the following section.

Adding Data Set Paths to the Netflow Data Area

To retrieve and analyze NetFlow data on initial startup of the Display module, you must know beforehand the data set path (the specific UNIX directory) for the particular FlowCollector workstation in which the desired NetFlow data is known to be stored. You must then add this data set path manually to the Netflow Data area.

The data set path shown in Figure 3-4 is intended for illustrative purposes only and should not be taken as a valid tree structure for your netFlow data analysis purposes. The data set paths that you enter into the Netflow Data area must reference live directories of FlowCollector workstations that you know contain the data of interest.

Once you have entered a working tree structure appropriate to your current Display module session, you can select any router or aggregation scheme in the tree structure as the basis for issuing Display module commands.


Figure 3-4: Typical Data Set Path as a Working Tree Structure


On startup of the Display module, you have complete flexibility to add data set paths to the Netflow Data area as a framework for current data analysis requirements. Then, as your needs change from day-to-day, or from one Display module session to another, you can perform the following tasks at will:

To add a desired data set path to the Netflow Data area, perform the following steps:


Step 1   From the Display module pull-down menu, select the Edit, Add Data Path function.

A pop-up window labeled "New Data Location" appears, as shown below.


Step 2   In the fields of this pop-up window, enter the appropriate information to define the desired data set path, as follows:

Step 3   When you complete the fields of this pop-up window, as shown below, click on OK.


This step causes the specified data set path to be added to the Netflow Data area, as shown in Figure 3-5.

By means of this procedure, you can add any number of data set paths one at a time to the Netflow Data area.


Figure 3-5: Effect of Adding a New Data Set Path to the NetFlow Data Area


For conservation of space in the Netflow Data area, it is recommended that you add only those data set paths that are appropriate to your current Display module session.

Creating a Named Router Group and Saving It to a File

As noted in the preceding section, it is possible to add any number of data set paths to the data tree structure in the Netflow Data area. Such paths may encompass routers of the following types, depending on your particular NetFlow data analysis requirements and interests:

In the face of this diversity in router types in the network and their likely dispersion within the network, the Display module enables you to define a named router group that reflects the breadth and scope of your particular network management realm.

The advantage in assigning routers to one or more named logical groups is that you can establish a working set of tree structures that, in any given instance, can be loaded into the Netflow Data area, as appropriate, to serve as the basis for a current Display module session.

Hence, a named router group encompasses only those network routers of specific applicability to a particular or anticipated network management task.

This approach in defining working data tree structures not only conserves space in the Netflow Data area (since you can load and remove named router groups at will), but also provides certain operational conveniences and efficiencies in issuing Display module commands.

Once you have added any number of desired data set paths individually to the Netflow Data area, you can select any number of routers listed therein and assign them to one or more named logical groups. Note also that a named router group can be nested, that is, it can contain one or more named router groups.

It is important to note that assigning a router to a named logical group does not remove that router from its original lineup in an existing data tree structure. In other words, it is possible for a router to be assigned to one or more logical groups without disrupting its standing linkage to a parent FlowCollector workstation directory, regardless of where that directory resides in your network. Thus, for all NetFlow data processing functions, the integrity of any given data set path is preserved.

To assign a router, or routers, to a named logical group, perform the following steps:


Step 1   First, populate the Netflow Data area with any number of data set paths. In doing so, include those data set paths that encompass the routers of interest that you want to assign to the named router group.

In populating the Netflow Data area, you have the following options:


Figure 3-6: Existing Data Tree Structure for Creating a Named Router Group


Step 2   Select the File, Add Router Group function from the Display module pull-down menu. This causes the Set Group Name pop-up window to appear, as shown below.


Step 3   In this pop-up window, enter a router group name of your choice (such as North_American_Region, for example).


Step 4   Click on OK.

"North_American_Region" then appears as the router group name at the bottom of the Netflow Data area, as shown in Figure 3-7.


Figure 3-7: User-Created Name for a Named Router Group


Step 5   Using the data set paths already present in the Netflow Data area, drag the desired data set paths one at a time into the router group named North_American_Region.

To do so, click on the desired router to highlight it. While holding down the left mouse button on the selected data set path, drag it into the router group.

Repeat this step as many times as necessary to compose the router group.

For purposes of this step, assume that you want to drag all three existing data set paths into the named router group.

Step 6   After composing the new router group, the following housekeeping options apply regarding the original data set paths still remaining in the Netflow Data area:

Step 7   If you choose option (b), remove each data set path through successive uses of the Edit, Remove Router Or Group pull-down function of the Display module menu.

To do this, highlight a given data set path that you want to delete; click on the Edit, Remove Router Or Group menu item. This action causes the following pop-window to appear.


This window asks you to confirm your intent to delete the selected data set path. Click on Yes (or No), as appropriate.

Repeat this step as many times as necessary to establish the desired working tree structure in the Netflow Data area.

Step 8   Once you have "cleaned up" the Netflow Data area to show only the desired tree structure, it is much to your advantage to save this structure to a file that you can load at any time thereafter as the basis for a Display module session.

To save the existing tree structure to a file, select the File, Save function from the Display module pull-down menu. This action causes the Configs pop-up window to appear, as shown below.


Enter a name of your choice in the blank field at the top of the window (such as "North_American_Region" for purposes of this step) by which to save the tree file.

The Configs pop-up window then takes on the following appearance.


Step 9   Click on OK in the pop-up window to save the file.

On completion of this procedure, the Netflow Data area contains the named router group shown in Figure 3-8 and the tree file named North_American_Region exists on the DisplayServer host (which is configured as defined in the /opt/CSCOnfa/bin/start.Display file).


Figure 3-8: Tree Structure of the Named Router Group


Loading a Named Tree File

In general, the advantage realized from creating and loading a tree file is to avoid the manual task of adding data set paths to the Netflow Data area for each Display module session.

Once you have created and saved one or more tree files, as described in the preceding sections, the following loading options become available:

  Typically, on Display module startup, you would load the contents of a particular tree file to establish the working tree structure for your current Display module session.
  During this same session, you can load any other tree file, in which case, the current tree structure is overwritten in the Netflow Data area by the new structure. Note, however, that the old structure is preserved for later use.
  The tree files are located on the DisplayServer host, whose configuration is determined by parameters in the /opt/CSCOnfa/NFADisplay/bin/start.Display file.
  This option requires you to include the name of a user-created tree file as an argument to the defaulttreefile keyword in the start.Display file.
  The host from which the tree file will be loaded is the DisplayServer configured according to parameters in the /opt/CSCOnfa/NFADisplay/bin/start.Display file.
  Once you have created, named, saved, and referenced a default tree file in the Display module's start.Display file, this default tree file takes precedence over any other defined data set path(s) on Display module startup.
  Thus, the start.Display file functions as a startup script, giving you the ability to determine beforehand the working data tree structure(s) that will be loaded into the Netflow Data area at each new Display module session.
  If you do not create a default tree file and include its name as an argument to the defaulttreefile keyword in the start.Display file, the Netflow Data area will be blank on Display module startup.
  The section entitled "Optional Setup Procedures" in Chapter 2 provides instructions for editing the start.Display file to cause a tree file to be loaded automatically on Display module startup.

The data tree structure that you load into the Netflow Data area on startup remains in effect until you overtly delete it or replace it with another data set path or named router group.

In all instances, you have complete flexibility to define data set paths or router groups to populate the Netflow Data area with a working tree structure that meets your current operational needs.

When you want to work with a data tree structure that is different from that currently being displayed, you can select the File, Load function from the Display module pull-down menu, causing a Configs pop-up window to appear (see Step 1 below).

Click on the name of the tree file listed therein that you want to load. This causes the name of the tree file to appear in the filename field at the top of the window. Click on OK to load the file, thus overwriting the existing tree structure in the Netflow Data area. Note that you can also double-click on the name of the file to load it.

For the following procedure, it is assumed that you have created one or more tree files and that you want to load a particular one in preparation for a Display module session.

To load a previously defined tree file, perform the following steps:


Step 1   Select the File, Load function from the Display module pull-down menu.

A Configs pop-up window appears, listing the currently-defined tree files available for selection, as shown below.


Note that this pop-up window comes up showing the name of the tree file currently in effect. If you want to load a different a tree file, continue with the next step.

Step 2   From those tree files listed in the Configs pop-up window, click on the name of the file that you want to load.

For purposes of this step, assume that you want to load the tree file named North_American_Region. Click on the name of this file.

This action causes the name of this tree file to appear in the field at the top of the pop-up window, as shown below.


Step 3   Click on OK.

This action causes the tree structure in the file named North_American_Region to be loaded into the Netflow Data area, as shown in Figure 3-9.


Figure 3-9: Named Tree File Loaded as the Working Data Tree Structure


Note that this tree structure consists of three routers in a named router group, namely, North_American_Region, thus validating the concepts and actions described in the earlier section entitled "Creating a Named Router Group and Saving It to a File."

With a working data tree structure loaded into the Netflow Data area in this manner, you are now positioned to issue a wide variety of Display module commands at the console of your host Display module workstation or PC.

Before proceeding, however, it is to your advantage to be familiar with the NetFlow data aggregation schemes that provide the basis for all NetFlow-related functions. These NetFlow aggregation schemes are described in the next section.

Displaying NetFlow Data

This section covers the following topics:

NetFlow Data Aggregation Schemes

As noted earlier, the NetFlow system gives you access to a broad range of traffic information that has been exported from Cisco NetFlow-enabled devices and "cataloged" into several pre-defined aggregation schemes.

Both the number and type of aggregation schemes available for display purposes in a NetFlow operating environment is a function of how the FlowCollector has been configured to operate in your network.

The aggregation schemes used in the NetFlow system are listed and described in Table 3-1.


Table 3-1: Aggregation Schemes Applicable to NetFlow-Enabled Devices
Aggregation Scheme "Key" Column Label Description of Key

Source Node

Source

The IP address of the host from which the measured traffic originates.

DestNode

Destination

The IP address of the host to which the measured traffic is delivered.

HostMatrix

Source
Destination

The source node and destination node pairs for the measured traffic flow. Includes the IP address at each end of the measured flow.

Protocol

Protocol

The protocol used for the network traffic flow that is being summarized in the "metrics" (counters and rates) columns of the aggregation scheme data array. The protocols in this aggregation scheme are defined in the FlowCollector's "nfknown.protocols" file.

DetailDestNode

Destination
SrcPort
DestPort
Protocol

The IP address of the destination host, the source and destination protocol port numbers, and the transport protocol used for the measured traffic.

DetailSourceNode

Source
SrcPort
DstPort
Protocol

The IP address of the source host, the source and destination protocol port numbers, and the transport protocol used for the measured traffic.

DetailHostMatrix

Source
Destination
SrcPort
DestPort
Protocol

The source node and destination node pair for the measured traffic flow. Includes the source host and destination host IP addresses, the protocol port numbers at both endpoints of the flow (SrcPort and DestPort), and the transport protocol used for the flow.

DetailInterface

Source
Destination
Input
Output
Next Hop

The source node and destination node pair for the measured traffic flow. Includes the source host and destination host IP addresses, the input interface and output interface information for the end points (either the ifIndex value or MIB description), and the IP address of the next hop router.

Source Port

SrcPort

The protocol port on the source host from which the measured traffic flow originates.

DestPort

DestPort

The protocol port on the destination host to which the measured traffic flow is delivered.

ASMatrix

Source AS
Dest AS

The source AS (autonomous system) destination of the measured traffic flow.

DetailASMatrix

Source
Destination
Source AS
Dest AS
SrcPort
DstPort
Input Ifindex
Output Ifindex
Protocol

The source and destination IP addresses, the source and destination autonomous systems, the source and destination protocol ports, and the transport protocol of the measured traffic flow. This aggregation allows you to "drill down" to show more detailed data on each traffic flow.

NetMatrix

Masked Source
SrcMask
Masked Destination
DstMask

The longest match in the routing table to the source IP address (masked source IP address), the number of significant bits in the masked source address, the longest match destination IP address (masked destination IP address), and the number of significant bits in the masked destination IP address.

CallRecord

Source
Destination

The source and destination IP addresses, the duration of call activity, and the counts of records, packets, bytes, and flows.

The six standard "metrics" columns are not included in this aggregation scheme data array. The data categories in the CallRecord are: ActiveTime, Records, Packets, Bytes, and Flows.

ActiveTime is the sum of the duration (hold time) of all calls, derived from the time of the first in the flow and last packet in the flow.

The IP address * is a mask that functions as a wildcard address.

  • If the destination IP address is *, it refers to all calls from the source IP address, which must be a specific address.

  • If the source IP address is *, it refers to all calls to the destination IP address, which must be a specific address.

Each aggregation scheme differs from another in both format and content. Each scheme contains a coherent set of traffic information that has been sorted and tailored in a way that helps you to accomplish a particular network management task or to address a particular type of network problem.

Sample Display of a Selected Aggregation Scheme

Figure 3-10 shows a sample display for a DetailDestNode aggregation scheme that is based on the same tree file used for purposes of Figure 3-9, namely, the tree file for the named router group called North_American_Region.

Note, however, that the tree structure in Figure 3-10 has been fully expanded in the Netflow Data area to show all elements of the tree structure for the named router group.

The resulting NetFlow data that appears in the Display module window for this particular aggregation scheme consists of numerous columns and rows arranged in spreadsheet-like fashion. This attribute of appearance is common to all NetFlow data aggregation schemes.


Figure 3-10: Sample Display of a Selected Aggregation Scheme


In general, the columns of all NetFlow data arrays fall into two logical categories:

These categories are described in the following sections.

"Key" Columns of a NetFlow Data Aggregation Scheme

The "key" columns of a NetFlow data aggregation scheme include those columns that appear to the left of the "Packets" column in any given NetFlow data array (see Figure 3-10). These columns reflect the sort keys by which the FlowCollector application gathers, filters, and stores collected NetFlow traffic information.

For the particular sample DetailDestNode aggregation scheme shown in Figure 3-10, the following "key" columns apply:

These so-called keys serve as the record identifiers by which the FlowCollector processes and screens the large volume of NetFlow data continually being received from NetFlow-enabled devices in your network.

Note that the first column, labeled "Router," in any NetFlow data array shows the IP address of the network router for which aggregated NetFlow data is being displayed.

Note further that the number of columns appearing in the "key" area of the Display module window varies in size, depending on the particular NetFlow data aggregation scheme being displayed.

For example, by examining the second column of Table 3-1, you can see that each aggregation scheme has a defined "key," or a defined set of "keys," that applies only to that particular aggregation scheme.

"Metrics" Columns of a NetFlow Data Aggregation Scheme

The "metrics" columns of any displayed NetFlow data aggregation scheme always include the six columns listed and described below.

Furthermore, these columns are always the six right-most columns of the NetFlow data array, containing traffic statistics listed in the following order from left to right in the array, beginning with the "Packets" column:

For more detail about these traffic metrics, you can consult the on-line help system.

Due to the number of columns and rows appearing in a typical NetFlow data array, horizontal and vertical scroll bars have been incorporated into the Display module window to enable you to bring all areas of the data array into view.

Displaying NetFlow Data for a Selected Router

One of the most common FlowAnalyzer tasks is to display NetFlow information for a specific router.

For purposes of this procedure, assume that you have added a data set path to the Netflow Data area, as shown in Figure 3-11.

Assume further that you want to display NetFlow data for the DetailInterface aggregation scheme associated with the router identified in the Netflow Data area as ch-eng-2.cisco.com.

For more information about defining data set paths for display purposes, refer to the earlier section in this chapter entitled "Adding Data Set Paths to the Netflow Data Area."


Figure 3-11: Sample Data Set Path for Displaying an Aggregation Scheme


To display NetFlow data for a particular aggregation scheme associated with a selected router, perform the following steps:


Step 1   Having entered a data set path in the Netflow Data area, as shown in Figure 3-11, double-click on the desired router to display its applicable aggregation schemes.

Assume that the router of interest for this procedure is ch-eng-2.cisco.com.

Step 2   For this step, assume that the aggregation scheme of interest is DetailInterface. Click on this aggregation scheme.

This step brings up a "clean" DetailInterface aggregation scheme in the Display module window, as shown in Figure 3-12.

Step 3   In this window, set the time slider marks to establish the desired time period for which applicable NetFlow data is to be retrieved and displayed.

Note that you can move the time slider marks in either horizontal direction to establish any desired time interval for NetFlow operations.


Figure 3-12: DetailInterface Aggregation Scheme Window


Step 4   Click on the Get TopN: pull-down menu to select the number of flows that you want to apply for data retrieval purposes.

To improve FlowAnalyzer performance, you can limit the volume of NetFlow data to be processed by selecting a desired value from this pull-down menu. User-selectable values, ranging from 10 to 10,000, enable you to limit the amount of data to be processed to the first "N" flows. The default value of "N" is 100.

Step 5   Click on the Sorted by: pull-down menu to select the particular traffic attribute against which the NetFlow data is to be sorted, retrieved, and displayed. The default value is "Octets."

Step 6   Click on the Get data from server button in the Display module window, or select the Get Data option of the Action menu to initiate the display of NetFlow data for the DetailInterface aggregation scheme.

When completed, this procedure results in the NetFlow data array shown in Figure 3-13.


Figure 3-13: DetailInterface Aggregation Scheme Data for a Selected Network Router


Displaying NetFlow Data for a Named Router Group

Another very common FlowAnalyzer task is to display NetFlow data for a particular aggregation scheme that is common among two or more Cisco NetFlow-enabled devices in your network. Generally, the purpose of such a task is to compare similar NetFlow traffic data across multiple routers in your network.

For purposes of the procedure in this section, it is assumed that you want to issue Display module commands for the tree structure shown in Figure 3-14. Note that this data tree structure pertains to a named router group consisting of multiple routers.

For details about how to create such a named router group, refer to the earlier section in this chapter entitled "Creating a Named Router Group and Saving It to a File."

With such a tree structure in the Netflow Data area, you can select any given aggregation scheme for a single router within the named logical group for display purposes.

A more likely scenario with such a tree structure, however, is to select the same aggregation scheme across some or all group members for display purposes. This latter scenario forms the basis for the following procedure.


Figure 3-14: Tree Structure for Routers in a Named Router Group


To display NetFlow data for multiple routers in a named router group, perform the following steps:


Step 1   The data tree structure shown in Figure 3-14 reflects the fact that you want to display common aggregation scheme data for three different network routers. Furthermore, the DetailASMatrix aggregation scheme is assumed to be the scheme of choice.

Step 2   To prepare for NetFlow data retrieval, do the following:

Step 3   Click on the Get data from server button in the Display module window, or select the Get Data option of the Action menu, to initiate the data retrieval and display operation.

When completed, the above procedure results in the NetFlow data array shown in Figure 3-15.


Figure 3-15: Aggregation Scheme Data for Multiple Routers in a Named Router Group


By using a data tree structure for multiple routers in this manner, you can select any aggregation scheme common to any combination of routers in a named router group and initiate display functions for those routers. This capability enables you to compare traffic patterns and statistics for any routers of interest in a named router group.

As in all other display functions, if the NetFlow data array exceeds the physical boundaries of the display window proper, you can use the window's horizontal and vertical scroll bars to bring all elements of the array into view.

Sorting NetFlow Data

For purposes of the sort procedure in this section, it is assumed that you will use the data tree structure shown in Figure 3-16 as the basis of sort operations.

You can initiate a sort operation, in either of two ways:

  You can then select the Sort Data option of the Action menu to initiate the sort operation.
  In this manner, you can double-click on a succession of different column headings in the NetFlow data array (in any order) to initiate separate sort operations for selected columns.
  Note that numeric data is sorted in descending order (highest number first/lowest number last), while nonnumeric data is sorted alphabetically in ascending order.
  Note also that all rows in the entire NetFlow data array will be reordered as a consequence of any sort operation.

Figure 3-16: Data Tree Structure for an Intended Sort Operation


To initiate a sort operation for a selected aggregation scheme, perform the following steps:


Step 1   Given the data set path shown in Figure 3-16, select an aggregation scheme for displaying NetFlow data.

For this purpose, assume that DestPort is the aggregation scheme of choice.

Step 2   Click on this scheme to bring up a "clean" DestPort screen in the Display module window.

Step 3   To prepare for sort operations, do the following:

Step 4   Click on the Get data from server button in the Display module window, or select the Get Data option of the Action menu, to initiate the sort operation.

Step 5   When the data for the selected aggregation scheme appears in the NetFlow data array, as shown in Figure 3-17, you can sort the data by means of either of the following options:

For sort purposes, assume that you want to sort the data in the Packets column of the NetFlow data array.

Step 6   Using any of the options outlined above, initiate a sort operation for the Packets column.

When completed, the above procedure results in the NetFlow data display shown in Figure 3-18. Note that the data in the "Packets" column has been sorted in descending numerical order.

By means of this procedure, you can select any aggregation scheme in an existing tree structure, retrieve the applicable data for that aggregation scheme, select any column in the resulting NetFlow data array, and use that column as the basis for a sort operation.


Figure 3-17: NetFlow Data Intended for Use in Sort Operations



Figure 3-18: Result of Sort Operation on "Packets" Column of NetFlow Data Array


Exporting (Saving) NetFlow Data

If you want to save displayed NetFlow for an aggregation scheme (such as the DestPort scheme shown in Figure 3-18 above), you can export the data to a file of your choosing.

To save currently-displayed NetFlow data for an aggregation scheme, perform the following steps:


Step 1   Assuming that NetFlow data for the aggregation scheme of interest is currently being displayed, do either of the following:

Step 2   With either action above, an Export dialog box appears, which enables you to add a file name of your choice (such as "destportdat"), as shown below:


In saving the NetFlow data to a file, the Display module takes all the nonspaced characters that it encounters in the dialog box (reading from left to right), uses those characters as the name of the saved file, and appends ".CSV" as the file extension.

For example, if you entered the file name "my sort data" into the dialog box, the system would name the file "my.CSV," thus ignoring any characters in the dialog box following the first space.

Step 3   Click on OK in the Export dialog box to save the displayed NetFlow data to the named file.

Step 4   When the save operation is complete, the following Message box appears to inform you of the storage location for the saved NetFlow data file:


Step 5   Click on OK in the Message box to close the window.

As evident from the Message box above, saved NetFlow data for a particular aggregation scheme is stored in the /opt/CSCOnfa/NFAServer/exported_files directory.

Graphing NetFlow Data

You can graph displayed NetFlow data in three different formats:

You can use these graphing functions to create a visual representation of selected NetFlow currently being displayed in the Display module window. The following sections tell you how to use these Display module graphing functions.

The sample NetFlow data array shown in Figure 3-19 has been included here to provide an appropriate context for describing the Display module's graphing functions in this section.


Figure 3-19: Sample NetFlow Data Array for Graphing Functions


Creating a Bar Chart

To create a bar chart by means of the procedure presented in this section, assume that the NetFlow data array for the DetailInterface aggregation scheme shown in Figure 3-19 is to serve as the basis for bar chart creation.

Note that the Packets column of the NetFlow data array in Figure 3-19 has been selected (highlighted) as the column of interest for bar chart creation. (To highlight a column in the NetFlow data array, you need only click on the column heading.)

To create a bar chart representing the traffic information displayed in the Packets column (or any other selected column) of the NetFlow data array, perform the following steps:


Step 1   Decide which of two available methods you want to use to initiate bar chart creation:

Step 2   To remove the bar chart from the screen and return you to the Display module window, click on the "Close" button at the bottom of the chart.

Note, since "30" was selected as the applicable TopN value for bar chart creation, the 30 largest flows (in terms of "packets") are incorporated into the horizontal axis of bar chart.

You should be aware that you can select any column in the NetFlow data array as the basis for bar chart creation, provided that the selected data can be graphed.

If the column in the data array that you select cannot be graphed, the Graph pull-down menu and the Draw bar chart button in the Display module window are grayed out.


Figure 3-20: Sample Bar Chart for Packets Column of a NetFlow Data Array


Creating a Pie Chart

To create a pie chart by means of the procedure presented in this section, assume that the NetFlow data array for the DetailInterface aggregation scheme shown in Figure 3-19 is to serve as the basis for pie chart creation.

Note that the Packets column of the NetFlow data array in Figure 3-19 has been selected (highlighted) as the column of interest for pie chart creation. (To highlight a column in the NetFlow data array, you need only click on the column heading.)

To create a pie chart representing the traffic information displayed in the Packets column (or any other selected column) of the NetFlow data array, perform the following steps:


Step 1   Decide which of the two available methods you want to use to initiate pie chart creation:

Step 2   To remove the pie chart from the screen and return you to the Display module window, click on the "Close" button at the bottom of the chart.


Figure 3-21: Sample Pie Chart for "Packets" Column of a NetFlow Data Array


Creating a Histogram Chart

For purposes of describing how to create a histogram chart, the NetFlow data array shown in Figure 3-22 will be used.


Figure 3-22: Sample NetFlow Data Array for Creating a Histogram Chart


To create a histogram chart using the selected information in NetFlow data array, perform the following steps:


Step 1   Decide which of two available methods you want to use in creating the histogram chart:

Step 2   To remove the histogram chart from the screen and return you to the Display module window, click on the "Close" button at the bottom of the chart


Figure 3-23: Sample Histogram Chart for the Bytes Column of a NetFlow Data Array


Drilling Down on Network Flows

The AS drill down function of the Display module enables you to take a closer look at NetFlow data pertaining to multiple routers involved in traffic flows between source AS and destination AS systems in your network.

An AS (autonomous system) is a network, or a collection of networks, that is operating under a common network administration and routing strategy.

For this reason, it is often useful to examine NetFlow data pertaining to multiple routers in an AS network to determine how to best administer the network and use its resources.

To make use of the AS drill down function of the Display module, NetFlow data for one or more DetailASMatrix aggregation schemes must have been collected by one or more host FlowCollector workstations in your AS network. Hence, "drilling down" on network flows, as described in this section, pertains only to DetailASMatrix aggregation schemes.

Figure 3-24 shows a typical NetFlow data array for DetailASMatrix aggregation schemes pertaining to three different routers in your network.


Figure 3-24: Sample DetailASMatrix Aggregation Schemes for AS Drill Down Functions


Before you can initiate an AS drill down operation, you must have previously loaded a data set path into the Netflow Data area that encompasses one or more routers for which DetailASMatrix aggregation scheme data has been collected.

To view AS drill down data, based on the assumptions above, perform the following steps:


Step 1   Select the AS Drill Down Window option from the Tools menu of the Display module window.

This action bring up the AS Drill Down window, as shown in Figure 3-25.

Step 2   From the list of routers appearing in the AS Drill Down window, select those that you want to include in the AS drill down operations.

For this step, assume that you want to include the first three routers listed in the AS Drill Down window under the /u1/South_West data set path:

While holding down the Ctrl key, click on these three routers to highlight them.


Figure 3-25: Sample AS Drill Down Window


Step 3   Establish the parameters for governing the AS drill down operations for the selected routers, as follows:


Figure 3-26: Results of Data Retrieval Operations for AS Drill Down Functions


Step 4   To drill down on (get more detail regarding) the protocols used by a selected router, do the following:


Figure 3-27: Selected Row of Protocol Column for AS Drill Down Operation


Step 5   Double click on the row containing the entry TCP**smtp(6), or select the Drill down on protocol option of the Action menu.

Either action results in the NetFlow data array shown in Figure 3-27.

Step 6   If you want to collapse (hide) the data currently being displayed for the selected row, select the Hide drill down data option from the Action menu.

This action causes the NetFlow data array to revert to its previous form (the form shown in Figure 3-27), at which point, you can select any other Protocol row for any other selected router and use that row as the basis for another drill down operation.

In this manner, you can perform a series of drill down on protocol operations for any number of rows in the NetFlow data array.


Figure 3-28: Result of Drill Down on Protocol Operation for Selected Row


Use of Asterisks in an AS Drill Down Window

In the AS Drill Down window, an asterisk appearing in any Protocol row of the NetFlow data array indicates that additional information pertaining to the DetailASMatrix aggregation scheme is available for display purposes.

For any such row, you can do either of the following:

Thus, by successively double-clicking on any row containing an asterisk, you can open the row, view additional data related thereto, and close the row.

Effect of Drilling Down on a Protocol Row

The effect of drilling down on any Protocol row in an AS Drill Down window containing asterisks is to expand the following columns of the NetFlow data array:

Searching for Flows by Source and Destination Addresses

You can use the Search window of the Display module (see Figure 3-29) to search for traffic flows of the following types:

The procedures for initiating searches for the above types of traffic flows are described separately in later sections.

Preparing for Search Operations

Before you can perform search operations for traffic flows of the types listed above, you must have previously added a data set path to the Netflow Data area of the main Display module window, either by means of the Edit, Add Data Path function or the File, Load function.

The tree structure that you add to the Netflow Data area by such means is propagated into the Search window when you invoke the Search Window option of the Tools menu in the main Display module window (see Figure 3-29). This illustration shows a device named ch-eng-2_4x100MB for which DetailDestNode aggregation scheme data has been displayed.

For purposes of this section, this device and aggregation scheme have no particular significance for search operations per se, other than to serve as a "point of reference" for describing search operations.

What you should understand is that it is from such a window that you are able to bring up the Search window itself (see Figure 3-30), which then enables you to establish the necessary parameters for accomplishing desired search operations.


Figure 3-29: Typical Window through which You Bring Up the Search Window


Generic Outline of Search Procedure

This section outlines the generic procedure for searching for a particular type of traffic flow by means of the Search window.

Assuming that you have brought up the Search window by invoking the Search Window option of the Tools menu in the main Display module window, you then perform the following steps to initiate search operations:


Step 1   Select the device of interest in the tree structure of the Search window.

Step 2   Enter the appropriate IP address information in the Source and Destination fields of the window.

Step 3   Click on the AND box or the OR box, as appropriate, to define the intended scope of search operations.

Step 4   Click on the Show Times button.

Step 5   Position the time slider marks, as appropriate, to define the applicable time interval for which NetFlow data is to be processed for the specified search operation.

Step 6   Click on the Start Search button.

In entering IP addresses or subnet addresses as called for in either the Source field or the Destination field of the Search window, you use the standard dotted decimal format shown below:

192.69.0.0/16

IP to IP Transactions

This type of search operation looks for traffic flows that occur between a specified source device and a specified destination device.

To search for flows between one IP address and another IP address, perform the following steps:


Step 1   In the Source field, enter the IP address of the device (171.69.210.178, for example) that originated the flows.

Step 2   In the Destination field, enter the IP address of the device (161.44.128.38, for example) that received the flows.

Step 3   Check the AND box.

Step 4   Click on the Show Times button, adjust the slider marks, as desired, and click on the Start Search button.

This procedure finds the traffic flows that originated from the source device (171.69.210.178) and that were received by the destination device (161.44.128.38).

Sample output from this type of IP-to-IP search operation is shown in Figure 3-30.


Figure 3-30: Sample Result of IP to IP Search Operation


Note that the Search window contains a Translate button in the upper right corner of the window. This button serves the same function as the same button or menu item in other Display module windows, namely, to translate host IP addresses to DNS names.

IP to Subnet Transactions

This type of search operation looks for traffic flows that occur between a specified source device and destination devices having an IP address within a specified range.

To search for flows between a specified IP address and a range of subnet addresses, perform the following steps:


Step 1   In the Source field, enter the IP address of the device (171.69.210.178, for example) that originated the flows.

Step 2   In the Destination field, enter the subnet address (161.44.0.0/16, for example) of the devices that received the flows.

Step 3   Check the AND box.

Step 4   Click on the Show Times button, adjust the slider marks, as desired, and click on the Start Search button.

This procedure finds the flows that originated from the device at 171.69.210.178 and that terminated at devices having an IP address in the range 161.44.0.0 - 164.44.255.255.

Figure 3-31 shows the sample output from the IP-to-subnet search operation outlined above.


Figure 3-31: Sample Result of IP to Subnet Search Operation


Note that you can swap the contents of the Source and Destination fields to accomplish the reverse of the search operation described above.

To search for flows between a subnet address and an IP address, perform the following steps:


Step 1   In the Source field, enter the subnet address of the devices (161.44.0.0/16, for example) that originated the flows.

Step 2   In the Destination field, enter the IP address (171.69.210.178, for example) of the router that received the flows.

Step 3   Check the AND box.

Step 4   Click on the Show Times button, adjust the slider marks, as desired, and click on the Start Search button.

This procedure finds the flows that originated from devices having IP addresses in the range from 161.44.0.0 - 161.44.255.255 and that were received by the device at 171.69.210.178.

Subnet to Subnet Transactions

This type of search operation looks for traffic flows that occur between source devices having IP addresses within a specified range and destination devices having IP addresses within a specified range.

To search for flows between one subnet address and another subnet address, perform the following steps:


Step 1   In the Source field, enter the subnet address (171.69.0.0/16, for example) of the devices that originated the flows.

Step 2   In the Destination field, enter the subnet address 161.44.0.0/16, for example) of the devices that received the flows.

Step 3   Check the AND box.

Step 4   Click on the Show Times button, adjust the slider marks, as desired, and click on the Start Search button.

This procedure finds the flows that originated from devices having an IP address in the range from 171.69.0.0 - 171.69.255.255 and that were received by devices having an IP address in the range from 161.44.0.0 - 161.44.255.255.

Figure 3-32 shows sample output from the subnet-to-subnet search operation outlined above.


Figure 3-32: Sample Result of Subnet to Subnet Search Operation


IP "Away From" Subnet Transactions

This type of search operation looks for traffic flows that occur between a specified source device and destination devices other than those having IP addresses within a specified range.

To search for flows that a specified device sends elsewhere in the network, except to certain specified devices, perform the following steps:


Step 1   In the Source field, enter the IP address of the router (171.69.210.178, for example) that originated the flows.

Step 2   In the Destination field, enter the "!" character, followed by a subnet address (161.44.0.0/16, for example).

The exclamation point (!) is a "not" operator that means "any but those" addresses specified in the subnet address. The effect of this character is to limit the scope of the search operation.

Step 3   Check the AND box.

Step 4   Click on the Show Times button, adjust the slider marks, as desired, and click on the Start Search button.

This procedure finds the flows that originated from the specified device (171.69.210.178) and terminated with other devices, except for those devices having an IP address in the specified range (161.44.0.0 - 161.44.255.255).

Figure 3-33 shows the sample output from the IP "Away From" Subnet search operation outlined above.


Figure 3-33: Sample Result of IP "Away From" Subnet Search Operation


Note that you can swap the contents of the Source and Destination fields to accomplish the reverse of the search operation described above.

To search for flows that originate anywhere in the network (except from devices having an IP address in a specified range) and that terminate with a specified router, perform the following steps:


Step 1   In the Source field, enter the "!" character, followed by a subnet address (161.44.0.0/16, for example).

The exclamation point (!) is a "not" operator that means "any but those" addresses specified in the subnet address. The effect of this character is to limit the scope of the search operation.

Step 2   In the Destination field, enter the IP address of the device (171.69.210.178, for example) that received the flows.

Step 3   Check the AND box.

Step 4   Click on the Show Times button, adjust the slider marks, as desired, and click on the Start Search button.

This procedure finds all the traffic flows that originated from anywhere in the network, except for those devices having an IP address in the range from 161.44.0.0 - 161.44.255.255, and that were received by the device at 171.69.210.178.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Tue Dec 17 19:08:04 PST 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.