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:dhcp [2023/08/28 13:40] – ↷ Page moved from en:dpi:bras_bng:cli:start:dhcp to en:dpi:bras_bng:cli:dhcp elena.krasnobryzh | en:dpi:bras_bng:cli:dhcp [2025/07/31 08:54] (current) – [dhcp reauth] elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== BRAS DHCP CLI ====== | ====== BRAS DHCP CLI ====== | ||
- | {{indexmenu_n> | + | {{indexmenu_n> |
View and management of the internal DHCP-sessions fastdpi BRAS database. | View and management of the internal DHCP-sessions fastdpi BRAS database. | ||
- | This is a fastdpi | + | This is a fastDPI |
- | ==== DHCP show all ==== | + | <note tip>'' |
- | Output of the complete database of DHCP-sessions | + | |
+ | ==== dhcp show all ==== | ||
+ | Output of the complete database of DHCP-sessions | ||
< | < | ||
fdpi_cli -r < | fdpi_cli -r < | ||
</ | </ | ||
- | ==== DHCP show ==== | + | ==== dhcp show ==== |
Output of sessions by specified keys: | Output of sessions by specified keys: | ||
< | < | ||
Line 18: | Line 20: | ||
</ | </ | ||
You should set one of the keys: | You should set one of the keys: | ||
- | * ip=X - subscriber' | + | * '' |
- | * mac=X - subscriber' | + | * '' |
- | * login-X | + | * '' |
Examples: | Examples: | ||
< | < | ||
Line 28: | Line 30: | ||
</ | </ | ||
- | ==== DHCP show stat ==== | + | ==== dhcp show stat ==== |
Output of current statistics on DHCP-sessions: | Output of current statistics on DHCP-sessions: | ||
< | < | ||
Line 34: | Line 36: | ||
</ | </ | ||
- | ==== DHCP reauth ==== | + | ==== dhcp reauth ==== |
< | < | ||
fdpi_cli -r < | fdpi_cli -r < | ||
Line 40: | Line 42: | ||
Subscriber re-authorization with a specified key. | Subscriber re-authorization with a specified key. | ||
- | To reduce the load on the Radius-server, BNG/BRAS caches the DHCP data from the Radius | + | To reduce the load on the RADIUS-server, BNG/BRAS caches the DHCP data from the RADIUS |
You should set one of the keys: | You should set one of the keys: | ||
- | * ip=X - subscriber' | + | * '' |
- | * mac=X - subscriber' | + | * '' |
Examples: | Examples: | ||
< | < | ||
Line 51: | Line 53: | ||
</ | </ | ||
+ | ==== dhcp disconnect ==== | ||
+ | CLI-analog of CoA Disconnect. The discount execution mode is set by the option '' | ||
+ | |||
+ | Discount of all DHCP sessions: | ||
+ | < | ||
+ | |||
+ | Discount of the specified session: | ||
+ | < |