Upload
hendra-dwi-atmoko
View
212
Download
0
Embed Size (px)
Citation preview
8/22/2019 ICND22S07L02.PPs
1/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-1
Completing ISDN Calls
Configuring Dial-on-Demand Routing
8/22/2019 ICND22S07L02.PPs
2/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-2
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
8/22/2019 ICND22S07L02.PPs
3/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-3
Connects when needed
Disconnects when finished
ISDN or PSTN
What Is Dial-on-Demand Routing?
8/22/2019 ICND22S07L02.PPs
4/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-4
When to Use DDR
Periodic connections
Small amounts of data
8/22/2019 ICND22S07L02.PPs
5/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-5
1. 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
8/22/2019 ICND22S07L02.PPs
6/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-6
3
1
2
Define static routesWhat route do I use?
Specify interesting trafficWhat trafficenables the link?
Configure the dialer informationWhatnumber do I call?
Configuring DDR
1
8/22/2019 ICND22S07L02.PPs
7/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-7
Defining Static Routes
8/22/2019 ICND22S07L02.PPs
8/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-8
dialer-list 1 protocol ip permit
dialer-list 1 protocol ip list 101
access-list 101 deny tcp any any eq ftpaccess-list 101 deny tcp any any eq telnetaccess-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
8/22/2019 ICND22S07L02.PPs
9/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-9
Applies rules defined by
dialer-list to individual
interfaces
hostname Home!isdn switch-type basic-5ess!username central password ciscointerface BRI0ip address 10.1.0.1 255.255.255.0encapsulation pppdialer idle-timeout 180dialer map ip 10.1.0.2 name Central 5552000dialer-group 1no fair-queue
ppp authentication chap!
router ripnetwork 10.0.0.0!no ip classlessip route 10.10.0.0 255.255.0.0 10.1.0.2ip route 10.20.0.0 255.255.0.0 10.1.0.2!
dialer-list 1 protocol ip permit
Both Values
Must Match
Configuring the Dialer Information
8/22/2019 ICND22S07L02.PPs
10/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-10
Configuring the Dialer Information (Cont.)
8/22/2019 ICND22S07L02.PPs
11/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-11
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-thresholdload[outbound | inbound | either]
Establishes the idle time before disconnect
8/22/2019 ICND22S07L02.PPs
12/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-12
1
3
2
hostname Home!isdn switch-type basic-5ess!username central password cisco
interface BRI0ip address 10.1.0.1 255.255.255.0
encapsulation pppdialer idle-timeout 180dialer map ip 10.1.0.2 name Central 5552000dialer-group 1no fair-queue
ppp authentication chap!
router ripnetwork 10.0.0.0!no ip classlessip route 10.10.0.0 255.255.0.0 10.1.0.2ip route 10.20.0.0 255.255.0.0 10.1.0.2dialer-list 1 protocol ip permit
!
Legacy DDR Configuration TasksSummarized
8/22/2019 ICND22S07L02.PPs
13/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-13
Dialer Profiles Overview
8/22/2019 ICND22S07L02.PPs
14/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-14
Dialer Profile Elements
8/22/2019 ICND22S07L02.PPs
15/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-15
Dialer Profile Configuration Concepts andCommands
8/22/2019 ICND22S07L02.PPs
16/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-16
Configuring Dialer Interfaces
interface dialer1ip address 10.1.1.1255.255.255.0encapsulation pppdialer remote-name Smalluserdialer string 5554540
dialer idle-timer 180dialer pool 1dialer-group 1
ppp authentication chap!interface dialer2ip address 10.2.2.1255.255.255.0
encapsulation pppdialer remote-name Mediumuserdialer string 5551234dialer idle-timer 180dialer pool 1dialer-group 2 (cont.)
interface dialer3ip address 10.3.3.1 255.255.255.0encapsulation ppp
dialer remote-name Poweruserdialer string 4155554321dialer idle-timer 300dialer pool 1dialer-group 3
8/22/2019 ICND22S07L02.PPs
17/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-17
Configuring Physical Interfaces
8/22/2019 ICND22S07L02.PPs
18/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-18
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
8/22/2019 ICND22S07L02.PPs
19/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-19
NASX#show dialer interface bri0
Dial String Successes Failures Last called Last status5553872 6 0 19 secs Successful0 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:19Connected to 5553872 (system1)
BRI0: B-Channel 2Idle 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 upDial reason: ip (s=10.1.1.8, d=10.1.1.1)
Verifying Dialer Profiles Operation
8/22/2019 ICND22S07L02.PPs
20/27 2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-20
Router#debug dialer [events | packets]
Displays DDR debugging information about the packets
received on a dialer interface
Clears currently established connections from theinterface
Router#debug isdn q921
Shows ISDN Layer 2 messages
Router(config-if)#shutdown
Troubleshooting DDR and ISDN Operation
Shows ISDN call setup and teardown activity
Router#debug isdn q931
8/22/2019 ICND22S07L02.PPs
21/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-21
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 = 2i = 0x08010705040288901801837006803631383835
Jan 3 14:52:24.503: ISDN BR0: RX INFOc sapi = 0 tei = 64 ns = 6 nr = 4
i = 0x0801070FJan 3 14:52:24.699: ISDN BR0: RX
8/22/2019 ICND22S07L02.PPs
22/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-22
debug isdn q931 Examples
Router#debug isdn q931
TX -> SETUP pd = 8 callref = 0x04Bearer Capability i = 0x8890Channel ID i = 0x83Called Party Number i = 0x80, `415555121202'RX
8/22/2019 ICND22S07L02.PPs
23/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-23
debug dialer Examples
Router#debug dialer events
Dialing cause: Serial0: ip (s=172.16.1.111 d=172.16.2.22)
Router#debug dialer packets
BRI0: ip (s=10.1.1.8, d=10.1.1.1), 100 bytes, interesting (ip PERMIT)
8/22/2019 ICND22S07L02.PPs
24/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-24
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
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
8/22/2019 ICND22S07L02.PPs
25/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-25
Summary
DDR allows two or more Cisco routers to establish adynamic connection over simple dial-up facilities.
DDR operates by first determining the route to thedestination, then if the traffic is interesting, initiating a call.
In the DDR configuration process, first the static routesmust be defined, then the interesting traffic must bespecified, and finally, the dialer information must beconfigured.
Static routes should be used across a DDR link so that thenumber is not dialed simply for routing updates.
8/22/2019 ICND22S07L02.PPs
26/27
2004 Cisco Systems, Inc. All rights reserved. ICND v2.27-26
Summary (Cont.)
DDR calls are triggered by interesting traffic, which can bedefined based on protocol, source address, destinationaddress, 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 beconfigured.
show commands can be used to verify DDR configuration.
debug commands can be used to troubleshoot DDR calls.
8/22/2019 ICND22S07L02.PPs
27/27