Broadband Access Aggregation and DSL Configuration Guide, Cisco IOS Release 12.4T
PPPoE Client DDR Idle-Timer
Downloads: This chapterpdf (PDF - 130.0KB) The complete bookPDF (PDF - 2.8MB) | Feedback

PPPoE Client DDR Idle-Timer

PPPoE Client DDR Idle-Timer

Last Updated: December 5, 2011

The PPPoE Client DDR Idle-Timer feature supports the dial-on-demand routing (DDR) interesting traffic control list functionality of the dialer interface with a PPP over Ethernet (PPPoE) client, but also keeps original functionality (PPPoE connection up and always on after configuration) for those PPPoE clients that require it.

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see 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 document.

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 PPPoE Client DDR Idle-Timer

Before configuring the PPPoE Client DDR Idle-Timer feature, you must understand the concept of DDR interesting packets and access control lists and PPPoE Stage Protocols. See the "Additional References" section on page 8 for links to the documents describing these concepts.

Information About PPPoE Client DDR Idle-Timer

DDR Functionality and the PPPoE Client

Before Cisco IOS Release 12.2(13)T, the DDR interesting traffic control list functionality of the dialer interface was not supported for PPPoE. However, the PPPoE Client DDR Idle-Timer feature, available as part of Cisco IOS Release 12.2(13)T, now supports this DDR functionality for a PPPoE client.

Protocol access lists and dialer access lists are central to the operation of DDR. Access lists are used as the screening criteria for determining when to initiate DDR calls. All packets are tested against the dialer access list. Packets that match a permit entry are deemed interesting. Packets that do not match a permit entry or that do match a deny entry are deemed uninteresting. When a packet is found to be interesting, either the dialer idle timer is reset (if the line is active) or a connection is attempted (assuming the line is available but not active). If a tested packet is deemed uninteresting, it will be forwarded if it is intended for a destination known to be on a specific interface and the link is active. However, such a packet will not initiate a DDR call and will not reset the idle timer. If dialer idle timer expires, the dialer interface calls a PPPoE function to tear down the connection.

A new command, pppoe-client dial-pool-number, allows configuring a DDR interesting traffic control list for PPPoE connections, but also keeps original connection functionality for those PPPoE clients that require it. If you do not require DDR, the PPPoE connection will be up and always on after configuration. If you do require DDR functionality, the connection will be brought up when interesting traffic comes in from the LAN interface and brought down after the dialer idle timer expires. Interesting traffic that comes from WAN interface will only reset the dialer idle timer.

Protocol access lists and dialer access lists have already been implemented in the dialer interface for the operation of DDR. For a PPPoE client, access lists are used as the screening criteria for determining if PPPoE Discovery initiation or a dialer idle timer reset is needed. But a protocol access list is not required for this feature; it depends on your network needs. An access-list can be configured and associated with dialer-list, or you can configure only the dialer list.

All packets destined to the dialer interface are tested against the dialer access list. Packets that match a permit entry are deemed interesting. Packets that do not match a permit entry or that do match a deny entry are deemed uninteresting. When a packet is found to be interesting, the dialer idle timer will be reset if the PPPoE session has already been set up, or a PPPoE Discovery will be attempted if there is no PPPoE session. If a tested packet is deemed uninteresting, it will not initiate PPPoE Discovery and will not reset the idle timer.

How to Configure PPPoE Client DDR Idle-Timer

Configure the PPPoE Client DDR Idle-Timer on an ATM PVC Interface

To configure the PPPoE client DDR idle-timer in interface-ATM-VC configuration mode, use the following commands:

SUMMARY STEPS

1.    enable

2.    configure {terminal | memory | network}

3.    interface atm atm-interface-number

4.    pvc vpi/vci

5.    pppoe-client dial-pool-number number [dial-on-demand]

6.    exit


DETAILED STEPS
  Command or Action Purpose
Step 1
enable


Example:

Router> enable

 

Enables higher privilege levels, such as privileged EXEC mode.

  • Enter your password if prompted.
 
Step 2
configure {terminal | memory | network}


Example:

Router# configure terminal

 

Enters global configuration mode.

 
Step 3
interface atm atm-interface-number


Example:

Router# interface atm 2/0

 

Configures an ATM interface type and enters interface configuration mode.

 
Step 4
pvc vpi/vci


Example:

Router(config-if)# pvc 2/100

 

Creates an ATM permanent virtual circuit (PVC) and enters interface-ATM-VC configuration mode.

 
Step 5
pppoe-client dial-pool-number number [dial-on-demand]


Example:

Router(config-if-atm-vc)# pppoe-client dial-pool-number 1 dial-on-demand

 

Configures DDR interesting traffic control list functionality of the dialer interface with a PPPoE client.

  • The optional dial-on-demand keyword enables DDR functionality on the PPPoE connection.
 
Step 6
exit


Example:

Router(config-if-atm-vc)# exit

 

Exits the configuration mode.

  • Enter the exit command at each configuration mode to leave that mode.
 

What to Do Next

To support DDR functionality for the PPPoE client, DDR functionality must be configured. See the Configure the Dialer Interface for the steps to do this.

Configure the PPPoE Client DDR Idle-Timer on an Ethernet Interface

To configure the PPPoE client DDR idle-timer on an Ethernet interface, use the following commands:

SUMMARY STEPS

1.    enable

2.    configure {terminal | memory | network}

3.    interface ethernet ethernet-number

4.    pppoe enable

5.    pppoe-client dial-pool-number number [dial-on-demand]

6.    exit


DETAILED STEPS
  Command or Action Purpose
Step 1
enable


Example:

Router> enable

 

Enables higher privilege levels, such as privileged EXEC mode.

  • Enter your password if prompted.
 
Step 2
configure {terminal | memory | network}


Example:

Router# configure terminal

 

Enters global configuration mode.

 
Step 3
interface ethernet ethernet-number


Example:

Router# interface ethernet 1

 

Configures an Ethernet interface and enters interface configuration mode.

 
Step 4
pppoe enable


Example:

Router(config-if)# pppoe enable

 

Enables PPPoE sessions on an Ethernet interface.

 
Step 5
pppoe-client dial-pool-number number [dial-on-demand]


Example:

Router(config-if)# pppoe-client dial-pool-number 1 dial-on-demand

 

Configures DDR interesting traffic control list functionality of the dialer interface with a PPPoE client.

  • The optional dial-on-demand keyword enables DDR functionality on the PPPoE connection.
 
Step 6
exit


Example:

Router(config-if-atm-vc)# exit

 

Exits the configuration mode.

  • Enter the exit command at each configuration mode to leave that mode.
 

What to Do Next

To support DDR functionality for the PPPoE client, DDR functionality must be configured. See the Configure the Dialer Interface section for the steps to do this.

Configure the Dialer Interface

To configure the dialer interface (required when using the pppoe-client dial-pool-number command), you must also configure the following commands:

SUMMARY STEPS

1.    enable

2.    configure {terminal | memory | network}

3.    interface dialer dialer-rotary-group-number

4.    dialer idle-timeout seconds [inbound | either]

5.    dialer hold-queue packets [timeout seconds]

6.    dialer-group group-number

7.    exit

8.    dialer-list dialer-group protocol protocol-name {permit | deny | list access-list-number | access-group}


DETAILED STEPS
  Command or Action Purpose
Step 1
enable


Example:

Router> enable

 

Enables higher privilege levels, such as privileged EXEC mode.

  • Enter your password if prompted.
 
Step 2
configure {terminal | memory | network}


Example:

Router# configure terminal

 

Enters global configuration mode.

 
Step 3
interface dialer dialer-rotary-group-number


Example:

Router# interface dialer 1

 

Defines a dialer rotary group and enters interface configuration mode.

 
Step 4
dialer idle-timeout seconds [inbound | either]


Example:

Router(config-if)# dialer idle-timeout 180 either

 

Specifies the duration of idle time before a line is disconnected.

  • inbound --Only inbound traffic will reset the idle timeout.
  • either --Both inbound and outbound traffic will reset the idle timeout.
 
Step 5
dialer hold-queue packets [timeout seconds]


Example:

Router(config-if)# dialer hold-queue 100

 

Allows interesting outgoing packets to be queued until a modem connection is established.

  • timeout --Amount of time, in seconds, to queue the packets.
 
Step 6
dialer-group group-number


Example:

Router(config-if)# dialer-group 1

 

Controls access by configuring an interface to belong to a specific dialing group.

 
Step 7
exit


Example:

Router(config-if)# exit

 

Leaves interface configuration mode and returns to global configuration mode.

 
Step 8
dialer-list dialer-group protocol protocol-name {permit | deny | list access-list-number | access-group}


Example:

Router(config)# dialer-list 1 protocol ip permit

 

Defines a DDR dialer list for dialing by protocol or by a combination of a protocol and a previously defined access list.

  • permit and deny--Configure access permissions.
  • list --Specifies that an access list will be used for defining a granularity finer than an entire protocol.
 

Configuration Examples for PPPoE Client DDR Idle-Timer

This section provides configuration examples to match the identified configuration tasks in the previous sections. The dialer interface configurations for each interface type required by the pppoe-client dial-pool-number command are included in the following client configuration examples:

PPPoEoA Client Configuration Example

The following example shows how to configure the PPPoE client DDR idle-timer on an ATM PVC interface:

!
vpdn enable
no vpdn logging
!
vpdn-group 1
 request-dialin
  protocol pppoe
!
interface ATM2/0
 pvc 2/100 
  pppoe-client dial-pool-number 1 dial-on-demand
!
interface Dialer1
 ip address negotiated
 ip mtu 1492
 encapsulation ppp
 dialer pool 1
 dialer idle-timeout 180 either
 dialer hold-queue 100
 dialer-group 1
!
dialer-list 1 protocol ip permit
!         
ip route 0.0.0.0 0.0.0.0 Dialer1

PPPoEoE Client Configuration Example

The following example shows how to configure the PPPoE client DDR idle-timer on an Ethernet interface:

!
vpdn enable
no vpdn logging
!
vpdn-group 1
 request-dialin
  protocol pppoe
!
interface Ethernet1
 pppoe enable
 pppoe-client dial-pool-number 1 dial-on-demand
!
interface Dialer1
 ip address negotiated
ip mtu 1492
 encapsulation ppp
 dialer pool 1
 dialer idle-timeout 180 either
 dialer hold-queue 100
 dialer-group 1
!
dialer-list 1 protocol ip permit
!         
ip route 0.0.0.0 0.0.0.0 Dialer1

Additional References

Related Documents

Related Topic

Document Title

Cisco IOS commands

Cisco IOS Master Commands List, All Releases

DDR interesting packets and access control lists

Cisco IOS Dial Technologies Configuration Guide , Release 12.2. See the section "Configuring Access Control for Outgoing Calls " in the chapter "Configuring Legacy DDR Hubs."

DDR and dialer commands: complete command syntax, command mode, defaults, usage guidelines, and examples

Cisco IOS Dial Technologies Command Reference , Release 12.2.

PPPoE Stage Protocols

Cisco IOS Wide-Area Networking Configuration Guide , Release 12.2. See the section "PPPoE Stage Protocols" in the chapter "Configuring Broadband Access: PPP and Routed Bridge Encapsulation."

PPPoE configuration commands: complete command syntax, command mode, defaults, usage guidelines, and example

Cisco IOS Wide-Area Networking Command Reference , Release 12.2. See the chapter "Broadband Access: PPP and Routed Bridge Encapsulation Commands."

Standards

Standard

Title

None

--

MIBs

MIB

MIBs Link

  • None

To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL:

http://www.cisco.com/go/mibs

RFCs

RFC

Title

None

--

Technical Assistance

Description

Link

The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password.

http://www.cisco.com/cisco/web/support/index.html

Feature Information for PPPoE Client DDR Idle-Timer

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 Client DDR Idle-Timer

Feature Name

Releases

Feature Information

PPPoE Client DDR Idle-Timer

12.2(13)T

The PPPoE Client DDR Idle-Timer feature supports the dial-on-demand routing (DDR) interesting traffic control list functionality of the dialer interface with a PPP over Ethernet (PPPoE) client, but also keeps original functionality (PPPoE connection up and always on after configuration) for those PPPoE clients that require it.

This feature is supported on Cisco 806, Cisco 827, Cisco SOHO 70 series routers.

The following commands were introduced or modified: pppoe-client dial-pool-number.

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

© 2011 Cisco Systems, Inc. All rights reserved.