ipcad(8)
| IPCAD(8) | 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
-cconfig- 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 -rdsSave statistics: the following commands will save statistics for further processing. No data loss will occur in this case.
rsh localhost cle ip
accorsh localhost sh ip acco checkpoint
> file_to_parsePlease refer to ipcad.conf(5) manual page for NetFlow configuration options.
SEE ALSO
AUTHORS
Lev Walkin <vlm@lionet.info>
| May 25, 2001 |
