Supported Platforms
Configuring Dynamic Profiles for the DHCPv4 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 DHCPv4 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 DHCPv4 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:
- Create a wholesale dynamic profile.[edit] user@host# edit dynamic-profiles Wholesaler_Profile
- Specify that you want to configure the demux0 interface in the dynamic profile.[edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit interfaces demux0
- Configure the unit for the demux0 interface.
- 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 - 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
- Configure the variable for the unit number of the demux0 interface.
- Configure the family for the demux interfaces.
- Specify that you want to configure the family.[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit “$junos-interface-unit”]user@host# edit family inet
- 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
- Configure the variable for the IPv4 address of the demux
interface.
The variable is dynamically replaced with the IPv4 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-ip-address
- Specify that you want to configure the family.
Configuring a Dynamic Profile for use by a Retailer in the DHCPv4 Solution
To configure a dynamic profile for use with retailer access:
- Create a retail dynamic profile.[edit] user@host# edit dynamic-profiles Subscriber_Profile_Retail1
- Define the dynamic routing instance variable in the dynamic
profile.[edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit routing-instances $junos-routing-instance
- 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
- Specify that you want to configure the demux0 interface in the dynamic profile.[edit dynamic-profiles Subscriber_Profile_Retail1]user@host# edit interfaces demux0
- Configure the unit for the demux0 interface.
- 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 - 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
- Configure the variable for the unit number of the demux0 interface.
- Configure the family for the demux interfaces.
- Specify that you want to configure the family.[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit “$junos-interface-unit”]user@host# edit family inet
- 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
- 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-ip-address
- Specify that you want to configure the family.