Page 1
Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 February, 2005 Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Customer Order Number: N/A Text Part Number: OL-6900-01...
Page 2
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CCSP, CCVP, the Cisco Square Bridge logo, Follow Me Browsing, and StackWise are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.;...
Supplemental License Agreement Supplemental License Agreement For Cisco Systems Network Management Software: Cisco NetFlow Collection Engine Additional License Restrictions Installation and Use Reproduction and Distribution Description Of Other Rights and Limitations About This Guide Objective Audience How This Guide Is Organized...
Page 4
Starting CNS NetFlow Collection Engine Verifying That CNS NetFlow Collection Engine Is Running NetFlow Collection Engine Configuration Files Browser Requirements Stopping CNS NetFlow Collection Engine N D E X Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 2-10 OL-6900-01...
Supplemental License Agreement Supplemental License Agreement For Cisco Systems Network Management Software: Cisco NetFlow Collection Engine IMPORTANT–READ CAREFULLY: This Supplemental License Agreement (“SLA”) contains additional limitations on the license to the Software provided to Customer under the Software License Agreement between Customer and Cisco. Capitalized terms used in this SLA and not otherwise defined herein shall have the meanings assigned to them in the Software License Agreement.
Supplemental License Agreement Additional License Restrictions Description Of Other Rights and Limitations Please refer to the Cisco Systems, Inc. Software License Agreement. Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, Release 5.0.2 OL-6900-01...
You also must have a basic familiarity with Web browsers, Hewlett Packard’s HP-UX, or Sun Microsystem’s Solaris Operating System. OL-6900-01 Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, Release 5.0.2...
< > Obtaining Documentation The following sections explain how to obtain documentation from Cisco Systems. World Wide Web You can access the most current Cisco documentation on the World Wide Web at the following URL: http://www.cisco.com Translated documentation is available at the following URL: http://www.cisco.com/public/countries_languages.shtml...
You can e-mail your comments to bug-doc@cisco.com. To submit your comments by mail, use the response card behind the front cover of your document, or write to the following address: Cisco Systems Attn: Document Resource Connection 170 West Tasman Drive San Jose, CA 95134-9883 We appreciate your comments.
If you have Internet access, it is recommended that you open P3 and P4 cases through the Cisco Technical Support Web Site. Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, Release 5.0.2 About This Guide yourself, saving both cost OL-6900-01...
SMARTnet, SMARTnet Onsite, or Network Supported Accounts (NSA). In addition, please have available your service agreement number and your product serial number. Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, Release 5.0.2 OL-6900-01...
Page 12
About This Guide Obtaining Technical Assistance Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, Release 5.0.2 OL-6900-01...
Overview This chapter describes the CNS NetFlow Collection Engine application, which is used with the NetFlow services data export feature on Cisco routers and Catalyst 5000 and 6000 series switches. This chapter includes the following sections: • What Are NetFlow Services? What Is CNS NetFlow Collection Engine? •...
What Are NetFlow Services? Catalyst 5000 series switches can identify flows by looking at a subset of these fields. For example, they can identify flows by source and destination address only. For Catalyst 5000 series switches, the analog to NetFlow services is integrated Multilayer Switching Note (MLS) management.
Chapter 1 Overview Version 5 datagrams, up to 30 flows can be sent in a single UDP datagram of approximately 1500 • bytes. • Version 7 datagrams, up to 27 flows can be sent in a single UDP datagram of approximately 1500 bytes.
What Is CNS NetFlow Collection Engine? Throughout this publication there are numerous examples of CNS NetFlow Collection Engine input Caution commands and output results. Included are examples of IP addresses. Be aware that IP address examples are not usable IP addresses. The examples do not represent real-life configurations. What Is CNS NetFlow Collection Engine? CNS NetFlow Collection Engine provides fast, scalable, and economical data collection from multiple export devices exporting NetFlow data records.
Chapter 1 Overview CNS NetFlow Collection Engine collects and summarizes (aggregates) data into data files based on user-defined criteria specified in a CNS NetFlow Collection Engine aggregator. An aggregator is an aggregation task defined by a set of user-configurable attributes that specify how CNS NetFlow Collection Engine summarizes the traffic flows that are received.
CNS NetFlow Collection Engine Architectural Overview Figure 1-2 Collector The Collector subsystem collects NetFlow data, aggregates (or summarizes) that data, and filters specified data from supported Cisco routers and switches. Output is stored in files that are organized in an easy-to-use directory structure. Web-Based User Interface The Web-Based User Interface is provided for configuration, control, status, and reporting.
Chapter 1 Overview CNS/XML Interface The CNS/XML Interface is used to send and receive configuration/control requests and responses, and unsolicited event notifications. The CNS/XML interface uses the CNS Integration Bus to communicate with clients. Report Generator The Report Generator produces hourly and daily reports based on Collector output files by performing further aggregation of the records in these files based on criteria selected by the user.
The installation script prompts you for responses to any required steps. Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 Chapter 2 Installing CNS NetFlow Collection Engine the“Tuning Memory “Managing Disk Space” section of the Cisco CNS NetFlow Usage”section OL-6900-01...
Software can only be installed in the directory /opt/CSCOnfc. If some other directory is desired, Note create a symbolic link to /opt/CSCOnfc before installing the software. OL-6900-01 Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 Installing on a Solaris or HP-UX Platform...
Page 24
Using software package /var/tmp/./CSCOnfc-solaris-5.0-2.standard. ******************************************************************** CNS Netflow Collection Engine 5.0.2 [standard image, build 2] Copyright (c) 2003-2005 by Cisco Systems, Inc. All rights reserved. This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use.
Page 25
* /opt/CSCOnfc/tomcat/conf <attribute change only> * - conflict with a file which does not belong to any package. Do you want to install these conflicting files [y,n,?,q] y OL-6900-01 Cisco CNS NetFlow Collection Engine (Solaris2.8) 5.0 [standard image, build 23] Cisco CNS NetFlow Collection Engine (Solaris2.8) 5.0 [standard image, build 2]...
Page 26
This value should be at least the maximum size specified for the collector process as described at [link to memory tuning section of customizing chapter]. Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 Chapter 2 Installing CNS NetFlow Collection Engine Tools.”[link] for additional details. 5.0.2. Appendix G, “CNS OL-6900-01...
Log into the host as root. Step 1 Perform one of the following: Step 2 If installing from CD-ROM, run setup.sh in the CD-ROM base directory. OL-6900-01 Installing on a Red Hat Enterprise Linux Platform Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2...
Page 28
./NFC_setup.sh CSCOnfc-5.0-4.standard.i386.rpm ******************************************************************** CNS Netflow Collection Engine 5.0.2 [standard image, build 4] Copyright (c) 2003-2005 by Cisco Systems, Inc. All rights reserved. This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use.
(symbolic link to ../init.d/csco_nfcd) • • rcdir/rc3.d/S99csco_nfcd (symbolic link to ../init.d/csco_nfcd) OL-6900-01 Installing on a Red Hat Enterprise Linux Platform Release Notes for Cisco CNS NetFlow Collection Engine, (y/n)? y Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 of the Cisco CNS NetFlow 5.0.2.
2-10 “Tuning Memory Usage” section on page 4-26 Step 6 for installing on a Red Hat Enterprise Linux platform. Chapter 2 Installing CNS NetFlow Collection Engine in the Cisco CNS Step 11 for installing on a Solaris or HP-UX OL-6900-01...
Page 31
For Red Hat Enterprise 3, you must ensure that the compat-libstdc++ RPM is installed on the • system. This RPM is included in the Red Hat Enterprise 3 distribution CDs. OL-6900-01 C H A P T E R Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2...
Typically, CNS NetFlow Collection Engine is started and allowed to run until there is some reason to Note stop it. Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 Chapter 3 Configuring CNS NetFlow Collection Engine “CNS NetFlow Collection Engine for details about these processes. OL-6900-01...
Cisco CNS NetFlow Collection Engine Installation and Configuration Guide, 5.0.2 CNS NetFlow Collection engine Configuration Files (continued) Directory /opt/CSCOnfc/config /opt/CSCOnfc/tomcat/conf Web server configuration file. /opt/CSCOnfc/tomcat/web apps/nfc/WEB-INF Chapter 3 Configuring CNS NetFlow Collection Engine Description Logging properties file for the BGP peer. Web application configuration file for web-based UI. OL-6900-01...
Page 35
2-10 Collector subsystem (NFCollector) command conventions viii compatibility IOS software conventions, command viii data export compatibility matrix format mechanism OL-6900-01 flow cache flows defined HP-UX installation system requirements IP address for configuration IP packets Linux installation required software system requirements...
Page 36
Version 1 NetFlow export datagram description Version 5 NetFlow export datagram description Version 7 NetFlow export datagram description Version 8 NetFlow export datagram Cisco CNS NetFlow Collection Engine Installation and Configuation Guide. 5.0.2 IN-2 description Version 9 NetFlow export datagram description OL-6900-01...