en:playground:opt_bras_l3:bras_steps:bras_auth_ctl:start [Документация 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:playground:opt_bras_l3:bras_steps:bras_auth_ctl:start [2023/10/13 14:26] – ↷ Page moved from en:dpi:bras_bng:opt_bras_l3:bras_steps:bras_auth_ctl:start to en:playground:opt_bras_l3:bras_steps:bras_auth_ctl:start elena.krasnobryzhen:playground:opt_bras_l3:bras_steps:bras_auth_ctl:start [2023/12/01 15:06] (current) – removed elena.krasnobryzh
Line 1: Line 1:
-====== Manual authorization status handling ====== 
-{{indexmenu_n>5}} 
-Manual setting/resetting of subscriber authorization status is sometimes required. It can be done using the fdpi_ctrl utility: 
  
-<code> 
-   # To set the "authorized" authorization state (the Access-Accept analogue): 
-fdpi_ctrl load --auth=1 --ip=192.168.10.1 
-   # an analogue for IPv6 
-fdpi_ctrl load --auth=1 --ip=2001:dead::/64 
- 
-   # To set the "unauthorized" authorization state (the Access-Reject analogue): 
-fdpi_ctrl load --auth=0 --ip=192.168.10.1 
-   # an analogue for IPv6 
-fdpi_ctrl load --auth=0 --ip=2001:dead::/64 
- 
-   # To view the current state of subscriber's authorization: 
-fdpi_ctrl list --auth --ip=192.168.10.1 
-fdpi_ctrl list --auth --ip=2001:dead::/64 
-</code> 
- 
-To reset the current authorization state use the following command: 
-<code> 
-   # To reset the current subscriber's authorization state 
-fdpi_ctrl del --auth --ip=192.168.10.1 
-fdpi_ctrl del --auth --ip=2001:dead::/64 
-</code> 
-After resetting the state the first packet received from the subscriber will result in sending an authorization request to the Radius server. 
- 
-When you set the authorization status you are allowed to specify the time (in seconds) within which this status will be valid: 
-<code> 
-   # To set the "authorized" authorization state for 10 minutes: 
-fdpi_ctrl load --auth=1 --ip=192.168.10.1 --timeout=600 
-</code> 
-By default, the lifetime of authorization is set by the [[en:dpi:bras_bng:opt_bras_l3:bras_steps:radius_auth_setup:radius_auth_conf_params|auth_expired_timeout]] option. 
- 
----- 
- 
-[[en:dpi:bras_bng:opt_bras_l3:bras_steps:start|««« BRAS]]