PPPoE Client DDR Idle Timer

Similar documents
PPPoE Client DDR Idle-Timer

PPPoE Session Recovery After Reload

BGP Enforce the First Autonomous System Path

PPP/MLP MRRU Negotiation Configuration

DHCP Lease Limit per ATM/RBE Unnumbered Interface

OSPF Incremental SPF

Suppress BGP Advertisement for Inactive Routes

IS-IS Incremental SPF

VPDN Group Session Limiting

Generic Routing Encapsulation Tunnel IP Source and Destination VRF Membership

DHCP Option 82 Support for Routed Bridge Encapsulation

RADIUS Logical Line ID

Autosense of MUX/SNAP Encapsulation and PPPoA/PPPoE on ATM PVCs

RADIUS Tunnel Preference for Load Balancing and Fail-Over

IMA Dynamic Bandwidth

RADIUS NAS-IP-Address Attribute Configurability

Frame Relay Conditional Debug Support

QoS Child Service Policy for Priority Class

Extended NAS-Port-Type and NAS-Port Support

SSG Service Profile Caching

PPPoE Session Limits per NAS Port

Configuring Multiple Basic Service Set Identifiers and Microsoft WPS IE SSIDL

Protocol-Independent MAC ACL Filtering on the Cisco Series Internet Router

Configuring an Intermediate IP Multicast Helper Between Broadcast-Only Networks

DHCP Relay MPLS VPN Support

Troubleshooting ISA with Session Monitoring and Distributed Conditional Debugging

This feature was introduced. This feature was integrated into Cisco IOS Release 12.2(27)SBA.

Packet Classification Using the Frame Relay DLCI Number

OSPF RFC 3623 Graceful Restart Helper Mode

Logging to Local Nonvolatile Storage (ATA Disk)

Cisco Voice Applications OID MIB

Per IP Subscriber DHCP Triggered RADIUS Accounting

Configuring Route Maps to Control the Distribution of MPLS Labels Between Routers in an MPLS VPN

ISSU and SSO DHCP High Availability Features

DHCP ODAP Server Support

Configuring the Cisco IOS DHCP Relay Agent

PPPoE Service Selection

IP SLAs Random Scheduler

VPDN LNS Address Checking

MPLS MTU Command Changes

Route Processor Redundancy Plus (RPR+)

Cisco Unity Express Voic System User s Guide

BECN and FECN Marking for Frame Relay over MPLS

IP Event Dampening. Feature History for the IP Event Dampening feature

PPPoE Agent Remote-ID and DSL Line Characteristics Enhancement

Using Application Level Gateways with NAT

Low Latency Queueing with Priority Percentage Support

Modified LNS Dead-Cache Handling

Cisco Smart Business Communications System Teleworker Set Up

Installing IEC Rack Mounting Brackets on the ONS SDH Shelf Assembly

Configuring Virtual Interfaces

Application Firewall Instant Message Traffic Enforcement

Contextual Configuration Diff Utility

Configuring MPLS Multi-VRF (VRF-lite)

MPLS VPN: VRF Selection Based on Source IP Address

LAN Emulation Overview

Exclusive Configuration Change Access and Access Session Locking

MPLS VPN OSPF and Sham-Link Support

Chunk Validation During Scheduler Heapcheck

Configuring ISA Accounting

QoS: Color-Aware Policer

Configuring Token Ring LAN Emulation for Multiprotocol over ATM

Cisco Software Licensing Information for Cisco Unified Communications 500 Series for Small Business

Cisco 806, Cisco 820 Series, Cisco 830 Series, SOHO 70 Series and SOHO 90 Series Routers ROM Monitor Download Procedures

ATM VP Average Traffic Rate

Cisco Unified MeetingPlace for Microsoft Office Communicator

Wireless LAN Overview

Wireless LAN Error Messages

This feature was introduced. This feature was integrated into Cisco IOS Release 12.2(27)SBA.

Maintenance Checklists for Cisco Unity VPIM Networking (with Microsoft Exchange)

Cisco Aironet Directional Antenna (AIR-ANT-SE-WiFi-D)

Connecting Cisco DSU/CSU High-Speed WAN Interface Cards

RSVP Message Authentication

Cisco Report Server Readme

IP SLAs Proactive Threshold Monitoring

Configuration Replace and Configuration Rollback

Cisco Unified Mobile Communicator 3.0 User Portal Guide

White Paper: Using Microsoft Windows Server 2003 with Cisco Unity 4.0(4)

QoS: Classification of Locally Sourced Packets

Installing the Cisco ONS Deep Door Kit

Simple Network-Enabled Auto-Provisioning for Cisco IAD2420 Series IADs

Release Notes for Cisco Security Agent for Cisco Unified MeetingPlace Release 6.0(7)

Cisco Aironet 1500 Series Access Point Large Pole Mounting Kit Instructions

PPPoE Agent Remote-ID and DSL Line Characteristics Enhancement

Connecting Cisco WLAN Controller Enhanced Network Modules to the Network

Configuring ISG VRF Transfer (Cisco IOS Release 12.2(28)SB)

This module was first published on May 2, 2005, and last updated on May 2, 2005.

Release Notes for Cisco Aironet Client Utility and Driver, Version 3.0 for Mac OS

Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA USA

Site Preparation and Network Communications Requirements

Connecting Cisco 4-Port FXS/DID Voice Interface Cards

Applying the Tunnel Template on the Home Agent

MPLS Traffic Engineering Fast Reroute Link Protection

MPLS Traffic Engineering (TE) Scalability Enhancements

Maintenance Checklists for Microsoft Exchange on a Cisco Unity System

Using Microsoft Outlook to Schedule and Join Cisco Unified MeetingPlace Express Meetings

Cisco Video Surveillance Virtual Matrix Client Configuration Guide

Cisco Unified Web and Interaction Manager Supervision Console User s Guide

Cisco Interaction Manager Supervision Console User s Guide

Cisco BTS Softswitch Site Preparation and Network Communications Requirements, Release 6.0. Safety and Compliance

Transcription:

The 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. Feature Specifications for the Feature Feature History Release 12.2(13)T 12.2(27)SBA Modification This feature was introduced. This feature was integrated into Cisco IOS Release 12.2(27)SBA. Finding Support Information for Platforms and Cisco IOS Software Images Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear. Contents Prerequisites for Using the PPPoE Client DDR Idle-Timer, page 2 Information About the PPPoE Client DDR Idle-Timer, page 2 How to Configure the PPPoE Client DDR Idle-Timer, page 3 Configuration Examples for PPPoE Client DDR Idle-Timer, page 7 Additional References, page 9 Command Reference, page 10 Corporate Headquarters: Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA Copyright 2002, 2005 Cisco Systems, Inc. All rights reserved.

Prerequisites for Using the PPPoE Client DDR Idle-Timer Prerequisites for Using the PPPoE Client DDR Idle-Timer Before configuring the 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 9 for links to the documents describing these concepts. Information About the PPPoE Client DDR Idle-Timer To configure the PPPoE client DDR idle-timer, you need to understand the following concept: DDR Functionality and the PPPoE Client, page 2 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 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. 2

How to Configure the PPPoE Client DDR Idle-Timer How to Configure the PPPoE Client DDR Idle-Timer This section contains the following procedures. Each procedure is identified as either required or optional. Configure the on an ATM PVC Interface, page 3 (required) Configure the on an Ethernet Interface, page 4 (required) Configure the Dialer Interface, page 5 (required) Configure the on an ATM PVC Interface SUMMARY STEPS DETAILED STEPS To configure the in interface-atm-vc configuration mode, use the following commands: 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 Step 1 Step 2 Command or Action enable Router> enable configure {terminal memory network} Purpose Enables higher privilege levels, such as privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Step 4 Router# configure terminal interface atm atm-interface-number Router# interface atm 2/0 pvc vpi/vci Router(config-if)# pvc 2/100 Configures an ATM interface type and enters interface configuration mode. Creates an ATM permanent virtual circuit (PVC) and enters interface-atm-vc configuration mode. 3

How to Configure the PPPoE Client DDR Idle-Timer Step 5 Step 6 Command or Action pppoe-client dial-pool-number number [dial-on-demand] Router(config-if-atm-vc)# pppoe-client dial-pool-number 1 dial-on-demand exit Router(config-if-atm-vc)# exit Purpose 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. 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 on page 5 for the steps to do this. Configure the on an Ethernet Interface To configure the 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] DETAILED STEPS Step 1 Step 2 Command or Action enable Router> enable configure {terminal memory network} Purpose Enables higher privilege levels, such as privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Router# configure terminal interface ethernet ethernet-number Router# interface ethernet 1 Configures an Ethernet interface and enters interface configuration mode. 4

How to Configure the PPPoE Client DDR Idle-Timer Step 4 Command or Action pppoe enable Purpose Enables PPPoE sessions on an Ethernet interface. Step 5 Step 6 Router(config-if)# pppoe enable pppoe-client dial-pool-number number [dial-on-demand] Router(config-if)# pppoe-client dial-pool-number 1 dial-on-demand exit Router(config-if-atm-vc)# exit 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. 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 SUMMARY STEPS To configure the dialer interface (required when using the pppoe-client dial-pool-number command), you must also configure the following commands: 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} 5

How to Configure the PPPoE Client DDR Idle-Timer DETAILED STEPS Step 1 Step 2 Command or Action enable Router> enable configure {terminal memory network} Purpose Enables higher privilege levels, such as privileged EXEC mode. Enter your password if prompted. Enters global configuration mode. Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 Router# configure terminal interface dialer dialer-rotary-group-number Router# interface dialer 1 dialer idle-timeout seconds [inbound either] Router(config-if)# dialer idle-timeout 180 either dialer hold-queue packets [timeout seconds] Router(config-if)# dialer hold-queue 100 dialer-group group-number Router(config-if)# dialer-group 1 exit Router(config-if)# exit dialer-list dialer-group protocol protocol-name {permit deny list access-list-number access-group} Router(config)# dialer-list 1 protocol ip permit Defines a dialer rotary group and enters interface configuration mode. 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. Allows interesting outgoing packets to be queued until a modem connection is established. timeout Amount of time, in seconds, to queue the packets. Controls access by configuring an interface to belong to a specific dialing group. Leaves interface configuration mode and returns to global configuration mode. 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. 6

Configuration Examples for PPPoE Client DDR Idle-Timer 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, page 7 PPPoEoE Client Configuration Example, page 7 PPPoEoA Client Configuration Example The following example shows how to configure the 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 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 7

Configuration Examples for PPPoE Client DDR Idle-Timer 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 8

Configuration Examples for PPPoE Client DDR Idle-Timer Additional References For additional information related to the PPPoE client DDR idle-timer, refer to the following references: Related Documents Related Topic Document Title 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 Cisco IOS Dial Technologies Command Reference, Release 12.2. syntax, command mode, defaults, usage guidelines, and examples PPPoE Stage Protocols PPPoE configuration commands: complete command syntax, command mode, defaults, usage guidelines, and example 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. Cisco IOS Wide-Area Networking Command Reference, Release 12.2. See the chapter Broadband Access: PPP and Routed Bridge Encapsulation Commands. Standards Standards Title None MIBs MIBs None MIBs Link To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL: http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://tools.cisco.com/itdit/mibs/servlet/index If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL: http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml 9

Command Reference To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL: http://www.cisco.com/register RFCs RFCs Title None Technical Assistance Description Technical Assistance Center (TAC) home page, containing 30,000 pages of searchable technical content, including links to products, technologies, solutions, technical tips, tools, and lots more. Registered Cisco.com users can log in from this page to access even more content. Link http://www.cisco.com/public/support/tac/home.shtml Command Reference This section documents one modified command only. pppoe-client dial-pool-number 10

pppoe-client dial-pool-number pppoe-client dial-pool-number To configure a PPP over Ethernet (PPPoE) client and to specify dial-on-demand routing (DDR) functionality, use the pppoe-client dial-pool-number command in either interface configuration mode or ATM virtual circuit configuration mode. To disable any configured functionality, use the no form of this command. pppoe-client dial-pool-number number [dial-on-demand] no pppoe-client dial-pool-number number [dial-on-demand] Syntax Description number dial-on-demand Unique number of a dial group configured with the dialer-group dialer interface command. (Optional) Enables DDR functionality for the PPPoE connection. Defaults A PPPoE client is not configured, and DDR functionality is disabled. Command Modes Interface configuration ATM virtual circuit configuration Command History Release 12.1(3)XG 12.2(2)T 12.2(13)T 12.2(27)SBA Modification This command was introduced. This command was integrated into Cisco IOS Release 12.2(2)T. The dial-on-demand keyword was added to allow the configuration of DDR interesting traffic control list functionality. This command was integrated into Cisco IOS Release 12.2(27)SBA. Usage Guidelines One permanent virtual circuit (PVC) will support only one PPPoE client. Multiple PPPoE clients can run concurrently on different permanent virtual circuits (PVCs), but each PPPoE client must use a separate dialer interface and a separate dialer pool. Use this command to configure dial-on-demand routing (DDR) interesting traffic control list functionality of the dialer interface with a PPP over Ethernet (PPPoE) client. When the DDR functionality is configured for this command, the following DDR commands must also be configured: dialer-group, dialer hold-queue, dialer idle-timeout, and dialer-list. Tips for Configuring the Dialer Interface If you are configuring a hard-coded IP address under the dialer interface, you can configure a default IP route using the ip route command as follows: ip route 0.0.0.0 0.0.0.0 dialer1 But if you are configuring a negotiated IP address using the ip address negotiated command under the dialer interface, you must configure a default IP route using the ip route command as follows: 11

pppoe-client dial-pool-number ip route 0.0.0.0 0.0.0.0 dialer1 permanent The reason is that the dialer interface will lose its IP address when a PPPoE session is brought down (even if the dialer does not go down), and hence the route removal routine will take effect and remove all IP routes pointed at the dialer interface, even the default IP route. Although the default IP route will be added back about one minute later by IP background processes, you may risk losing incoming packets during the interval. Examples PPPoE Client DDR Idle-Timer on an Ethernet Interface The following example shows how to configure the PPPoE client DDR idle-timer on an Ethernet interface and includes the required DDR commands: 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 PPPoE client DDR Idle-Timer on an ATM PVC The following example shows how to configure the PPPoE client DDR idle-timer on an ATM PVC interface and includes the required DDR commands: 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 12

pppoe-client dial-pool-number dialer-group 1 dialer-list 1 protocol ip permit ip route 0.0.0.0 0.0.0.0 Dialer1 Related Commands Command debug vpdn pppoe-data debug vpdn pppoe-errors debug vpdn pppoe-events debug vpdn pppoe-packets dialer-group dialer hold-queue dialer idle-timeout dialer-list ip address negotiated ip route Description Displays PPPoE session data packets. Displays PPPoE protocol errors that prevent a session from being established or errors that cause an established session to be terminated. Displays PPPoE protocol messages about events that are part of normal session establishment or shutdown. Displays each PPPoE protocol packet exchanged. Controls access by configuring a virtual access interface to belong to a specific dialing group. Allows interesting outgoing packets to be queued until a modem connection is established. Specifies the idle time before the line is disconnected. Defines a DDR dialer list to control dialing by protocol or by a combination of protocol and an access list. Specifies the IP address for a particular interface is obtained via PPP/IPCP. Establishes a static route. 13

pppoe-client dial-pool-number CCVP, the Cisco logo, and Welcome to the Human Network are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn is a service mark of Cisco Systems, Inc.; and Access Registrar, Aironet, Catalyst, CCDA, CCDP, CCIE, CCIP, CCNA, CCNP, CCSP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Cisco Unity, Enterprise/Solver, EtherChannel, EtherFast, EtherSwitch, Fast Step, Follow Me Browsing, FormShare, GigaDrive, HomeLink, Internet Quotient, IOS, iphone, IP/TV, iq Expertise, the iq logo, iq Net Readiness Scorecard, iquick Study, LightStream, Linksys, MeetingPlace, MGX, Networkers, Networking Academy, Network Registrar, PIX, ProConnect, ScriptShare, SMARTnet, StackWise, The Fastest Way to Increase Your Internet Quotient, and TransPath are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. All other trademarks mentioned in this document or Website 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. (0711R) Copyright 2002, 2005 Cisco Systems, Inc. All rights reserved. 14