Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:platform:subscriber_management:subsman_cmd:start [2018/03/21 11:44] – lexx26 | en:dpi:dpi_components:platform:subscriber_management:subsman_cmd:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 3 Management of policing and services ====== | ||
- | {{indexmenu_n> | ||
- | Subscribers' | ||
- | The instruction format: | ||
- | < | ||
- | fdpi_ctrl command { --service service_identifier | --policing policing_description_file} [IP_list] [LOGIN_list] | ||
- | </ | ||
- | |||
- | Here ' | ||
- | < | ||
- | load : load data | ||
- | del : remove. You have to specify ' | ||
- | list : show the information on the specified ' | ||
- | </ | ||
- | |||
- | service_identifier - is one of these values or their comma separated list: | ||
- | < | ||
- | 1 - bonus program | ||
- | 2 - advertising | ||
- | 3 - block advertisements | ||
- | 4 - black list | ||
- | 5 - white list | ||
- | 6 - notifications | ||
- | 7 - caching | ||
- | 8 - DDos protection passed | ||
- | 9 - collect netflow statistics for billing | ||
- | </ | ||
- | |||
- | IP_list | ||
- | < | ||
- | --file | ||
- | --ip - a single IP | ||
- | --ip_range - inclusive IP range | ||
- | --cidr | ||
- | </ | ||
- | |||
- | LOGIN_list | ||
- | < | ||
- | --login USER1 | ||
- | --login " | ||
- | </ | ||
- | |||
- | IP list or LOGIN can be specified as: | ||
- | < | ||
- | 192.168.0.1 | ||
- | 192.168.0.1-192.168.0.5 inclusive IP range | ||
- | 192.168.0.0/ | ||
- | " | ||
- | ' | ||
- | </ | ||
- | Lines starting from '#' | ||
- | |||
- | One can specify ' | ||
- | |||
- | Examples: | ||
- | |||
- | To get the policing application list: | ||
- | < | ||
- | fdpi_ctrl list all --policing | ||
- | </ | ||
- | |||
- | To get the list of subscribers with active service 1: | ||
- | < | ||
- | fdpi_ctrl list all --service 1 | ||
- | </ | ||
- | |||
- | To get the information for specified IP: | ||
- | < | ||
- | fdpi_ctrl list --policing | ||
- | fdpi_ctrl list --service 1 --ip 192.168.0.1 | ||
- | </ | ||
- | |||
- | To activate service 1: | ||
- | < | ||
- | fdpi_ctrl load --service 1 --ip 192.168.0.1 | ||
- | or | ||
- | fdpi_ctrl load --service 1 --login USER1 | ||
- | </ | ||
- | |||
- | To activate policing policy: | ||
- | < | ||
- | fdpi_ctrl load --policing tbf.cfg --ip 192.168.0.1 | ||
- | </ | ||
- | |||
- | |||
- | To disable service 1: | ||
- | < | ||
- | fdpi_ctrl del --service 1 --ip 192.168.0.1 | ||
- | </ | ||
- | |||
- | One can specify several options ' | ||
- | < | ||
- | fdpi_ctrl list --service 1 --ip 192.168.0.1 --ip 192.168.0.2 --file fip_1.txt --ip_range 192.168.0.3-192.168.0.6 --login USER1 | ||
- | </ | ||
- | This action would be applied to all elements that do not cause any errors.\\ | ||
- | :!: No undo for changes that were already implemented is made on errors. | ||
- | |||
- | Detailed description on policing and services' |