Technical Documentation

Configuring Dynamic Subscriber Interfaces Using VLAN Demux Interfaces in Dynamic Profiles

You can configure dynamic subscriber interfaces using VLAN 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 by specifying the $junos-interface-ifd-name variable.

      The variable is dynamically replaced with the underlying device name 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-interface-ifd-name
    3. Configure the variable for the VLAN ID.
      [edit dynamic-profiles business-profile interfaces demux0 unit “$junos-interface-unit”]user@host# set vlan-id $junos-vlan-id
  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

Published: 2010-04-15