The fdpi_cli utility allows you to view and manage the contents of the internal fastDPI and fastPCRF structures.
Utility activation:
fdpi_cli [-r <address>] [<options>] <command> <address> - fastDPI or fastPCRF server address in format: ip%dev[:port] e.g., 10.20.30.40%eth1, 127.0.0.1%lo. Default ports: fastdpi=29000, fastpcrf=29002 Default address 127.0.0.1 <options>: -h, --help - displays utility help -t N - server response timeout, seconds; default - 5 seconds -v - verbose output: -v, -vv, -vvv, -vvvv --json - responses output in JSON format --strict - use strict JSON (quoted field name). Only relevant for --json <command> - command fdpi_cli Quick help for all fdpi_cli commands: fdpi_cli help Detailed help for a specific command: fdpi_cli help <command>
The verbosity is intended for fdpi_cli debugging purposes and does not affect the output of the command itself.
-r
argument is not specified, -r 127.0.0.1
is assumed. If fastDPI or fastPCRF are on a remote machine, you have to specify -r
argument - fastDPI or fastPCRF-server address. We recommend making alias for fdpi_cli for each of the possible addresses; for example, alias for CLI fastPCRF server 10.20.30.40: alias fpcrf_cli="fdpi_cli -r 10.20.30.40"
Commands fdpi_cli: