Related Documentation
- M, MX Series
- Guidelines for Using PPPoE Maximum Session Limit from RADIUS
- Juniper Networks VSAs Supported by the AAA Service Framework
- Limiting the Maximum Number of PPPoE Sessions on the Underlying Interface
- Additional Information
- For more information about configuring static PPPoE interfaces, see the Ethernet Interfaces
PPPoE Maximum Session Limit Overview
The maximum session limit for PPPoE subscriber interfaces specifies 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 one of two 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]
This overview describes the concepts you need to understand to configure the PPPoE maximum session limit, and covers the following topics:
Per-Interface Configuration for PPPoE Maximum Session Limit Using the CLI
To configure the PPPoE maximum session limit for a particular interface, you can use the max-sessions statement to specify either or both of the following, depending on the hierarchy level at which you include the statement:
- The maximum number of concurrent PPPoE sessions that the router can activate on the PPPoE underlying interface
- The maximum number of active PPPoE sessions using either static or dynamic PPPoE interfaces that the router can establish with a particular named service entry, empty service entry, or any service entry in a PPPoE service name table
You can configure the PPPoE maximum session value from 1 through the platform-specific default for your router. The default value is equal to the maximum number of PPPoE sessions supported on your routing platform. If the number of active PPPoE sessions exceeds the value configured with the max-sessions statement, the router prohibits creation of any new PPPoE sessions, and the PPPoE application on the router returns a PPPoE Active Discovery Session (PADS) packet with an error to the PPPoE client.
Changing the PPPoE maximum session value has no effect on dynamic PPPoE subscriber interfaces that are already active.
Per-Subscriber Configuration for PPPoE Maximum Session Limit Using RADIUS
To configure the PPPoE maximum session limit for a particular subscriber, you can use the value returned by the RADIUS server in the Max-Clients-Per-Interface Juniper Networks VSA [26-143] during the subscriber authentication process. For PPPoE clients, the Max-Clients-Per-Interface VSA returns the maximum number of sessions (PPPoE subinterfaces) per PPPoE major interface.
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.
If you configure multiple subscribers on the same PPPoE underlying VLAN interface and RADIUS returns a different PPPoE maximum session value for each subscriber, the router uses the most recent PPPoE maximum session value returned by RADIUS to determine whether to override the current PPPoE maximum session value and create the new PPPoE session.
The following sequence describes how the router obtains the PPPoE maximum session value from RADIUS when a PPPoE subscriber logs in to initiate a session with the router. (In a PPPoE subscriber network, the router functions as a remote access concentrator, also known as a PPPoE server.)
- The PPPoE client and the router participate in the PPPoE Discovery process to establish the PPPoE connection.
- The PPP Link Control Protocol (LCP) negotiates the PPP link between the client and the router.
- The PPP application sends the subscriber authentication request to the AAA application.
- AAA sends the authentication request to an external RADIUS server.
- The RADIUS server returns the PPPoE maximum session value
for that subscriber to AAA in the Max-Clients-Per-Interface VSA as
part of an Access-Accept message.
Note: The RADIUS server does not return the Max-Clients-Per-Interface VSA in Change of Authorization Request (CoA-Request) messages.
- AAA passes the response from RADIUS to PPP.
- PPP validates the subscriber parameters and, if authentication succeeds, passes the PPPoE maximum session value returned by RADIUS to the PPPoE application.
- PPPoE uses the maximum session value returned by RADIUS to determine whether to override the current PPPoE maximum session value and create or tear down the new PPPoE session.
Override of PPPoE Maximum Session Limit from RADIUS
By default, the PPPoE maximum session value returned by RADIUS in the Max-Clients-Per-Interface VSA [26-143] takes precedence over the PPPoE maximum session value configured with the max-sessions statement. To configure the router to ignore (clear) the PPPoE maximum session value returned by the RADIUS server in the Max-Clients-Per-Interface VSA, include the max-sessions-vsa-ignore statement at the same hierarchy levels that you can specify the max-sessions statement.
Including the max-sessions-vsa-ignore statement in your configuration restores the PPPoE maximum session value on the underlying interface to the value configured in the CLI with the max-sessions statement.
Related Documentation
- M, MX Series
- Guidelines for Using PPPoE Maximum Session Limit from RADIUS
- Juniper Networks VSAs Supported by the AAA Service Framework
- Limiting the Maximum Number of PPPoE Sessions on the Underlying Interface
- Additional Information
- For more information about configuring static PPPoE interfaces, see the Ethernet Interfaces
Published: 2013-07-31
Related Documentation
- M, MX Series
- Guidelines for Using PPPoE Maximum Session Limit from RADIUS
- Juniper Networks VSAs Supported by the AAA Service Framework
- Limiting the Maximum Number of PPPoE Sessions on the Underlying Interface
- Additional Information
- For more information about configuring static PPPoE interfaces, see the Ethernet Interfaces