This topic describes how to create a basic dynamic profile that enables
DHCP clients to dynamically access the multicast network.
Before you configure dynamic profiles for initial client
access:
Create a basic dynamic profile.
See Configuring a Basic Dynamic Profile.
Configure the necessary router interfaces that you want
accessing DHCP clients to use.
See DHCP Subscriber Interface Overview for information about the types of interfaces you can use with dynamic
profiles and how to configure them.
Ensure that the router is configured to enable communication
between the client and the RADIUS server.
See Specifying the Authentication and Accounting Methods
for Subscriber Access.
Configure all RADIUS values that you want the profiles
to use when validating DHCP clients for access to the multicast network.
See RADIUS Servers and Parameters
for Subscriber Access
To configure an initial client access dynamic profile:
- Access an IGMP access profile.
user@host# edit dynamic-profiles access-profile
[edit dynamic-profiles access-profile]
user@host#
- Define the IGMP interface with the interface variable.
Note: The variable value is replaced by the name of the interface
over which the router received the DHCP message.
[edit dynamic-profiles access-profile]
user@host# set protocols igmp interface $junos-interface-name
- (Optional) Enable or disable accounting on the IGMP interface.
[edit dynamic-profiles access-profile protocols igmp interface “$junos-interface-name”]
user@host# set accounting
or
[edit dynamic-profiles access-profile protocols igmp interface “$junos-interface-name”]
user@host# set no-accounting
Note: This statement enables you to override the accounting
setting at the IGMP protocol level. For example, if IGMP accounting
is enabled at the [edit protocols igmp interface interface-name] hierarchy level, you can use the no-accounting statement to disable accounting for any IGMP
interfaces that are dynamically created by the dynamic profile. If
IGMP accounting is not enabled at the [edit protocols igmp interface interface-name] hierarchy level, you can use the accounting statement to enable accounting for any IGMP interfaces
that are dynamically created by the dynamic profile.
- Set the IGMP interface to remain enabled.
[edit dynamic-profiles access-profile protocols igmp interface “$junos-interface-name”]
user@host# set disable:$junos-igmp-enable
Note: RADIUS is capable of disabling IGMP. By assigning the
enable variable to the disable statement, you can ensure
that IGMP remains enabled.
- (Optional) Specify a group policy for the IGMP interface.
[edit dynamic-profiles access-profile protocols igmp interface “$junos-interface-name”]
user@host# set group-policy report-reject-policy
- (Optional) Enable immediate leave on the IGMP interface.
[edit dynamic-profiles access-profile protocols igmp interface “$junos-interface-name”]
user@host# set immediate-leave:$junos-igmp-immediate-leave
- (Optional) Set the IGMP interface to obtain the IGMP version
from RADIUS.
[edit dynamic-profiles access-profile protocols igmp interface “$junos-interface-name”]
user@host# set version $junos-igmp-version