Technical Documentation

Configuring Dynamic Subscriber Interfaces Using IP Demux Interfaces in Dynamic Profiles

You can configure dynamic subscriber interfaces using IP demux interfaces.

To enable the dynamic demux interface to be created by DHCP, you configure the demux options in a dynamic profile. Dynamic profiles enable you to dynamically apply configured values (including CoS, IGMP, or filter configuration) to the dynamic interfaces, making them easier to manage.

Before you begin:

To configure dynamic subscriber interfaces:

  1. Specify that you want to configure the demux0 interface in the dynamic profile.
    user@host# edit dynamic-profiles business-profile interfaces demux0
  2. Configure the unit for the demux0 interface.
    1. Configure the variable for the unit number of the demux0 interface.

      The variable is dynamically replaced with the unit number that DHCP supplies when the subscriber logs in.

      [edit dynamic-profiles business-profile interfaces demux0]user@host# edit unit $junos-interface-unit
    2. Configure the variable for the underlying interface of the demux interfaces and specify the $junos-underlying-interface variable.

      The variable is dynamically replaced with the underlying interface that DHCP supplies when the subscriber logs in.

      [edit dynamic-profiles business-profile interfaces demux0 unit “$junos-interface-unit”]user@host# set demux-options underlying-interface $junos-underlying-interface
  3. Configure the family for the demux interfaces.
    1. Specify that you want to configure the family.

      For IPv4:

      [edit dynamic-profiles business-profile interfaces demux0 unit “$junos-interface-unit”]user@host# edit family inet

      For IPv6:

      [edit dynamic-profiles business-profile interfaces demux0 unit “$junos-interface-unit”]user@host# edit family inet6
    2. Configure the unnumbered address for the family.
      [edit dynamic-profiles business-profile interfaces demux0 unit “$junos-interface-unit” family inet]user@host# set unnumbered-address lo0.0
    3. Configure the variable for the IP address of the demux interface.

      The variable is dynamically replaced with the IP address that DHCP supplies when the subscriber logs in. For IPv4, use $junos-subscriber-ip-address; for IPv6, use $junos-subscriber-ipv6-address

      [edit dynamic-profiles business-profile interfaces demu0 unit “$junos-interface-unit”]user@host# set demux-source $junos-subscriber-ip-address

Published: 2010-04-15