© 2006 Cisco Systems, Inc. All rights reserved. ICND v Completing ISDN Calls Configuring Dial-on-Demand Routing
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Outline Overview DDR Overview DDR Operation Legacy DDR Configuration Static Routes for DDR Defined Interesting Traffic for DDR DDR Dialer Information Configuration ISDN PRI and Legacy DDR Configuration DDR Configuration Verification DDR Configuration Troubleshooting Summary
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Connects when needed Disconnects when finished ISDN or PSTN What Is Dial-on-Demand Routing?
© 2006 Cisco Systems, Inc. All rights reserved. ICND v When to Use DDR Periodic connections Small amounts of data
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Route to destination is determined. 2. Interesting packets dictate DDR call. 3. Dialer information is looked up. 4. Traffic is transmitted. 5. Call is terminated. Generic DDR Operation
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Define static routesWhat route do I use? Specify interesting trafficWhat traffic enables the link? Configure the dialer informationWhat number do I call? Configuring DDR 1
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Defining Static Routes
© 2006 Cisco Systems, Inc. All rights reserved. ICND v dialer-list 1 protocol ip permit dialer-list 1 protocol ip list 101 access-list 101 deny tcp any any eq ftp access-list 101 deny tcp any any eq telnet access-list 101 permit ip any any Any IP traffic will initiate the link without access lists. Any IP traffic, except FTP and Telnet, will initiate the linking. Using access lists gives finer control. Denies FTP Denies Telnet Specifying Interesting Traffic
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Applies rules defined by dialer list to individual interfaces hostname Home ! isdn switch-type basic-5ess ! username central password cisco interface BRI0 ip address encapsulation ppp dialer idle-timeout 180 dialer map ip name Central dialer-group 1 no fair-queue ppp authentication chap ! router rip network ! no ip classless ip route ip route ! dialer-list 1 protocol ip permit Both values must match Configuring the Dialer Information
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Configuring the Dialer Information (Cont.)
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Establishes the amount of traffic on the link before a second link is enabled Router(config-if)# dialer idle-timeout seconds Optional Legacy DDR Commands Router(config-if)# dialer load-threshold load [outbound | inbound | either] Establishes the idle time before disconnect
© 2006 Cisco Systems, Inc. All rights reserved. ICND v hostname Home ! isdn switch-type basic-5ess ! username central password cisco interface BRI0 ip address encapsulation ppp dialer idle-timeout 180 dialer map ip name Central dialer-group 1 no fair-queue ppp authentication chap ! router rip network ! no ip classless ip route ip route dialer-list 1 protocol ip permit ! Legacy DDR Configuration Tasks Summarized
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Dialer Profiles Overview
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Dialer Profile Elements
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Dialer Profile Configuration Concepts and Commands
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Configuring Dialer Interfaces interface dialer1 ip address encapsulation ppp dialer remote-name Smalluser dialer string dialer idle-timer 180 dialer pool 1 dialer-group 1 ppp authentication chap ! interface dialer2 ip address encapsulation ppp dialer remote-name Mediumuser dialer string dialer idle-timer 180 dialer pool 1 dialer-group 2 (cont.) interface dialer3 ip address encapsulation ppp dialer remote-name Poweruser dialer string dialer idle-timer 300 dialer pool 1 dialer-group 3
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Configuring Physical Interfaces
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Router# ping or telnet Router# show dialer Router# show isdn active Router# show isdn status Triggers a link Displays current status of the link Displays call status while call is in progress Displays the status of an ISDN connection Router# show ip route Displays all routes, including static routes Verifying DDR and ISDN Operation
© 2006 Cisco Systems, Inc. All rights reserved. ICND v NASX# show dialer interface bri0 Dial StringSuccessesFailuresLast calledLast status secsSuccessful 0 incoming call(s) have been screened. BRI0: B-Channel 1 Idle timer (120 secs), Fast idle timer (20 secs) Wait for carrier (30 secs), Re-enable (15 secs) Time until disconnect 102 secs Current call connected 00:00:19 Connected to (system1) BRI0: B-Channel 2 Idle timer (120 secs), Fast idle timer (20 secs) Wait for carrier (30 secs), Re-enable (15 secs) Dialer state is idle BRI0 - dialer type = ISDN Interface bound to profile Dialer0 Dialer state is data link layer up Dial reason: ip (s= , d= ) Verifying Dialer Profiles Operation
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Router# debug dialer [events | packets] Displays DDR debugging information about the packets received on a dialer interface Clears currently established connections from the interface Router# debug isdn q921 Shows ISDN Layer 2 messages Router(config-if)# shutdown Shows ISDN call setup and teardown activity Router# debug isdn q931 Troubleshooting DDR and ISDN Operation
© 2006 Cisco Systems, Inc. All rights reserved. ICND v debug isdn q921 Example Router# debug isdn q921 Jan 3 14:52:24.475: ISDN BR0: TX -> INFOc sapi = 0 tei = 64 ns = 5 nr = 2 i = 0x Jan 3 14:52:24.503: ISDN BR0: RX INFOc sapi = 0 tei = 64 ns = 6 nr = 4 i = 0x F Jan 3 14:52:24.699: ISDN BR0: RX
© 2006 Cisco Systems, Inc. All rights reserved. ICND v debug isdn q931 Examples Router# debug isdn q931 TX -> SETUP pd = 8 callref = 0x04 Bearer Capability i = 0x8890 Channel ID i = 0x83 Called Party Number i = 0x80, ` ' RX
© 2006 Cisco Systems, Inc. All rights reserved. ICND v debug dialer Examples Router# debug dialer events Dialing cause: Serial0: ip (s= d= ) Router# debug dialer packets BRI0: ip (s= , d= ), 100 bytes, interesting (ip PERMIT)
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Resolving Outbound Call Problems Cause Missing or incorrect interesting traffic definitions Incorrect interface state Misconfigured dialer map Misconfigured dialer profile Suggested Action Verify the configuration by using show running-configuration command. Make sure that the interface state is up/up (spoofing). Make sure that the dialing interface has at least one dialer map statement. Make sure the dialer interface is configured with a dialer pool X command.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Summary DDR allows two or more Cisco routers to establish a dynamic connection over simple dial-up facilities. DDR operates by first determining the route to the destination, then, if the traffic is interesting, initiating a call. In the DDR configuration process, first the static routes must be defined, then the interesting traffic must be specified, and finally, the dialer information must be configured. Static routes should be used across a DDR link so that the number is not dialed simply for routing updates.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v Summary (Cont.) DDR calls are triggered by interesting traffic, which can be defined based on protocol, source address, destination address, or a variety of other criteria. Use the dialer group and dialer map commands on an interface to associate a port and dialer string with a dial list. In the process of configuring ISDN PRI with legacy DDR, dialer rotary groups and dialer profiles need to be configured. show commands can be used to verify DDR configuration. debug commands can be used to troubleshoot DDR calls.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v