Configure Juniper BNG CUPS
SUMMARY This document presents sample configurations that you can use to set up Juniper BNG CUPS and configure subscriber access and subscriber management.
Configure Multicast
You can set up multicast in your Juniper BNG CUPS environment. The following sections contain example configurations to help you set up multicast in Juniper BNG CUPS.
Configure Global Multicast Settings
You can use the following example configuration to help you configure global multicast settings.
Configure multicast on the BNG User Planes, as follows:
[edit] protocols { igmp { query-interval 125; query-response-interval 10; query-last-member-interval 1; robust-count 2; } mld { query-interval 125; query-response-interval 10; query-last-member-interval 1; robust-count 2; } } policy-options { policy-statement OIF-MAP-V4 { term A { from { route-filter 230.10.10.1/24 orlonger; route-filter 230.20.20.1/32 exact; } then { map-to-interface ge-1/0/1.33; accept; } } then reject; } policy-statement OIF-MAP-V6 { term A { from { route-filter ff3e:0:0:0:0:0:0:101/64 orlonger; route-filter ff05:230::1/128 exact; } then { map-to-interface ge-1/0/1.33; accept; } } then reject; } policy-statement igmp-group-policy { term A1 { from { route-filter 230.0.0.1/24 orlonger; } then accept; } then reject; } policy-statement mld-group-policy { term A1 { from { route-filter ff05::/64 orlonger; } then accept; } then reject; } policy-statement ssm-map-v4 { term A1 { from { route-filter 230.0.0.1/24 orlonger; } then { ssm-source 194.0.0.22; accept; } } } policy-statement ssm-map-v6 { term A1 { from { route-filter ff05::/64 orlonger; } then { ssm-source 3000::1; accept; } } } } routing-options { multicast { ssm-groups 233.0.0.0/8; cont-stats-collection-interval 600; } }
Configure Centralized Multicast
You can use the following example configuration to help you configure a centralized multicast setup.
Configure centralized multicast on the BNG CUPS Controller, as follows:
[edit dynamic-profiles profile-name] protocols { igmp { interface "$junos-interface-name" { version 3; immediate-leave; promiscuous-mode; ssm-map-policy ssm-map-v4; group-policy igmp-group-policy; oif-map OIF-MAP-V4; } } }
Configure Distributed Multicast
You can use the following example configuration to help you configure a distributed multicast setup.
Configure distributed multicast on the BNG CUPS Controller, as follows:
[edit dynamic-profiles profile-name] protocols { mld { interface "$junos-interface-name" { version 2; immediate-leave; promiscuous-mode; distributed; ssm-map-policy ssm-map-v6; group-policy mld-group-policy; } } }
Configure Lawful Intercept
The radius-flow-tap
configuration commands are split between the BNG
CUPS Controller and the BNG User Planes.
Configure Dynamic Tasking Control Protocol
You run all the Dynamic Tasking Control Protocol configurations on the BNG CUPS Controller.
Perform the following configuration on the BNG CUPS Controller:
[edit] System { login { class <class-name> { permissions flow-tap-operation; } user <user-name> { uid <uid>; class <class-name>; authentication { encrypted-password <string> } } } services { flow-tap-dtcp { ssh { connection-limit <connection-limit>; rate-limit <rate-limit>; } } } }