[Contents] [Prev] [Next] [Index] [Report an Error]

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:
  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 a single empty service name entry associated with the default action, terminate, as shown in Table 18. With no further service name entries, this table directs the router to respond to all PADI requests containing an empty service name tag.

    Table 18: Default PPPoE Service Name Table

    Service-Name

    Action

    “  ”

    Terminate

  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, or modify the action for the empty service name tag.
    host1(config-pppoe-service-name-table)#service myISPService
    host1(config-pppoe-service-name-table)#service myQOSClass1
    host1(config-pppoe-service-name-table)#service myQOSClass2
    host1(config-pppoe-service-name-table)#service empty-service-name drop

    These commands build the PPPoE service name table shown in Table 19. This table directs the router to send a PADO packet in response to all PADI requests containing the myISPService, myQOSClass1, or myQOSClass2 service name tag, and to ignore (drop) all PADI requests containing empty service name tags.

    Table 19: PPPoE Service Name Table with Entries

    Service-Name

    Action

    “myISPService”

    Terminate

    “myQOSClass1”

    Terminate

    “myQOSClass2”

    Terminate

    “ ”

    Drop

  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 ERX-7xx models, ERX-14xx models, and the ERX-310 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


[Contents] [Prev] [Next] [Index] [Report an Error]