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 37. 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 37: 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 38. 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 38: 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.

Related Documentation