Example: Configuring a PPPoE Service Name Table for Dynamic Subscriber Interface Creation
This example shows how to configure a PPPoE service name table to create a dynamic PPPoE subscriber interface based on the service name, agent circuit identifier (ACI), and agent remote identifier (ARI) information provided by PPPoE clients during PPPoE negotiation.
In this example, PPPoE service name table TableDynamicPPPoE includes an any service entry, empty service entry, and two named service entries: Premium and Standard. The PPPoE underlying interfaces configured for TableDynamicPPPoE are ge-2/0/0.1 and ge-2/0/0.2. Only ge-2/0/0.1 is configured for dynamic profile assignment and creation of dynamic PPPoE subscriber interfaces.
Following the configuration example, Table 1 explains how the router evaluates the entries in TableDynamicPPPoE to create a dynamic PPPoE subscriber interface in a specified routing instance for each of several sample clients.
To configure a PPPoE service name table to create dynamic PPPoE subscriber interfaces:
- Configure the PPPoE service name table.protocols {pppoe {service-name-tables TableDynamicPPPoE {service any {terminate;max-sessions 100;dynamic-profile AnyProfile;agent-specifier {aci "broadway-ge-1/0/1.0" ari "london" {terminate;dynamic-profile LondonProfile;routing-instance LondonRI;}aci "groton-ge-4/0/3.32" ari "paris" {delay 5;dynamic-profile ParisProfile;routing-instance ParisRI;}}}service empty {drop;agent-specifier {aci "dunstable-ge-1/0/0.1" ari "kanata" {dynamic-profile BasicPppoeProfile;delay 10;}}}service Premium {terminate;dynamic-profile PremiumProfile;}service Standard {terminate;max-sessions 10;dynamic-profile StandardProfile;agent-specifier {aci "dunstable-ge-1/0/0.1" ari "kanata" {dynamic-profile BasicPppoeProfile;delay 10;}}}}}}
- Configure the PPPoE underlying interface for the service
name table.interfaces {ge-2/0/0 {vlan-tagging;unit 1 {vlan-id 1;pppoe-underlying-options {dynamic-profile BasicPppoeProfile;service-name-table TableDynamicPPPoE;}}unit 2 {vlan-id 2;pppoe-underlying-options {service-name-table TableDynamicPPPoE;}}}}
Table 1 lists the service name, ACI value, and ARI value provided in several sample PPPoE client requests, and the name of the PPPoE underlying interface on which the router received each client request. The Results column describes the dynamic PPPoE subscriber interface created by the router based on both of the following:
- The values received from each PPPoE client during PPPoE negotiation
- The sequence in which the router evaluates the entries configured in the PPPoE service name table to find a match for the client’s service name and ACI/ARI information, as described in Evaluation Order for Matching Client Information in PPPoE Service Name Tables
Table 1: Dynamic PPPoE Subscriber Interface Creation Based on PPPoE Client Request Values
PPPoE | Service | ACI Value | ARI Value | Receiving Underlying Interface | Results |
---|---|---|---|---|---|
Client 1 | Premium | broadway-ge-1/0/1.1 | london | ge-2/0/0.1 | Matches ACI/ARI pair configured for any service. Router creates dynamic PPPoE subscriber interface over ge-2/0/0.1 using LondonProfile dynamic profile and LondonRI routing instance assigned to any service. |
Client 2 | Premium | dunstable-ge-1/0/1.0 | toronto | ge-2/0/0.1 | Matches base Premium service. Router creates dynamic PPPoE subscriber interface over ge-2/0/0.1 using PremiumProfile dynamic profile and routing instance associated with ge-2/0/0.1 underlying interface. |
Client 3 | empty | dunstable-ge-1/0/0.1 | kanata | ge-2/0/0.1 | Matches ACI/ARI pair configured for empty service and Standard service. Router creates dynamic PPPoE subscriber interface over ge-2/0/0/.1 after a delay of 10 seconds. Router uses BasicPPPoEProfile dynamic profile and routing instance associated with ge-2/0/0.1 underlying interface. |
Client 4 | empty | slinger-ge-1/0/0.1 | chicago | ge-2/0/0.2 | Because receiving underlying interface ge-2/0/0.2 is not associated with a dynamic profile, router does not create a dynamic PPPoE subscriber interface, and drops any PADI or PADR control packets received from this client. |
Client 5 | Standard | slinger-ge-1/0/0.1 | chicago | ge-2/0/0.1 | Matches base Standard service. Router creates dynamic PPPoE subscriber interface over ge-2/0/0.1 using StandardProfile dynamic profile and routing instance associated with ge-2/0/0.1 underlying interface. |