This is an old revision of the document!
Policing Management
Subscriber management is performed using the utility fdpi_ctrl.
We recommend using Named profiles, which simplifies policing management.
Command Syntax
The general format of commands:
fdpi_ctrl command --policing policing_description_file [IP_list] [LOGIN_list]
Explanation of command parameters:
| Parameter | Description, possible values, and format | Note | 
|---|---|---|
| command | Values: 1. load— load data2. del— delete. For--service, you need to specify theservice_identifier3. list— display information for the specifiedIP_listor all information if theallargument is provided. | In listanddelcommands, instead of an IP/LOGIN list, you can specifyall, meaning the command will apply to all. | 
| policing_description_file | A file in cfgformat, e.g.,tbf.cfg | |
| IP_list | Values: 1. --file— file with a list of IPs2. --ip— single IP, format:192.168.0.13. --ip_range— IP range (inclusive), format:192.168.0.1-192.168.0.54. --cidr— IP with port, format:192.168.0.0/30, 5.200.43.0/24~(CIDR format with excluded boundary addresses) | Boundary addresses can be excluded from a CIDR range (following the classless addressing agreement — gateway and broadcast addresses) by adding the ~symbol at the end of the CIDR definition, e.g.,--cidr 5.200.43.0/24~. | 
| LOGIN_list | Values: 1. --file— file with a list of logins2. --login— single login, format: USER1, "FIRST_NAME LAST_NAME" (alternative for specifying a login with escaped special characters) | "USER1" — option for specifying login in double quotes 'USER2' — option for specifying login in single quotes | 
A line starting with 
# is a comment.
Examples
- Enable policing policy using a policing description file:fdpi_ctrl load --policing tbf.cfg --ip 192.168.0.1 
- Get a list of applied policing:fdpi_ctrl list all --policing
- Get information for a specific IP:fdpi_ctrl list --policing --ip 192.168.0.1 
- Enable policing policy using a named profile:fdpi_ctrl load --policing --profile.name tariff_10 --login kv_111 
Was this information helpful?