Configuring PPPoE Service Name Tables

To configure PPPoE service name tables on the router:

  1. Create the PPPoE service name table.
  2. (Optional) Add entries to populate the PPPoE service name table.

    You can:

    • Configure specific service names to represent custom values.
    • Specify a nondefault action for the empty service name entry.
    • Specify a nondefault action for the unknown service name entry.
  3. Enable the PPPoE service name table for use with a static or dynamic interface.

The following sections describe how to perform these tasks.

Creating and Populating PPPoE Service Name Tables

To create and populate a PPPoE service name table on the router:

  1. From Global Configuration mode, create a PPPoE service name table by assigning it a name.
    host1(config)#pppoe-service-name-table myServiceTable1

    This command accesses PPPoE Service Name Table Configuration mode and builds a default PPPoE service name table named myServiceTable1. The table contains two entries: an empty service name entry associated with the default action, terminate; and an unknown service name entry associated with the default action, drop as shown in Table 23. This table directs the router to respond to all PADI requests containing an empty service name tag; and denies requests that contain a service name tag that has not been configured in the service name table.

    Table 23: Default PPPoE Service Name Table

    Service Name

    Action

    “  ”

    Terminate

    unknown-service-name

    Drop

  2. (Optional) From PPPoE Service Name Table Configuration mode, create entries to populate the PPPoE service name table.

    You can configure up to 16 specific service name entries per table, in addition to the empty and unknown service name tags.

    host1(config-pppoe-service-name-table)#service myISPService action drop host1(config-pppoe-service-name-table)#service myQOSClass1 action terminate host1(config-pppoe-service-name-table)#service myQOSClass2 action drop host1(config-pppoe-service-name-table)#service myQOSClass3 host1(config-pppoe-service-name-table)#service empty-service-name action drop host1(config-pppoe-service-name-table)#service unknown-service-name action terminate

    These commands build the PPPoE service name table shown in Table 24. This table directs the router to send a PADO packet in response to all PADI requests containing the myQOSClass1, myQOSClass3, empty service name tags, and unknown service name tag. The router is directed to drop all PADI requests containing the myISPService or myQOSClass2 or the empty service name tags.

    Table 24: PPPoE Service Name Table with Entries

    Service Name

    Action

    myISPService

    Drop

    myQOSClass1

    Terminate

    myQOSClass2

    Drop

    myQOSClass3

    Terminate

    “ ”

    Drop

    unknown-service-name

    Terminate

  3. Exit PPPoE Service Name Table Configuration mode.
    host1(config-pppoe-service-name-table)#exit
  4. (Optional) Use the appropriate show command to verify the creation of the PPPoE service name table and entries.
    host1(config)#show pppoe-service-name-table name myServiceTable1
  5. (Optional) Repeat Steps 1 through 4 to configure additional PPPoE service name tables on the router.

pppoe-service-name-table

service

Enabling PPPoE Service Name Tables for Use with Static Interfaces

To enable a PPPoE service name table for use with a static interface, assign the service name table to the PPPoE major interface.

PPPoE over ATM Configurations

To enable a PPPoE service name table for use with a static interface in PPPoE over ATM configurations:

  1. Configure an ATM physical interface.
    host1(config)#interface atm 3/0
  2. Configure an ATM 1483 subinterface.
    host1(config-if)#interface atm 3/0.1
  3. Configure an ATM PVC by specifying the VCD, the VPI, the VCI, and the encapsulation type.
    host1(config-subif)#atm pvc 10 100 22 aal5snap
  4. Select PPPoE as the encapsulation method on the interface. This command creates the PPPoE major interface.
    host1(config-subif)#encapsulation pppoe
  5. Assign the PPPoE service name table to the PPPoE major interface.
    host1(config-subif)#pppoe service-name-table myServiceTable1

atm pvc

encapsulation pppoe

interface atm

pppoe service-name-table

PPPoE over Ethernet Configurations

To enable a PPPoE service name table for use with a static interface in PPPoE over Ethernet configurations:

  1. Configure a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet physical interface.
    host1(config)#interface fastEthernet 4/1
  2. Select PPPoE as the encapsulation method on the interface. This command creates the PPPoE major interface.
    host1(config-if)#pppoe
  3. Assign the PPPoE service name table to the PPPoE major interface.
    host1(config-if)#pppoe service-name-table myServiceTable1

interface fastEthernet

interface gigabitEthernet

interface tenGigabitEthernet

pppoe

pppoe service-name-table

Enabling PPPoE Service Name Tables for Use with Dynamic Interfaces

To enable a PPPoE service name table for use with a dynamic interface, add the service name table to a profile that is dynamically assigned to the interface.

For complete details, see Configuring a Dynamic Interface from a Profile in Configuring Dynamic Interfaces.

To enable a PPPoE service name table for use with a dynamic interface:

  1. Create a profile by assigning it a name.
    host1(config)#profile baseProfile
  2. Assign the PPPoE service name table to the profile as a PPPoE characteristic.
    host1(config-profile)#pppoe service-name-table myServiceTable1
  3. Exit Profile Configuration mode.
    host1(config-profile)#exit
  4. Configure a physical interface.

    On ERX7xx models, ERX14xx models, and the ERX310 router:

    host1(config-if)#interface atm 3/0.1
  5. Configure an ATM PVC by specifying the VCD, the VPI, the VCI, and the encapsulation type.
    host1(config-subif)#atm pvc 10 100 22 aal5snap
  6. Apply the profile to the interface.
    host1(config-subif)#profile pppoe baseProfile
  7. Enable the PPPoE dynamic encapsulation type.
    host1(config-subif)#auto-configure pppoe

atm pvc

auto-configure

interface atm

pppoe service-name-table

profile