====== BNG Management ====== {{indexmenu_n>10}} The fdpi_cli utility allows you to view and manage the contents of the internal fastDPI and fastPCRF structures. Utility activation: fdpi_cli [-r
] []
- 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 : -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 fdpi_cli Quick help for all fdpi_cli commands: fdpi_cli help Detailed help for a specific command: fdpi_cli help 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: - [[en:dpi:bras_bng:cli:dhcp|DHCP]] - view and management of DHCP fastDPI BRAS database - [[en:dpi:bras_bng:cli:dhcpv6|DHCPv6]] - view and management of the internal DHCPv6 fastDPI BRAS database - [[en:dpi:bras_bng:cli:pppoe|PPPoE]] - view and management of the internal PPPoE-sessions fastDPI BRAS database - [[en:dpi:bras_bng:cli:gtp|GTP]] - view and management of the internal [[en:dpi:dpi_components:platform:dpi_mobile_spec|GTP-sessions]] database - [[en:dpi:bras_bng:cli:subs|subscribers]] - subscribers management - [[en:dpi:bras_bng:cli:acct|accounting]] - view and management of the internal accounting fastPCRF database - [[en:dpi:bras_bng:cli:pcrfctl|PCRF]] - fastPCRF management - [[en:dpi:dpi_components:platform:dpi_vlan_recode#cli-commands|vlan translation]] - [[en:dpi:dpi_components:platform:dpi_vlan_recode|VLAN translation management]]