The PPPoE Smart Server Selection feature allows service providers to determine which Broadband Remote Access Server (BRAS) a PPP call will terminate on.
The PPPoE Smart Server Selection feature allows you to configure a specific PPP over Ethernet (PPPoE) Active Discovery Offer (PADO) delay for a received PPPoE Active Discovery Initiation (PADI) packet. The PADO delay establishes the order in which the BRASs respond to PADIs by delaying their responses to particular PADIs by various times.
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.
PPPoE Smart Server Selection provides the following benefits for the Internet service providers (ISPs):
Optimize their networks by predicting and isolating PPP calls to terminate on a particular BRAS.
Establish a priority order among the BRASs by configuring varying degrees of delays in the broadband access (BBA) groups on different BRASs.
Use circuit ID and remote ID tag matching with strings up to 64 characters in length.
Use spaces in remote ID, circuit ID, and PPPoE service names.
Restrict the service advertisements from a BRASs in a PADO message.
Apply a PADO transmission delay based on circuit ID, remote ID, and service name.
Do partial matching on service name, remote ID, and circuit ID.
How to Configure PPPoE Smart Server Selection
Configuring BBA Group PADO Delay
Perform this task to allow all calls coming into a defined BBA group on a BRAS to be treated with the same priority. All incoming sessions for a particular group would have their PADO responses delayed by the configured number of milliseconds.
This task allows ISPs to establish a priority order among the BRASs by configuring varying degrees of delays in the BBA groups on different BRASs.
SUMMARY STEPS
1.enable
2.configureterminal
3.bba-grouppppoe {group-name | global}
4.padodelaymilliseconds
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
bba-grouppppoe {group-name | global}
Example:
Router(config)# bba-group pppoe server-selection
Defines a PPP over Ethernet (PPPoE) profile, and enters BBA group configuration mode.
The global keyword creates a profile, which serves as the default profile for any PPPoE port that is not assigned a specific profile.
Step 4
padodelaymilliseconds
Example:
Router(config-bba-group)# pado delay 45
Sets the time by which a PADO response is delayed for a BBA group.
Note
Setting a value of 0 means no transmission delay. Setting a value of 9999 means setting an infinite time (PADO is never sent).
Troubleshooting Tips
Use the debugpppoe command to troubleshoot the PPPoE session.
Configuring PADO Delay Based on Remote ID or Circuit ID
This task uses thepppoeserver command to define a list of circuit ID and
remote ID tags on a BRAS for a particular BBA group. The
pppoedelay command is extended to specify delays based
on the PPPoE circuit ID or remote ID tag.
All incoming calls are scanned and if the circuit ID or remote ID
tags in the PADI match the list on the BRAS, then the PADO response will be
delayed by the configured delay time. If there is no delay defined based on the
circuit ID or remote ID, the per-PPPoE service delay is sought. It it is not
found, the delay for the BBA group PADO is used. If no PPPoE delay is found,
the PADO is sent without delay.
If there is no match and a BBA group PADO delay is configured under
the same BBA group, then the PADO response is delayed by the configured delay
time for that BBA group. If a BBA group PADO delay is not configured, then the
PADO response is sent immediately.
With PPPoE smart server selection, you can do a partial match for a
configured string by using a circuit ID or remote ID delay configured for the
PPPoE server. (Partial matching is searching for parts of strings. It is
used to search for similar strings.) The preference for matching the string is
described in the
DETAILED STEPS
table.
Perform this task to define a list of circuit ID and remote ID tags
on a BRAS for a particular BBA group and configures the delay associated with
the circuit ID and remote ID tags.
Router(config-bba-group)# service profile serv3 refresh 30
Specifies the subscriber profile to be associated with the BBA group, and the refresh interval minutes for the service profile.
Step 8
servicenamematch
Example:
Router(config-bba-group)# service name match
Matches the requested tag for the PPPoE global group.
Note
The servicenamematch command must be configured per the PPPoE service delay. The requested service by the client should also be configured on the BRAS to ensure PADO response from the BRAS.
Step 9
end
Example:
(config-bba-group)# end
Ends the configuration session and returns to privileged EXEC mode.
Troubleshooting Tips
Use the debugpppoeeventcommand to verify the service name match and PADO delay for a PPPoE service.
Configuration Examples for PPPoE Smart Server Selection
The following example shows how to match the string by using a circuit ID or remote ID delay configured for PPPoE server:
Router(config-bba-group)# pppoe server circuit-id delay 45 string "subscr mac 1111.2222.3333"
Router(config-bba-group)# pado delay circuit-id 35
Router(config-bba-group)# pado delay remote-id 30
The following example shows how to configure PADO delay based on the remote ID or circuit ID:
Router(config-bba-group)# pppoe server remote-id delay 20 string contains TEST
Router(config-bba-group)# pppoe server remote-id delay 10 string XTH
Router(config-bba-group)# pppoe server remote-id delay 30 string contains XTH-TEST
Generally, the first match found in the list is considered for the delay value. If the remote ID in the client PPPoE tag contains XTH-TEST, then the delay value is 20. In this case, the first match succeeds and the configuration never reaches a delay of 30. If the remote ID in the client PPPoE tag contains TH- no, then no match is found.
Configuring PPPoE Service PADO Delay Example
The following example shows how to configure the PADO delay based on the PPPoE service:
Router(config)# policy-map type service XTH-services
Router(config-service-policymap)# pppoe service ILoBr delay 1000
Router(config-service-policymap)# pppoe service xth-service1 delay 500
Router(config-service-policymap)# pppoe service service-nodelay
Router(config-service-policymap)# exit
Router(config)# bba-group pppoe server-selection
Router(config-bba-group)# service svc-group
Router(config-bba-group)# service profile XTH-services
Router(config-bba-group)# service name match
Router(config-bba-group)# virtual-template 1
Verifying the PPPoE Service Match and PADO Delay Example
The following example shows the output of the service name match and PADO delay for a PPPoE service using the showpppoederivedgroupgroup-name command. This command prints all the PPPoE services for the supported groups and also shows the associated delay for this service.
Router# show pppoe derived group svc-group
Derived configuration from subscriber profile 'XTH-services':
Service names: servicename:pado-delay
ILoBr:1000, xth-service1:500, service nodelay:0
Additional References
The following sections provide references related to the PPPoE Smart Server Selection feature.
Related Documents
Related Topic
Document Title
Configuring broadband and DSL
Cisco IOS XE Broadband and DSL Configuration Guide
Additional information about commands used in this document
Cisco IOS Broadband Access Aggregation and DSL Command Reference
A Method for Transmitting PPP over Ethernet (PPPoE)
Technical Assistance
Description
Link
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 PPPoE Smart Server Selection
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 PPPoE Smart Server Selection
Feature Name
Releases
Feature Information
PPPoE Smart Server Selection
Cisco IOS XE Release 2.4
PPPoE Smart Server Selection allows service providers to determine which Broadband Remote Access Server (BRAS) a PPP call will terminate on.