Configuring a Wholesale Dynamic Profile for use in the PPPoE Solution
You can configure a basic access profile to initially manage PPPoE 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 PPPoE_Wholesaler_Profile
- Define the dynamic routing instance variable
in the dynamic profile.[edit dynamic-profiles “PPPoE_Wholesaler_Profile”]user@host# edit routing-instances $junos-routing-instance
- Set the dynamic interface variable for
the dynamic routing instance.[edit dynamic-profiles “PPPoE_Wholesaler_Profile” routing-instances “$junos-routing-instance”]user@host# set interface $junos-interface-name
- Specify that you want to configure the pp0 interface in the dynamic profile.[edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0]user@host# edit interfaces pp0
- Configure the unit for the pp0 interface.
- Configure the variable for the unit number of the pp0 interface.
The variable is dynamically replaced with the unit number that RADIUS supplies when the subscriber logs in.
[edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0]user@host# edit unit $junos-interface-unit - Configure PAP or CHAP (or both) to function on the interface.[edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set ppp-options chap pap
- Configure the variable for the underlying interface of
the pp0 interfaces.
The variable is dynamically replaced with the underlying interface that RADIUS supplies when the subscriber logs in.
[edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set pppoe-options underlying-interface $junos-underlying-interface - Configure the router to act as a PPPoE server.[edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set pppoe-options server
- Configure the variable for the unit number of the pp0 interface.
- (Optional) Modify the PPPoE keepalive interval.[edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# set keepalives interval 15
- Configure the family for the pp0 interface.
- Specify that you want to configure the family.
Note: You can specify inet for IPv4 and inet6 for IPv6. However, this solution provides the IPv4 configuration only.
[edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit”]user@host# edit family inet - Configure the unnumbered address for the family. [edit dynamic-profiles “PPPoE_Wholesaler_Profile” interfaces pp0 unit “$junos-interface-unit” family inet]user@host# set unnumbered-address $junos-loopback-interface
- Specify that you want to configure the family.