Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:bras_bng:cli:pcrfctl:start [2023/09/01 11:56] – elena.krasnobryzh | en:dpi:bras_bng:cli:pcrfctl:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FastPCRF Management ====== | ||
- | {{indexmenu_n> | ||
- | The following are the fastPCRF commands, so you have to specify the fastPCRF address in the -r argument of the fdpi_cli utility. | ||
- | |||
- | ===== Authorization request queue ===== | ||
- | [[dpi: | ||
- | |||
- | ==== pcrf auth queue stat ==== | ||
- | Displays statistics on the internal queue of authorization requests: | ||
- | |||
- | < | ||
- | fdpi_cli -r < | ||
- | </ | ||
- | |||
- | ==== pcrf auth queue clear ==== | ||
- | Clears the authorization queue. You can clear the entire queue with the command: | ||
- | |||
- | < | ||
- | fdpi_cli -r < | ||
- | </ | ||
- | or the oldest records by specifying the '' | ||
- | < | ||
- | fdpi_cli -r < | ||
- | </ | ||
- | |||
- | ===== Persistent reply queue ===== | ||
- | {{anchor: | ||
- | |||
- | [[en: | ||
- | |||
- | ==== pcrf persist queue stat ==== | ||
- | Displays persistent queue statistics for each fastDPI: | ||
- | <code bash> | ||
- | > fdpi_cli -r < | ||
- | |||
- | Statistics of persist queue (pcrf -> fastdpi): | ||
- | FastDPI #0 ' | ||
- | queue file: / | ||
- | current: page count=1, item count=0 | ||
- | connected at: 2019/12/04 12:02:52, -25.332764s (13249164373261240 ticks) | ||
- | last sent: n/a (0 ticks) | ||
- | next reconnect: n/a (0 ticks) | ||
- | Statistics: | ||
- | sent: packet=0, bytes=0, error=0 | ||
- | received: bytes=0, error=0 | ||
- | socket: open=1, close=0, buffer overflow (split packet)=0 | ||
- | queue: enqueue packet=0 (0 bytes) | ||
- | drop head=0, push exception=0, | ||
- | FastDPI #1 ' | ||
- | queue file: / | ||
- | current: page count=1, item count=3560 | ||
- | last sent: n/a (0 ticks) | ||
- | next reconnect: 2019/12/04 12:03:18, +0.705613s (13249242490512650 ticks) | ||
- | Statistics: | ||
- | sent: packet=0, bytes=0, error=0 | ||
- | received: bytes=0, error=0 | ||
- | socket: open=0, close=0, buffer overflow (split packet)=0 | ||
- | queue: enqueue packet=0 (0 bytes) | ||
- | drop head=0, push exception=0, | ||
- | </ | ||
- | |||
- | ==== pcrf persist queue clear ==== | ||
- | Clears all queues or only the specified queue. | ||
- | The command response is the queue statistics after clearing. | ||
- | <code bash> | ||
- | # clears all queues | ||
- | fdpi_cli -r < | ||
- | |||
- | # clears a queue by its number | ||
- | # the queue number can be found from the output of the pcrf persist queue stat command | ||
- | fdpi_cli -r < | ||
- | |||
- | # clears a queue by its name | ||
- | fdpi_cli -r < | ||
- | </ | ||
- | |||
- | ==== pcrf persist queue reconnect ==== | ||
- | Allows you to reconnect to fastDPI without resetting the queue. It can be applied to a specific connection or to all. |