Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

Supported Platforms

Configuring Dynamic Profiles for the DHCPv6 Layer 3 Wholesale Network Solution

A dynamic profile is a set of characteristics, defined in a type of template, that you can use to provide services for broadband applications. These services are assigned dynamically to interfaces as they access the network. When configuring dynamic profiles for the DHCPv6 Layer 3 wholesale network, you can choose to configure one dynamic profile to address all incoming subscribers or you can configure individual dynamic profiles for use by the different network management groups (that is, the wholesaler and any retailers). In fact, you can create multiple dynamic profiles that you can use to roll out different services and selectively apply those dynamic profiles to different subscriber groups as necessary.

In this solution example, one dynamic profile is created for use by the wholesaler when subscribers initially access the network. Other dynamic profiles are created for the subscribers for each individual retailer to use after they are redirected to that retailer network space.

Configuring a Wholesale Dynamic Profile for use in the DHCPv6 Solution

You can configure a basic access profile to initially manage subscribers that access the network.

To configure a dynamic profile for use by the wholesaler:

  1. Create a wholesale dynamic profile.
    [edit] user@host# edit dynamic-profiles Wholesaler_Profile
  2. Specify that you want to configure the demux0 interface in the dynamic profile.
    [edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit interfaces demux0
  3. 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 Subscriber_Profile_Retail1 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 Subscriber_Profile_Retail1 interfaces demux0 unit “$junos-interface-unit”]user@host# set demux-options underlying-interface $junos-underlying-interface
  4. Configure the family for the demux interfaces.
    1. Specify that you want to configure the family.
      [edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit “$junos-interface-unit”]user@host# edit family inet6
    2. Configure the unnumbered address for the family.
      [edit dynamic-profiles Subscriber_Profile_Retail1 demux0 unit “$junos-interface-unit” family inet6]user@host# set unnumbered-address lo0.0
    3. Configure the variable for the IPv6 address of the demux interface.

      The variable is dynamically replaced with the IPv6 address that DHCP supplies when the subscriber logs in.

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

Configuring a Dynamic Profile for use by Each Retailer in the DHCPv6 Solution

To configure a dynamic profile for use with retailer access:

  1. Create a retail dynamic profile.
    [edit] user@host# edit dynamic-profiles Subscriber_Profile_Retail1
  2. Define the dynamic routing instance variable in the dynamic profile.
    [edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit routing-instances $junos-routing-instance
  3. Set the dynamic interface variable for the dynamic routing instance.
    [edit dynamic-profiles Subscriber_Profile_Retail1 routing-instances “$junos-routing-instance”]user@host# set interface $junos-interface-name
  4. Specify that you want to configure the demux0 interface in the dynamic profile.
    [edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit interfaces demux0
  5. 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 Subscriber_Profile_Retail1 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 Subscriber_Profile_Retail1 interfaces demux0 unit “$junos-interface-unit”]user@host# set demux-options underlying-interface $junos-underlying-interface
  6. Configure the family for the demux interfaces.
    1. Specify that you want to configure the family.
      [edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit “$junos-interface-unit”]user@host# edit family inet6
    2. Configure the unnumbered address and preferred source address for the family.
      [edit dynamic-profiles Subscriber_Profile_Retail1 demux0 unit “$junos-interface-unit” family inet6]user@host# set unnumbered-address $junos-loopback-interface preferred-source-address $junos-preferred-source-address
    3. Configure the variable that identifies the demux interface on the logical interface.

      The variable is dynamically replaced with the IPv6 address that DHCP supplies when the subscriber logs in.

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

Published: 2013-07-31

Supported Platforms

Published: 2013-07-31