cc/td/doc/product/rtrmgmt/nfc/nfc_2_0
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Quick Start: Installing and Using FlowCollector

Quick Start: Installing and Using FlowCollector

This chapter describes how to install FlowCollector and get it running quickly without having to learn anything about how FlowCollector operates.


Note This chapter is intended for network administrators, operators, and managers who are confident of their UNIX system administration and Cisco IOS software configuration skills. The procedures do not explain the background information behind the steps.

The remaining chapters in this guide are for users who want to learn more about FlowCollector and its operations. If you want more instruction and information as you install and operate FlowCollector, skip this quick start chapter and proceed to Chapter 2, which is an overview of NetFlow Services and FlowCollector.

This chapter includes a minimal set of procedures on the following topics:

Process Overview

In this chapter, you will install FlowCollector in its default configuration, meaning that it runs according to predetermined resource definitions and parameter settings that allow it to capture a general range of NetFlow data export traffic statistics.

After you see FlowCollector in action and develop a better understanding of how it collects and aggregates data, you can choose your own aggregation schemes, define filters and protocols, and tune FlowCollector operating parameters according to your own needs. For information on customizing and tuning FlowCollector operation, refer to the chapter "Customizing FlowCollector," later in this guide.


Note Except for descriptions requiring references to specific router or switch platforms, the remainder of this chapter and the remaining chapters of this guide use the term export device in place of the terms router and switch.

Enabling NetFlow Data Export

Because of the configuration differences between routers and switches, any detailed configuration description for either type of NetFlow export device is beyond the scope of this guide. At the broadest conceptual level, you need to perform the following types of configuration tasks on the export devices:

For information on Cisco IOS software features related to NetFlow services on Cisco 7500, 7200, and 7000 series routers, refer to the Cisco IOS Release 11.1(2) or later configuration guides and command references. For information on specific configuration commands, refer to the "NetFlow Switching Enhancements" feature module in the Release Note for Cisco IOS Release 11.1 CA and Feature Modules.

For information on software features related to MLS on Catalyst 5000 series switches, refer to the Multilayer Switching User Guide.

Platforms Supported

FlowCollector is available for the following platforms:

Note that newer workstations from Sun Microsystems, such as the ULTRA-5, provide better performance for the price than earlier workstations such as the ULTRA-1.

Note To prevent NetFlow data export packet loss, the workstation should be on the same LAN as its NetFlow data export devices and should not be running other applications.

Installing FlowCollector

FlowCollector is distributed on CD-ROM for the Solaris and HP-UX platforms.

To install FlowCollector, perform the following steps:

Step 1 Verify that the target workstation for the installation meets the requirements described in the section "Platforms Supported," earlier in this chapter.

Step 2 Log in as the superuser (root).

Step 3 Identify a locally mounted partition, such as /tmp, that you can use to transfer the FlowCollector tar file from the distribution CD-ROM.

Step 4 Copy the appropriate tar file from the NetFlow FlowCollector CD-ROM to a locally mounted directory such as /tmp.

Step 5 Extract the FlowCollector files from the tar file.

Step 6 Start the installation script.

When the installation script has successfully completed the installation, it displays the following message:


Step 7 Add the following environment variables to the startup files (.cshrc or .profile) of all users wanting to run FlowCollector:

Step 8 Log out.

Starting FlowCollector

To run FlowCollector, you can be logged in as a user or as root.

To start FlowCollector, perform the following steps:

Step 1 Log in.

Step 2 Use the following command to start FlowCollector:

Verifying that FlowCollector Is Running

To verify that FlowCollector is running properly, perform the following steps:

Step 1 Use the following command to display a table of FlowCollector statistics:

Step 2 Verify that the UDP ports that are expected to receive export data are receiving data.

In the example shown above, UDP port 9996 is collecting data, but UDP port 9995 is not.


Step 3 Check the $NFC_DIR/logs/nfc.log and $NFC_DIR/logs/nfcd.log files for error messages.

If you are receiving data on the FlowCollector UDP port and there are no error messages in the log files, FlowCollector is running properly. You should periodically monitor the $NFC_DIR/logs/nfc.log and $NFC_DIR/logs/nfcd.log files for error and warning messages.

Stopping FlowCollector

To stop FlowCollector, perform the following steps:

Step 1 Log in.

Step 2 Use the following command to stop FlowCollector:


Note To stop FlowCollector, you must be logged in as the user who started this FlowCollector session, or root.

Where to Go from Here

The remaining chapters and appendixes in this guide provide information on the following topics:

For more information on... Refer to ...
NetFlow services and FlowCollector (for users who want more instruction and information about FlowCollector) "FlowCollector Overview"
Installing, configuring, and validating FlowCollector (for users who want more instruction and information as they install and operate FlowCollector) "Installing, Configuring, and Validating FlowCollector"
Using the NetFlow FlowCollector user interface (NFUI) to review application statistics and resource definitions--such as for threads, filters, and protocols, or to create and modify FlowCollector resource definitions "Using the NetFlow FlowCollector User Interface"
Locating and understanding FlowCollector data files "Understanding the FlowCollector Data File Format"
Customizing FlowCollector operation using thread, filter, and protocol definitions, lists of port and autonomous system numbers, and other FlowCollector configuration parameters "Customizing FlowCollector"
Helpful information and procedures in case you encounter problems while using FlowCollector "Troubleshooting"
NetFlow export datagram formats "NetFlow Export Datagram Format"

hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.