Example: IGMP Dynamic Profile
In this example, IGMP is configured for subscriber access using Junos OS predefined variables.
The predefined variables equate to RADIUS settings as follows:
Junos OS Predefined Variable |
RADIUS VSA Name |
RADIUS Attribute Number |
---|---|---|
$var-igmp-version |
IGMP-Version |
26–78 |
$var-igmp-access-grp |
IGMP-Access-Name |
26–71 |
$var-igmp-access-src-grp |
IGMP-Access-Src-Name |
26–72 |
[edit dynamic-profiles profile-name] 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 203.0.113.210; } } } } 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.