BRAS DHCP CLI [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:dpi:bras_bng:cli:dhcp [2025/07/31 08:18] elena.krasnobryzhen:dpi:bras_bng:cli:dhcp [2025/07/31 08:54] (current) – [dhcp reauth] elena.krasnobryzh
Line 4: Line 4:
 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 command, so you have to specify the fastdpi address in the ''-r'' argument of the utility.+This is a fastDPI command, so you have to specify the fastDPI address in the ''-r'' argument of the utility.
  
 <note tip>''subs_id'' can be used as an identifier in all CLI commands.</note> <note tip>''subs_id'' can be used as an identifier in all CLI commands.</note>
  
-==== DHCP show all ==== +==== dhcp show all ==== 
-Output of the complete database of DHCP-sessions fastdpi:+Output of the complete database of DHCP-sessions fastDPI:
 <code> <code>
 fdpi_cli -r <address> dhcp show all fdpi_cli -r <address> dhcp show all
 </code> </code>
  
-==== DHCP show ====+==== dhcp show ====
 Output of sessions by specified keys: Output of sessions by specified keys:
 <code> <code>
Line 20: Line 20:
 </code> </code>
 You should set one of the keys: You should set one of the keys:
-  * ip=X subscriber's IP-address +  * ''ip=X'' — subscriber's IP-address 
-  * mac=X subscriber's MAC-address +  * ''mac=X'' — subscriber's MAC-address 
-  * login-X output of all DHCP-sessions by the specified login+  * ''login-X'' — output of all DHCP-sessions by the specified login
 Examples: Examples:
 <code> <code>
Line 30: Line 30:
 </code> </code>
  
-==== DHCP show stat ====+==== dhcp show stat ====
 Output of current statistics on DHCP-sessions: Output of current statistics on DHCP-sessions:
 <code> <code>
Line 36: Line 36:
 </code> </code>
  
-==== DHCP reauth ====+==== dhcp reauth ====
 <code> <code>
 fdpi_cli -r <address> dhcp reauth [ mac=X | ip=X ] fdpi_cli -r <address> dhcp reauth [ mac=X | ip=X ]
Line 42: 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 for the address lease duration, and responds to the DHCP Request of the subscriber. Sometimes it is required to indicate to DPI that the next subscriber's request should be sent to Radius without waiting for the lease time to expire. This is what the ''dhcp reauth'' command is for.+To reduce the load on the RADIUS-server, BNG/BRAS caches the DHCP data from the RADIUS for the address lease duration, and responds to the DHCP Request of the subscriber. Sometimes it is required to indicate to DPI that the next subscriber's request should be sent to RADIUS without waiting for the lease time to expire. This is what the ''dhcp reauth'' command is for.
  
 You should set one of the keys: You should set one of the keys:
-  * ip=X subscriber's IP-address +  * ''ip=X'' — subscriber's IP-address 
-  * mac=X subscriber's MAC-address+  * ''mac=X'' — subscriber's MAC-address
 Examples: Examples:
 <code> <code>