Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

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

Limiting the Maximum Number of PPPoE Sessions on the Underlying Interface

date_range 06-Dec-23

You can limit the number of concurrent static or dynamic PPPoE logical interfaces (sessions) that the router can activate on the PPPoE underlying interface, or the number of active static or dynamic PPPoE sessions that the router can establish with a particular service entry in a PPPoE service name table.

To configure the PPPoE maximum session limit:

  1. Specify that you want to configure PPPoE-specific options on the underlying interface:
    • For a PPPoE family in a dynamic profile for a VLAN demultiplexing (demux) logical interface:

      content_copy zoom_out_map
      [edit dynamic-profiles profile-name interfaces demux0 unit logical-unit-number]
      user@host# edit family pppoe
      
    • For a PPPoE family in a dynamic profile:

      content_copy zoom_out_map
      [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number]
      user@host# edit family pppoe
      
    • For a PPPoE underlying interface in a dynamic profile:

      content_copy zoom_out_map
      [edit dynamic-profiles profile-name interfaces interface-name unit logical-unit-number]
      user@host# edit pppoe-underlying-options
      
    • For a PPPoE family on an underlying interface:

      content_copy zoom_out_map
      [edit interfaces interface-name unit logical-unit-number]
      user@host# edit family pppoe
      
    • For an underlying interface with PPPoE encapsulation:

      content_copy zoom_out_map
      [edit interfaces interface-name unit logical-unit-number]
      user@host# edit pppoe-underlying-options
      
    • For an underlying interface established with a particular service entry in a PPPoE service name table:

      content_copy zoom_out_map
      [edit protocols pppoe service-name-tables table-name]
      user@host# edit service service-name
      
  2. Configure the maximum number of concurrent PPPoE sessions that the router can activate on the underlying interface in either of the following ways:
    • To configure the maximum number of concurrent PPPoE sessions on a per-interface basis, from 1 to the platform-specific default for your router, use the max-sessions statement:

      content_copy zoom_out_map
      [edit interfaces interface-name unit logical-unit-number pppoe-underlying-options] 
      user@host# set max-sessions number
      
    • To configure the maximum number of concurrent PPPoE sessions on a per-subscriber basis, use the value returned by RADIUS in the Max-Clients-Per-Interface Juniper Networks vendor-specific attribute (VSA) [26-143]. By default, the PPPoE maximum session value returned by RADIUS in the Max-Clients-Per-Interface VSA takes precedence over the PPPoE maximum session value configured with the max-sessions statement.

  3. (Optional) To restore the PPPoE maximum session value on the underlying interface to the value configured in the CLI with the max-sessions statement, configure the router to ignore the value returned by RADIUS in the Max-Clients-Per-Interface VSA.
    content_copy zoom_out_map
    [edit interfaces interface-name unit logical-unit-number pppoe-underlying-options] 
    user@host# set max-sessions-vsa-ignore
    
    Note:

    You can issue the max-sessions-vsa-ignore statement at the same hierarchy levels as the max-sessions statement, with the exception of the [edit protocols pppoe service-name-tables table-name service service-name] hierarchy level.

footer-navigation