Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Limiting the Maximum Number of PPPoE Sessions on the Underlying Interface

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

    You can configure the PPPoE maximum session limit in either of the following ways:

    • On a per-interface basis, by using the max-sessions CLI statement.
    • (Default) On a per-subscriber basis, by using 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.

    Optionally, you can configure the router to ignore the PPPoE maximum session value returned by RADIUS in the Max-Clients-Per-Interface VSA by including the max-sessions-vsa-ignore statement in your configuration. Using the max-sessions-vsa-ignore statement restores the PPPoE maximum session value on the underlying interface to the value configured in the CLI with the max-sessions statement.

    Before you begin:

    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:
        [edit dynamic-profiles profile-name interfaces demux0 unit logical-unit-number]user@host# edit family pppoe
      • For a PPPoE family in a dynamic profile:
        [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:
        [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:
        [edit interfaces interface-name unit logical-unit-number]user@host# edit family pppoe
      • For an underlying interface with PPPoE encapsulation:
        [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:
        [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:
        [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.
      [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.

    Published: 2013-02-11