Configuring PPPoE Service Name Tables
To configure PPPoE service name tables on the router:
- Create the PPPoE service name table.
- (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.
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:
- From Global Configuration mode, create a PPPoE service name table by assigning it a name.
host1(config)#pppoe-service-name-table myServiceTable1This 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.
- (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 myISPServicehost1(config-pppoe-service-name-table)#service myQOSClass1host1(config-pppoe-service-name-table)#service myQOSClass2host1(config-pppoe-service-name-table)#service empty-service-name dropThese 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.
- Exit PPPoE Service Name Table Configuration mode.
host1(config-pppoe-service-name-table)#exit- (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- (Optional) Repeat Steps 1 through 4 to configure additional PPPoE service name tables on the router.
pppoe-service-name-table
- Use from Global Configuration mode to create a PPPoE service name table.
- You can create a maximum of 16 PPPoE service name tables per E-series router.
- Specify a table name of up to 31 alphanumeric characters.
- This command accesses PPPoE Service Name Table Configuration mode, which enables you to configure entries for the PPPoE service name table.
- Example
host1(config)#pppoe-service-name-table myServiceTable1Use the no version to remove the specified PPPoE service name table from the router. service
- Use to add a specific service name tag to a PPPoE service name table, or to modify the action for the empty service name tag in a PPPoE service name table.
- Each PPPoE service name table includes one empty service name tag, and can optionally include up to 16 additional specific service name entries.
- For each specific service name tag that you configure, assign a name of up to 31 alphanumeric characters.
- You cannot configure the action for a specific service name tag; the default action, terminate, is always used.
- For an empty service name tag, you can specify that the AC, such as an E-series router, ignore (drop), rather than respond to (terminate), all PADI requests from the client that contain an empty service name tag.
- Examples
host1(config-pppoe-service-name-table)#service myISPServicehost1(config-pppoe-service-name-table)#service empty-service-name dropUse the no version to restore the default action, terminate, for an empty service name tag, or to remove the specified non-empty service name tag from the PPPoE service name table. 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:
- Configure an ATM physical interface.
host1(config)#interface atm 3/0- Configure an ATM 1483 subinterface.
host1(config-if)#interface atm 3/0.1- 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- Select PPPoE as the encapsulation method on the interface. This command creates the PPPoE major interface.
host1(config-subif)#encapsulation pppoe- Assign the PPPoE service name table to the PPPoE major interface.
host1(config-subif)#pppoe service-name-table myServiceTable1atm pvc
- Use to configure a PVC on an ATM interface.
- For details about specifying the mandatory VCD, VPI, VCI, and encapsulation type parameters, see atm pvc.
- Example
host1(config-if)#atm pvc 10 100 22 aal5snapUse the no version to remove the specified PVC. encapsulation pppoe
- Use to specify PPPoE as the encapsulation method for the interface.
- This command creates a PPPoE major interface.
- Example
host1(config-subif)#encapsulation pppoeUse the no version to disable PPPoE on an interface. interface atm
- Use to configure an ATM interface.
- For information about specifying the ATM interface or subinterface, see interface atm.
- Examples
host1(config)#interface atm 3/1.19host1(config)#interface atm 3/0/1.19Use the no version to remove the interface or subinterface. pppoe service-name-table
- Use from Subinterface Configuration mode to assign a PPPoE service name table to a PPPoE major interface for use by a static ATM 1483 subinterface.
- Specify the name of the PPPoE service name table configured with the pppoe-service-name-table command from Global Configuration mode.
- Example
host1(config-subif)#pppoe service-name-table myServiceTable1Use the no version to remove the PPPoE service name table assignment. PPPoE over Ethernet Configurations
To enable a PPPoE service name table for use with a static interface in PPPoE over Ethernet configurations:
- Configure a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet physical interface.
host1(config)#interface fastEthernet 4/1- Select PPPoE as the encapsulation method on the interface. This command creates the PPPoE major interface.
host1(config-if)#pppoe- Assign the PPPoE service name table to the PPPoE major interface.
host1(config-if)#pppoe service-name-table myServiceTable1interface fastEthernet
host1(config)#interface fastEthernet 4/1Use the no version to remove IP from an interface or subinterface. You must issue the no version from the highest level down; you cannot remove an interface or subinterface if the one above it still exists. interface gigabitEthernet
- Use to select a Gigabit Ethernet interface or a 10-Gigabit Ethernet interface.
- For information about specifying the Gigabit Ethernet or 10-Gigabit Ethernet interface or subinterface, see interface gigabitEthernet and interface tenGigabitEthernet on 329.
- Examples
host1(config)#interface gigabitEthernet 1/0host1(config)#interface gigabitEthernet 4/0/1host1(config)#interface tenGigabitEthernet 4/0/1Use the no version to remove IP from an interface. You must issue the no version from the highest level down; you cannot remove an interface or subinterface if the one above it still exists. pppoe
- Use to specify PPPoE as the encapsulation method for the interface.
- This command creates a PPPoE major interface.
- Example
host1(config-if)#pppoeUse the no version to remove the PPPoE major interface. pppoe service-name-table
- Use from Interface Configuration mode to assign a PPPoE service name table to a PPPoE major interface for use by a static Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
- Specify the name of the PPPoE service name table configured with the pppoe-service-name-table command from Global Configuration mode.
- Example
host1(config-if)#pppoe service-name-table myServiceTable1Use the no version to remove the PPPoE service name table assignment. 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 Chapter 15, Configuring Dynamic Interfaces.
To enable a PPPoE service name table for use with a dynamic interface:
- Create a profile by assigning it a name.
host1(config)#profile baseProfile- Assign the PPPoE service name table to the profile as a PPPoE characteristic.
host1(config-profile)#pppoe service-name-table myServiceTable1- Exit Profile Configuration mode.
host1(config-profile)#exit- Configure a physical interface.
On ERX-7xx models, ERX-14xx models, and the ERX-310 router:
host1(config-if)#interface atm 3/0.1
- 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- Apply the profile to the interface.
host1(config-subif)#profile pppoe baseProfile- Enable the PPPoE dynamic encapsulation type.
host1(config-subif)#auto-configure pppoeatm pvc
- Use to configure a PVC on an ATM interface.
- For details about specifying the mandatory VCD, VPI, VCI, and encapsulation type parameters, see atm pvc.
- Example
host1(config-if)#atm pvc 10 100 22 aal5snapUse the no version to remove the specified PVC. auto-configure
- Use to configure an ATM 1483 subinterface to support a dynamic interface. Specifies the type(s) of dynamic encapsulation that will be accepted/detected by the ATM 1483 subinterface.
- This command causes the layers above ATM 1483 to become dynamic.
- Select pppoe as the dynamic next upper interface type.
- Example
host1(config-subif)#auto-configure pppoeUse the no version to disable detection of the specified encapsulation. interface atm
- Use to configure an ATM interface.
- For information about specifying the ATM interface or subinterface, see interface atm.
- Examples
host1(config)#interface atm 3/0.1host1(config)#interface atm 3/0/0.1Use the no version to remove the interface or subinterface. pppoe service-name-table
- Use from Profile Configuration mode to assign a PPPoE service name table to a profile for use by the dynamic PPPoE interface column associated with the profile.
- Specify the name of the PPPoE service name table configured with the pppoe-service-name-table command from Global Configuration mode.
- Example
host1(config-profile)#pppoe service-name-table myServiceTable1Use the no version to remove the PPPoE service name table assignment. profile
- Use from Global Configuration mode to create a profile name of up to 80 characters.
- Use from Subinterface Configuration mode to assign a profile to an interface. Specify pppoe as the encapsulation type to which the profile applies.
- Examples
host1(config)#profile myProfilehost1(config-subif)#profile pppoe myProfileUse the no version to remove a profile (from Global Configuration mode) or to remove the profile assignment (from Subinterface Configuration mode).