[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Example: IGMP Dynamic Profile

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:

User-Defined Variable NameJUNOS VariableRADIUS VSA NameRADIUS Attribute NumberRADIUS Setting

var-igmp-version

$var-igmp-version

IGMP-Version

26–78

3

var-igmp-access-grp

$var-igmp-access-grp

IGMP-Access-Group-Name

26–71

"reject_igmp_225"

var-igmp-access-src-grp

$var-igmp-access-src-grp

IGMP-Access-Source- Group-Name

26–72

"reject_igmp_115"

[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.


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]