Related Documentation
- M Series
- PPPoE Maximum Session Limit Overview
- Guidelines for Using PPPoE Maximum Session Limit from RADIUS
- Juniper Networks VSAs Supported by the AAA Service Framework
- Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces
- MX Series
- PPPoE Maximum Session Limit Overview
- Guidelines for Using PPPoE Maximum Session Limit from RADIUS
- Juniper Networks VSAs Supported by the AAA Service Framework
- Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces
- Configuring the PPPoE Family for an Underlying Interface
- Additional Information
- For more information about configuring static PPPoE interfaces, see the Junos® OS Ethernet Interfaces
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:
- Configure the PPPoE underlying interface.
To configure the underlying interface for use with a PPPoE dynamic profile, see Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces.
To configure the PPPoE family for an underlying interface, see Configuring the PPPoE Family for an Underlying Interface.
To configure the PPPoE maximum session limit:
- 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
- For a PPPoE family in a dynamic profile for a VLAN demultiplexing
(demux) logical interface:
- 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.
- 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:
- (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.
Related Documentation
- M Series
- PPPoE Maximum Session Limit Overview
- Guidelines for Using PPPoE Maximum Session Limit from RADIUS
- Juniper Networks VSAs Supported by the AAA Service Framework
- Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces
- MX Series
- PPPoE Maximum Session Limit Overview
- Guidelines for Using PPPoE Maximum Session Limit from RADIUS
- Juniper Networks VSAs Supported by the AAA Service Framework
- Configuring an Underlying Interface for Dynamic PPPoE Subscriber Interfaces
- Configuring the PPPoE Family for an Underlying Interface
- Additional Information
- For more information about configuring static PPPoE interfaces, see the Junos® OS Ethernet Interfaces

