BNG Management [Документация VAS Experts]

BNG Management

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.

By default, the CLI assumes that fastDPI and fastPCRF are on the same server from which the CLI is called. If the -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"
Security: DPI accepts CLI commands from any source. For security reasons, we recommend restricting access to control TCP ports 29000 (fastDPI) and 29002 (fastPCRF) only to trusted clients using the linux firewall (iptables).

Commands fdpi_cli:

  1. DHCP - view and management of DHCP fastDPI BRAS database
  2. DHCPv6 - view and management of the internal DHCPv6 fastDPI BRAS database
  3. PPPoE - view and management of the internal PPPoE-sessions fastDPI BRAS database
  4. GTP - view and management of the internal GTP-sessions database
  5. subscribers - subscribers management
  6. accounting - view and management of the internal accounting fastPCRF database
  7. PCRF - fastPCRF management