In this example, IGMP is configured for subscriber access using user-defined variables and JUNOS internal variables.
The user-defined variables equate to RADIUS settings as follows:
- [edit dynamic-profiles profile-name]
- variables {
-
- var-igmp-version {
- mandatory;
-
- radius {
- vendor-id 4874 attribute 78;
- }
- }
-
- var-igmp-access-grp {
- mandatory;
-
- radius {
- vendor-id 4874 attribute 71;
- }
- }
-
- var-igmp-access-src-grp {
- mandatory;
-
- radius {
- vendor-id 4874 attribute 72;
- }
- }
- }
-
- interfaces {
-
- demux0 {
-
- unit "$junos-interface-unit" {
-
- demux-options {
- underlying-interface "$junos-underlying-interface";
- }
-
- family inet {
-
- demux-source {
- $junos-subscriber-ip-address;
- }
- unnumbered-address lo0.0 preferred-source-address 20.21.0.1;
- }
- }
- }
- }
-
- protocols {
-
- igmp {
-
- interface "$junos-interface-name" {
- version "$var-igmp-version";
- group-policy [ "$var-igmp-access-grp" "$var-igmp-access-src-grp"
];
- }
- }
- }
![]() |
Note: You must also configure any global IGMP parameters. |