Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring a PPPoE Dynamic Profile

date_range 06-Dec-23

You can configure a basic dynamic profile for PPPoE subscribers that defines the attributes of the dynamic PPPoE logical subscriber interface (pp0).

To configure a basic PPPoE dynamic profile:

  1. Name the dynamic profile.
    content_copy zoom_out_map
    [edit]
    user@host# edit dynamic-profiles basic-pppoe-profile
    
  2. Specify that you want to configure the pp0 logical interface in the dynamic profile.
    content_copy zoom_out_map
    [edit dynamic-profiles basic-pppoe-profile]
    user@host# edit interfaces pp0
    
  3. Specify $junos-interface-unit as the predefined variable to represent the logical unit number for the pp0 interface.

    The $junos-interface-unit variable is replaced with the actual unit number supplied by the network when the subscriber logs in.

    content_copy zoom_out_map
    [edit dynamic-profiles basic-pppoe-profile interfaces pp0]
    user@host# edit unit $junos-interface-unit
    
  4. Configure PPPoE-specific options for the pp0 interface.
    1. Specify the $junos-underlying-interface predefined variable to represent the name of the underlying Ethernet interface on which the router creates the dynamic PPPoE logical interface.

      The $junos-underlying-interface variable is replaced with the actual name of the underlying interface supplied by the network when the subscriber logs in.

      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] 
      user@host# set pppoe-options underlying-interface $junos-underlying-interface
      
    2. Configure the router to act as a PPPoE server, also known as a remote access concentrator.
      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] 
      user@host# set pppoe-options server
      
  5. Configure the PPP authentication protocol for the pp0 interface.

    For dynamic interfaces, the router supports only unidirectional authentication; that is, the router always functions as the authenticator. When you configure PPP authentication in a dynamic profile, the chap and pap statements do not support any additional configuration options.

    • To configure CHAP authentication:

      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] 
      user@host# set ppp-options chap
      
    • To configure PAP authentication:

      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] 
      user@host# set ppp-options pap
      
  6. Modify the keepalive interval, or configure the router to disable sending keepalive messages.
    • To modify the keepalive interval:

      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"]
      user@host# set keepalives interval 15
      
    • To disable sending keepalive messages:

      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"]
      user@host# set no-keepalives
      
  7. Configure the protocol family for the pp0 interface.
    1. Specify that you want to configure the inet (IPv4) or inet6 (IPv6) protocol family.
      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit"] 
      user@host# edit family inet
      
    2. Specify the IPv4 or IPv6 address of the dynamic PPPoE logical interface.
      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet]
      user@host# set address 6.6.6.7/32
      
    3. Configure the unnumbered address for the protocol family.
      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family  inet] 
      user@host# set unnumbered-address lo0.0
      
    4. Specify the input and output service sets that you want to apply to the dynamic PPPoE logical interface.
      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet]
      user@host# set service input service-set inputService_100
      user@host# set service input post-service-filter postService_20
      user@host# set service output service-set outputService_200
      
    5. Specify the input and output filters that you want to apply to the dynamic PPPoE logical interface.

      To control the order in which filters are processed, you can optionally specify a precedence value for the input filter, output filter, or both.

      content_copy zoom_out_map
      [edit dynamic-profiles basic-pppoe-profile interfaces pp0 unit "$junos-interface-unit" family inet]
      user@host# set filter input pppoe-input-filter
      user@host# set filter output pppoe-output-filter precedence 50
      
footer-navigation