Professional Documents
Culture Documents
0913_04F9_c2
Troubleshooting ISDN
Session 209
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
BRI
T1 and E1 PRI
ISDN Protocol Architecture
209
0913_04F9_c2
B-CHANNEL
BRI
D-CHANNEL
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
B-CHANNEL
BRI
D-CHANNEL
209
0913_04F9_c2
B-CHANNEL
BRI
D-CHANNEL
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Network
Physical
LAPDQ.921
Physical
209
0913_04F9_c2
Q.931
Data Link
PPP
D-Channel
Network
IP,
Data Link
B-Channel
Troubleshooting ISDN
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Troubleshooting ISDN
Be systematic
Go step by step
Always troubleshoot both ends
of the connection
209
0913_04F9_c2
Troubleshooting Menu
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Layer 1
Layer 2
Layer 3
Debug PPP
LCP
Speed 56/64
Pap/Chap
NCP
Ping remote net
Tune cost
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
10
ping 1.1.1.1
ping 1.1.1.2
1.1.1.1
Troubleshooting
ISDN
1.1.1.2
11
Debug Dialer
Router# debug dialer events
Dialing cause: BRIO: ip
(s=172.16.1.111 d172.16.2.22)
Troubleshooting
Ping remote int
Ping
Debug
remote
dialer
net
Tune
Sh isdn
coststat
Debug PPP
Ping remote net
Tune cost
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
12
SH ISDN Status
Router#sh isdn status
Troubleshooting
13
TDM Multiplexing
Creates B1, B2 and D
channels
48 bit physical frame,
4000 frames/s,
192 kbits/s
2 x 8 B1 bits,
2 x 8 B2 bits, 4 x 1 D bit
1
2 3
2 3
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
BB B BB B BB
11 111 1 11
209
0913_04F9_c2
4 5
Troubleshooting
6 7
F N B B B BB B B B D B B B B B B B B
A
22 2 22 2 22
1 11 1 11 11
Frame from NT to TE
B B BB BBB B
2 2 22 22 22
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
B BB B BBB B
1 11 1 111 1
F
A
B BB B B B B B D B B B B B B B B
2 22 2 22 2 2
1 1 11 111 1
Frame from TE to NT
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
BB BBB B BB
22 22 22 22
14
Synchronization
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Layer 1
Layer 2
Layer 3
Debug PPP
Ping remote net
Tune cost
1st Line
Code
Violation
2 3
4 5 6
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
BB BBB B B B
11 111 1 1 1
2 3 4
7 8
F N BB B BB B BB
B BB B B B B B
A
2 2 2 2 2 2 2 2 D 1 11 1 1 1 1 1
Frame from NT to TE
B B BB B BBB
2 2 22 2 222
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
B B B B B BB B
111 1 1 11 1
209
0913_04F9_c2
2nd Line
Code
Violation
F
A
B BB B BB B B D B B BB BBB B
2 22 2 22 2 2
1 1 11 11 11
Frame from TE to NT
BB B BBB BB
22 2 222 22
15
Activation ( A Bit )
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Layer 1
Layer 2
Layer 3
Debug PPP
Ping remote net
Tune cost
A = 0 , Deactivated
A = 1 , Activated
1
2 3
209
0913_04F9_c2
4 5
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
BB B BB B BB
11 111 1 11
2 3
6 7
D A F N B B B BB B B B D B B B B B B B B
A
22 2 22 2 22
1 11 1 11 11
Frame from NT to TE
B B BB BBB B
2 2 22 22 22
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
B BB B BBB B
1 11 1 111 1
F
A
B BB B B B B B D B B B B B B B B
2 22 2 22 2 2
1 1 11 111 1
Frame from TE to NT
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
BB BBB B BB
22 22 22 22
16
NT
No Signal
No Signal
209
0913_04F9_c2
17
NT
No Signal
No Signal
2 INFO 1TE becomes Active: "01111110" Signal (= HDLC Flags)
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
18
NT
No Signal
No Signal
2 INFO 1TE becomes Active: "01111110" Signal (= HDLC Flags)
A=0
209
0913_04F9_c2
19
NT
No Signal
No Signal
2 INFO 1TE becomes Active: "01111110" Signal (= HDLC Flags)
A=0
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
20
10
NT
No Signal
No Signal
2 INFO 1TE becomes Active: "01111110" Signal (= HDLC Flags)
A=0
F
5INFO 4NT Synchronizes and Sends Frames with A-bit = 1
209
0913_04F9_c2
A=1
21
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
22
11
23
SH CONT BRI 0
Router#sh cont bri
BRIO unit 0
D Chan Info :
Layer 1 is Activated
Idb 0x9F6E8, ds 0xA56F8, reset_mask 0x8
buffer size 1524
RX ring with 2 entries at 0x2101600 : Rxhead 0
00 pak=0x0AB0A4 ds=0x40CE70 status=D000
pak_size=0
()
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
24
12
25
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
26
13
SH ISDN Status
Router#sh isdn stat
Troubleshooting
27
Network
Physical
LAPDQ.921
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Physical
209
0913_04F9_c2
Q.931
Data Link
PPP
D-Channel
Network
IP,
Data Link
B-Channel
28
14
Q.921LAPD
TE
209
0913_04F9_c2
NT1
LT
ET
29
TEI Assignment
TE sends ID REQ, switch answers with ID ASSN
AI = 127 asks for any TEI
AI = 64 means TEI 64 is assigned
Reference Indicator (RI) is a random number
RI must match in request and response
ID Request (AI = 127 , RI = 23)
TE
ET
ID Assigned (AI = 64 , RI = 23)
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
30
15
209
0913_04F9_c2
31
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
32
16
Connection Establishment
The TE or the switch send an SABME
to establish the data link connection
SABME needs to be acknowledged
by a UA
SABME (SAPI=0 , TEI=64)
TE
ET
UA (SAPI=0 , TEI=64)
209
0913_04F9_c2
33
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
34
17
Information Transfer
Once the data link connection is
established, INFO frames can be
exchanged
INFO frames get acknowledged by other
INFO frames or by RR frames
INFO (SAPI=0 , TEI=64 , N(S)=0 , N(R)=0)
TE
ET
INFO (SAPI=0 , TEI=64 , N(S)=0 , N(R)=1)
35
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
36
18
TE
ET
37
sapi = 0 tei = 80 nr = 4
sapi = 0 tei = 80 nr = 4
sapi = 0 tei = 80 nr = 4
sapi = 0 tei = 80 nr = 4
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
38
19
SH ISDN Status
Layer 1 Status:
Troubleshooting
ACTIVE
Layer 2 Status:
TEI = 0, State =
MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
39
Network
Physical
LAPDQ.921
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Physical
209
0913_04F9_c2
Q.931
Data Link
PPP
D-Channel
Network
IP,
Data Link
B-Channel
40
20
Q.931
TE
209
0913_04F9_c2
NT1
LT
ET
41
- ntt
- primary-4ess
- primary-5ess
- primary-dms100
- primary-net5
- vn2
- vn3
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
42
21
Call Set Up
En-bloc sending: the initial set-up message
contains all necessary addressing
information
TE
Setup
ET
ET
Set-up
TE
Call Proceeding
Connect
Connect
Connect ACK
209
0913_04F9_c2
43
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
44
22
45
SPIDS
Service Profile Identifier
Used to bind a specific terminal to a
specific service profile (only on BRI)
SPIDS are assigned by the service
provider
SPID is 10 digit telephone number + extra
digits
DMS-100 and NI-1 require SPIDS
Do not use SPIDS unless you have to
SPIDS are only used in North America
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
46
23
SPIDS: Configuration
Isdn spid1 spid-number (ldn)
Isdn spid2 spid-number (ldn)
Spid-number:
Assigned by service provider
Usually ten digit telephone number + some extra
digits
47
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
48
24
SPID Validation
SPIDS are validated by the switch
Handshake between TE and local ISDN
switch
Valid SPID is acknowledged with Endpoint ID
INFO (SPID = SPID1)
TE
ET
INFO(ENDPOINT IDENT)
INFO (SPID = SPID2)
INFO (ENDPOINT IDENT)
209
0913_04F9_c2
49
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
50
25
Invalid SPIDS
Rejected by the network
ET
INFO (Invalid IE Contents)
INFO (SPID = SPID2)
INFO (Invalid IE Contents)
209
0913_04F9_c2
51
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
52
26
SH ISDN Status
Layer 1 Status: ACTIVE
Layer 2 Status:
TEI = 88, State = MULTIPLE_FRAME_ESTABLISHED
Spid Status:
TEI 88, ces = 1, state = 6(not initialized)
53
Call Refused
TE
Set-up
ET
Release
Complete
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
ET
Setup
TE
Release
Complete
54
27
0:03:10:
Channel ID i = 0x83
0:03:10:
Call Clearing
Any side can clear the call
Disconnect
TE
209
0913_04F9_c2
Disconnect
ET
ET
TE
Release
Release
Release
Complete
Release
Complete
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
56
28
57
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Layer 1
Layer 2
Layer 3
Debug PPP
Ping remote net
Tune cost
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
58
29
Network
Physical
LAPDQ.921
Physical
209
0913_04F9_c2
Q.931
Data Link
PPP
D-Channel
Network
IP,
Data Link
B-Channel
59
Point-to-Point Protocol
PPP: RFC 1548 + others
Troubleshooting
Debug dialer
Multiprotocol encapsulation
Sh isdn stat
Link Control Protocol (LCP)
Debug PPP
LCP
Establishing and maintaining the
Speed 56/64
data link
Pap/chap
NCP
Option negotiation (e.g. use CHAP)
Ping remote net
Tune cost
Several Network Control Protocols (NCP)
Establishing and configuring network layer protocols
Protocol specific option negotiation (addresses, )
IPCP, IPXCP ATCP,
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
60
30
LCP Negotiation
Configure-Req proposes
certain options
If all options are acceptable,
the remote station returns
a Configure-ACK
Configure-Req
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Debug PPP
LCP
Speed 56/64
Pap/chap
NCP
Ping remote net
Tune cost
Configure-ACK
209
0913_04F9_c2
61
LCP Negotiation
In reality all PPP negotiations are double
negotiations
Configure-Req
Configure-ACK
Configure-Req
Configure-ACK
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
62
31
209
0913_04F9_c2
63
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
64
32
SH INT BRI 0 1
BRI0: B-Channel 1 is up, line protocol is up
Hardware is BRI
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
lcp state = OPEN
ncp ipcp state = REQSENT ncp osicp state =
NOT NEGOTIATED
ncp ipxcp state = NOT NEGOTIATED ncp xnscp state =
NOT NEGOTIATED
ncp vinescp state = NOT NEGOTIATED ncp deccp state =
NOT NEGOTIATED
ncp bridgecp state = NOT NEGOTIATED
ncp atalkcp state = NOT NEGOTIATED
Last input 0:00:00, output 0:00:00, output hang never
Last clearing of "show interface" counters never
Output queue 0/40, 0 drops; input queue 0/75, 0 drops
Five minute input rate 0 bits/sec, 0 packets/sec
Five minute output rate 0 bits/sec, 1 packets/sec
9099 packets input, 855915 bytes, 0 no buffer
()
209
0913_04F9_c2
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Debug PPP
LCP
Speed 56/64
Pap/chap
NCP
Ping remote net
Tune cost
65
64 and 56 KBit/s
Inter-switch connections may
limit the speed to 56 kbit/s
Troubleshooting
(56)
ET
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Setup(56)
ET
TE
66
33
64 and 56 KBit/s
The dialer map allows you to specify
the speed for the outgoing call
Dialer map ip 1.1.1.1 123456 speed 56
Default is 64 kbit/s
Setup(56)
TE
209
0913_04F9_c2
(56)
ET
Setup(56)
ET
TE
67
(56)
ET
Set-up(64)
ET
Not End-to-End
ISDN
TE
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
68
34
69
PAP: Password
Authentication Protocol
CHAP: Challenge
Handshake
Authentication Protocol
CHAP is to be preferred
over PAP
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
70
35
Configuration CHAP
hostname left
username right
password cisco
int bri 0
encapsulation ppp
ppp authentication chap
ip add 1.0.0.1 255.255.255.0
dialler map ip 1.0.0.2 name
right 12345
Router
Left
209
0913_04F9_c2
hostname right
username left
password cisco
int bri 0
encapsulation ppp
ppp authentication chap
ip add 1.0.0.2 255.255.255.0
dialler map ip 1.0.0.1 name
left 54321
ISDN
Router
Right
71
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
72
36
SH DIALER
Brussels# sh dial
BRI0 - dialler type = ISDN
Dial String
Successes Failures
4085261234
never
73
Router
54321
Left
54321
Router
Right
54321
Not Yet
Connected
12345
Router
54321
Left
54321
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Router
Right
Left
Already
Connected
12345
74
37
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Debug PPP
LCP
Speed 56/64
Pap/chap
NCP
Ping remote net
Tune cost
75
NCP
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Debug PPP
LCP
Speed 56/64
Pap/chap
NCP
Ping remote net
Tune cost
NCP Configure-ACK
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
76
38
77
SH INT BRI 0 1
BRI0: B-Channel 1 is up,
line protocol is up
Hardware is BRI
MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,
rely 255/255, load 1/255
Encapsulation PPP, loopback not set,
keepalive set (10 sec)
lcp state = OPEN
ncp ipcp state = OPEN
ncp osicp state = NOT NEGOTIATED
ncp ipxcp state = REQSENT
ncp xnscp state = NOT NEGOTIATED
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Debug PPP
LCP
Speed 56/64
Pap/chap
NCP
Ping remote net
Tune cost
()
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
78
39
SH INT BRI 0 1
BRI0: B-Channel 1 is up, line
protocol is up
Troubleshooting
Hardware is BRI
MTU 1500 bytes, BW 64 Kbit, DLY
20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set,
keepalive set (10 sec)
lcp state = OPEN
79
IP,
PPP
Q.931
LAPDQ.921
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
Physical
209
0913_04F9_c2
D-Channel
Network Data Link
Network
B-Channel
80
40
1.1.1.1
ISDN
1.1.1.2
2.2.2.2
3.3.3.3
81
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
82
41
2.2.2.2
209
0913_04F9_c2
1.1.1.1
ISDN
1.1.1.2
3.3.3.3
83
Interesting Traffic
Dialer filter triggers call if traffic is interesting
Use sh ISDN history, debug dialer, and the ISDN
mib to debug issues
int bri 0
dialer-group 1
access-list 101 deny igrp 0.0.0.0 255.255.255.255 0.0.0.0
255.255.255.255
access-list 101 permit ip 0.0.0.0 255.255.255.255 0.0.0.0
255.255.255.255
dialer-list 1 list 101
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
84
42
85
Debug Dialer
router# debug dialer events
Dialling cause: BRI0: ip
(s=172.16.1.111 d=172.16.2.22)
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
86
43
Troubleshooting ISDN
Be systematic
Go step by step
Always troubleshoot both
ends of the connection
209
0913_04F9_c2
Troubleshooting
Ping remote int
Debug dialer
Sh isdn stat
Layer 1
Layer 2
Layer 3
Debug PPP
LCP
Speed 56/64
Pap/chap
NCP
Ping remote net
Tune cost
87
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
88
44
209
0913_04F9_c2
Copyright 1998, Cisco Systems, Inc. All rights reserved. Printed in USA.
Presentation_ID.scr
89
45