Enabling PPPoE Relay Discovery and Service Selection Functionality
The PPPoE Relay feature enables an L2TP access concentrator (LAC) to relay active discovery and service selection functionality for PPP over Ethernet (PPPoE), over a Layer 2 Tunneling Protocol (L2TP) control channel, to an L2TP network server (LNS) or tunnel switch (multihop node). The relay functionality of this feature allows the LNS or tunnel switch to advertise the services it offers to the client, thereby providing end-to-end control of services between the LNS and a PPPoE client.
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see
Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for Enabling PPPoE Relay Discovery and Service Selection Functionality
You must understand the concepts described in the "Preparing for Broadband Access Aggregation" module.
PPPoE sessions must be established using the procedures in the "Providing Protocol Support for Broadband Access Aggregation of PPPoE Sessions" module.
The PPPoE protocol described in RFC 2516 defines a method for active discovery and service selection of devices in the network by an LAC. A PPPoE client uses these methods to discover an access concentrator in the network, and the access concentrator uses these methods to advertise the services it offers.
The PPPoE Relay feature allows the active discovery and service selection functionality to be offered by the LNS, rather than just by the LAC. The PPPoE Relay feature implements the Network Working Group Internet-Draft titled L2TP Active Discovery Relay for PPPoE
. The Internet-Draft describes how to relay PPPoE Active Discovery (PAD) and Service Relay Request (SRRQ) messages over an L2TP control channel (the tunnel). (See the L2TP Active Discovery Relay for PPPoE for information on how to access Network Working Group Internet-Drafts.)
The key benefit of the PPPoE Relay feature is end-to-end control of services between the LNS and a PPPoE client.
How to Enable PPPoE Relay Discovery and Service Selection Functionality
Configuring the LAC and Tunnel Switch for PPPoE Relay
Perform this task to configure the LAC and tunnel switch for PPPoE Relay, which configures a subscriber profile that directs PAD messages to be relayed on an L2TP tunnel. The subscriber profile also will contain an authorization key for the outgoing L2TP tunnel.
SUMMARY STEPS
1.enable
2.configureterminal
3.subscriberprofileprofile-name
4.servicerelaypppoevpdngroupvpdn-group-name
5.
exit
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
subscriberprofileprofile-name
Example:
Router(config)# subscriber profile profile-1
Configures the subscriber profile name and enters subscriber profile configuration mode.
profile-name--Is referenced from a PPPoE profile configured by the bba-grouppppoe global configuration command, so that all the PPPoE sessions using the PPPoE profile defined by the bba-grouppppoecommand will be treated according to the defined subscriber profile.
Step 4
servicerelaypppoevpdngroupvpdn-group-name
Example:
Router(config-sss-profile)# service relay pppoe vpdn group Group-A
Provides PPPoE relay service using a VPDN L2TP tunnel for the relay. The VPDN group name specified is used to obtain outgoing L2TP tunnel information.
See the What to Do Next section for the equivalent RADIUS profile entry.
Step 5
exit
Example:
Router(config-sss-profile)# exit
(Optional) Ends the configuration session and returns to privileged EXEC mode.
What to Do Next
Configure the LNS side of the configuration by performing the tasks described in the next section.
Configuring the LNS (or Multihop Node) to Respond to Relayed PAD Messages
On the router that responds to relayed PAD messages, perform this task to configure a PPPoE group and attach it to a VPDN group that accepts dial-in calls for L2TP. The relayed PAD messages will be passed from the VPDN L2TP tunnel and session to the PPPoE broadband group for receiving the PAD responses.
SUMMARY STEPS
1.enable
2.configureterminal
3.vpdn-groupvpdn-group-name
4.accept-dialin
5.protocoll2tp
6.virtual-templatetemplate-number
7.exit
8.terminate-fromhostnamehost-name
9.relaypppoebba-grouppppoe-bba-group-name
10.exit
DETAILED STEPS
Command or Action
Purpose
Step 1
enable
Example:
Router> enable
Enables privileged EXEC mode.
Enter your password if prompted.
Step 2
configureterminal
Example:
Router# configure terminal
Enters global configuration mode.
Step 3
vpdn-groupvpdn-group-name
Example:
Router(config)# vpdn-group Group-A
Creates a VPDN group and enters VPDN group configuration mode.
Step 4
accept-dialin
Example:
Router(config-vpdn)# accept-dialin
Configures the LNS to accept tunneled PPP connections from an LAC and creates an accept-dialin VPDN subgroup.
Step 5
protocoll2tp
Example:
Router(config-vpdn-req-in)# protocol l2tp
Specifies the L2TP tunneling protocol.
Step 6
virtual-templatetemplate-number
Example:
Router(config-vpdn-req-in)# virtual-template 2
Specifies which virtual template will be used to clone virtual access interfaces.
Displays information about currently active PPPoE sessions.
Example:
Router# show pppoe session
1 session in FORWARDED (FWDED) State
1 session total
Uniq ID PPPoE RemMAC Port VT VA State
SID LocMAC VA-st
26 19 0001.96da.a2c0 Et0/0.1 5 N/A RELFWD
000c.8670.1006 VLAN:3434
Step 3
showpppoerelaycontextall
Displays the PPPoE relay context created for relaying PAD messages.
Example:
Router# show pppoe relay context all
Total PPPoE relay contexts 1
UID ID Subscriber-profile State
25 18 cisco.com RELAYED
Example:
Step 4
clearpppoerelaycontext
This command clears the PPPoE relay context created for relaying PAD messages.
Example:
Router(config)# clear pppoe relay context
Troubleshooting Tips
Use the following commands in privileged EXEC mode to help you troubleshoot the PPPoE Relay feature:
debugpppforwarding
debugpppnegotiation
debugpppoeevents
debugpppoepackets
debugvpdnl2x-events
debugvpdnl2x-packets
Configuration Examples for Enabling PPPoE Relay Discovery and Service Selection Functionality
Cisco IOS XE Broadband Access Aggregation and DSL Configuration Guide
PPPoE broadband commands
Cisco IOS XE Broadband Access Aggregation and DSL Command Reference
Broadband access aggregation concepts
Cisco IOS XE Broadband Access Aggregation and DSL Configuration Guide
Tasks for preparing for broadband access aggregation
Cisco IOS XE Broadband Access Aggregation and DSL Configuration Guide
Standards
Standards
Title
None
--
MIBs
MIBs
MIBs Link
None
To locate and download MIBs for selected platforms, Cisco IOS XE software releases, and feature sets, use Cisco MIB Locator found at the following URL:
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies.
To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.
Feature Information for Enabling PPPoE Relay Discovery and Service Selection Functionality
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to
www.cisco.com/go/cfn. An account on Cisco.com is not required.
Table 1 Feature Information for Enabling PPPoE Relay Discovery and Service Selection Functionality
Feature Name
Releases
Feature Configuration Information
PPPoE Relay
Cisco IOS XE Release 2.1
The PPPoE Relay feature enables an L2TP access concentrator (LAC) to relay active discovery and service selection functionality for PPP over Ethernet (PPPoE), over a Layer 2 Tunneling Protocol (L2TP) control channel, to an L2TP network server (LNS) or tunnel switch (multihop node).
This feature was integrated into Cisco IOS XE Release 2.1.
PPPoE Service Selection
Cisco IOS XE Release 2.4
This feature was integrated into Cisco IOS XE Release 2.4.