Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:dpi:bras_bng:cli:dhcp [2023/09/01 11:46] – elena.krasnobryzh | en:dpi:bras_bng:cli:dhcp [2024/09/26 15:29] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== dhcp ====== | + | ====== |
+ | {{indexmenu_n> | ||
+ | |||
+ | View and management of the internal DHCP-sessions fastdpi BRAS database. | ||
+ | |||
+ | This is a fastdpi command, so you have to specify the fastdpi address in the -r argument of the utility. | ||
+ | |||
+ | ==== DHCP show all ==== | ||
+ | Output of the complete database of DHCP-sessions fastdpi: | ||
+ | < | ||
+ | fdpi_cli -r < | ||
+ | </ | ||
+ | |||
+ | ==== DHCP show ==== | ||
+ | Output of sessions by specified keys: | ||
+ | < | ||
+ | fdpi_cli -r < | ||
+ | </ | ||
+ | You should set one of the keys: | ||
+ | * ip=X - subscriber' | ||
+ | * mac=X - subscriber' | ||
+ | * login-X - output of all DHCP-sessions by the specified login | ||
+ | Examples: | ||
+ | < | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | ==== DHCP show stat ==== | ||
+ | Output of current statistics on DHCP-sessions: | ||
+ | < | ||
+ | fdpi_cli -r < | ||
+ | </ | ||
+ | |||
+ | ==== DHCP reauth ==== | ||
+ | < | ||
+ | fdpi_cli -r < | ||
+ | </ | ||
+ | Subscriber re-authorization with a specified key. | ||
+ | |||
+ | To reduce the load on the Radius-server, | ||
+ | |||
+ | You should set one of the keys: | ||
+ | * ip=X - subscriber' | ||
+ | * mac=X - subscriber' | ||
+ | Examples: | ||
+ | < | ||
+ | | ||
+ | | ||
+ | </ |