File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / mpd / doc / mpd34.html
Revision 1.1.1.2 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 22 08:44:30 2013 UTC (11 years ago) by misho
Branches: mpd, MAIN
CVS tags: v5_7p0, v5_7, HEAD
5.7

    1: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
    2: <HTML>
    3: <HEAD>
    4: <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
    5: <TITLE>NetFlow</TITLE>
    6: </HEAD>
    7: <BODY text="#000000" bgcolor="#ffffff">
    8: 
    9: <A HREF="mpd.html"><EM>Mpd 5.7 User Manual</EM></A>
   10:  <b>:</b> <A HREF="mpd17.html"><EM>Configuring Mpd</EM></A>
   11:  <b>:</b> <A HREF="mpd33.html"><EM>Traffic accounting</EM></A>
   12:  <b>:</b> <EM>NetFlow</EM><BR>
   13: <b>Previous:</b> <A HREF="mpd33.html"><EM>Traffic accounting</EM></A><BR>
   14: <b>Next:</b> <A HREF="mpd35.html"><EM>IP Accounting</EM></A>
   15: 
   16: 
   17: <HR NOSHADE>
   18:   <H2><A NAME="34"></A>4.12.1. NetFlow<A NAME="netflow"></A></H2>
   19: <p>NetFlow is a protocol for exporting aggregated traffic information
   20: with UDP packets flow. NetFlow is generated by <code>ng_netflow(4)</code> node.
   21: To enable NetFlow on a particular interface <code>netflow-in</code> or
   22: <code>netflow-out</code> options should be used. Best practice is to enable
   23: netflow on every interface in system in only one direction:
   24: incoming for "ingress" flow or outgoing for "egress" flow.</p>
   25: <p><b>Note:</b> Netflow configuration is global for the daemon, 
   26: so it must be done before first bundle get connected.</p>
   27: <p><b>Note:</b> This feature is available only on FreeBSD 6.0-RELEASE
   28: and newer. NetFlow v9 supprted only on FreeBSD 9.0-RELEASE and newer.</p>
   29: <p>
   30: <dl>
   31: 
   32: <dt><b><code>set netflow peer <em>ip</em> <em>port</em></code></b><dd><p>Set destination IP address and port, where NetFlow export datagrams
   33: will be sent. This options is important to have working NetFlow.</p>
   34: 
   35: <dt><b><code>set netflow self <em>ip</em> <em>port</em></code></b><dd><p>Set optional local IP and port binding, to make NetFlow datagrams
   36: originate from a specific source.</p>
   37: 
   38: <dt><b><code>set netflow version <em>ver</em></code></b><dd><p>Choose NetFlow version to export. Supported options are 5 or 9.</p>
   39: <p>Default is 5.</p>
   40: 
   41: <dt><b><code>set netflow mtu <em>bytes</em></code></b><dd><p>Set export interface MTU to build packets of specified size (NetFlow
   42: v9-specific).</p>
   43: <p>Default is 1500.</p>
   44: 
   45: <dt><b><code>set netflow template <em>time</em> <em>packets</em></code></b><dd><p>Modify time and packet timeouts to announce data flow templates (NetFlow
   46: v9-specific).</p>
   47: <p>Defaults are 600 and 500.</p>
   48: 
   49: <dt><b><code>set netflow timeouts <em>inactive</em> <em>active</em></code></b><dd><p>Modify inactive and active timeout values. For more information, see
   50: <code>ng_netflow(4)</code> manual page.</p>
   51: 
   52: <dt><b><code>set netflow node <em>nodename</em></code></b><dd><p>Use existing <code>ng_netflow(4)</code> node instead of creating a new one.</p>
   53: 
   54: <dt><b><code>set netflow hook <em>number</em></code></b><dd><p>Use <code>ng_netflow(4)</code> node's hooks starting from specified number. 
   55: For detailed information about naming of hooks, see <code>ng_netflow(4)</code>
   56: manual page.</p>
   57: 
   58: </dl>
   59: </p>
   60: 
   61:  <HR NOSHADE>
   62: <A HREF="mpd.html"><EM>Mpd 5.7 User Manual</EM></A>
   63:  <b>:</b> <A HREF="mpd17.html"><EM>Configuring Mpd</EM></A>
   64:  <b>:</b> <A HREF="mpd33.html"><EM>Traffic accounting</EM></A>
   65:  <b>:</b> <EM>NetFlow</EM><BR>
   66: <b>Previous:</b> <A HREF="mpd33.html"><EM>Traffic accounting</EM></A><BR>
   67: <b>Next:</b> <A HREF="mpd35.html"><EM>IP Accounting</EM></A>
   68: 
   69: 
   70: 
   71: </BODY>
   72: </HTML>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>