HomeIPCAD → ipcad manual

IPCAD(8)		FreeBSD System Manager's Manual 	      IPCAD(8)


NAME

     ipcad -- IP accounting daemon with Cisco-like ip accounting export


SYNOPSIS

     ipcad [-h] [-c config] [-d] [-r] [-s]


DESCRIPTION

     IPCAD stands for IP Cisco Accounting Daemon. It runs in background and
     listens traffic on the specified interfaces. Collected statistics can be
     obtained via the same method used to gather ip accounting from Cisco
     routers.


OPTIONS

     The options are as follows:

     -h 	 Print the help page

     -c config	 Specify configuration file

     -d 	 Work in background

     -r 	 Import saved accounting table on startup

     -s 	 Save the active accounting table on exit


RSH COMMANDS

     Once started, ipcad listens for rsh requests and/or exports NetFlow.  In
     case of rsh, data can be requested from ipcad by issuing a following:

     rsh localhost command

     Commands may be freely abbreviated.

   Recognized commands are:
     help				Show available commands

     show ip accounting 		Show current accounting table
     show ip accounting checkpoint	Show checkpointed accounting table

     clear ip accounting		Move accounting to checkpoint base
     clear ip accounting checkpoint	Clear checkpoint base

     show interface <ifname>		Show interface status and counters

     stat				Show overall interface status and
					statistics

     dump [<pathname>]			Dump current accounting table
     restore [<pathname>]		Restore current table
     import [<pathname>]		Import (add) entries from specified
					file

     shutdown				Shutdown ipcad


EXAMPLE

     Run ipcad as daemon, import saved state tables on startup and save them
     on exit:

	   ipcad -rds

     Save statistics: the following commands will save statistics for further
     processing. No data loss will occur in this case.

	   rsh localhost cle ip acco
	   rsh localhost sh ip acco checkpoint > file_to_parse

     Please refer to ipcad.conf(5) manual page for NetFlow configuration
     options.


SEE ALSO

     ipcad.conf(5).


AUTHORS

     Lev Walkin <vlm@lionet.info>

				 May 25, 2001