Example 938 debug isdn q931 Command Output

r5#debug isdn q931

ISDN Q931 packets debugging is on r5#ping 192.168.9.21

Sending 5, 100-byte ICMP Echos to 192.168.9.21, timeout is 2 seconds: .!!!!

Success rate is 80 percent (4/5), round-trip min/avg/max = 36/36/36 ms

Dec 22 04:53:23.275: ISDN BR0: TX -> SETUP pd = 8 callref = 0x06

Dec 22 04:53:23.279: Bearer Capability i = 0x8890

Dec 22 04:53:23.279: Channel ID i = 0x83

Dec 22 04:53:23.283: Keypad Facility i = '8358661'

Dec 22 04:53:23.491: ISDN BR0: RX <- CALL_PROC pd = 8 callref = 0x86

Dec 22 04:53:23.491: Channel ID i = 0x89

Dec 22 04:53:23.495: Locking Shift to Codeset 5

Dec 22 04:53:23.499: Codeset 5 IE 0x2A i = 0x809402, '* = ', 0x8307, '83586

0x8E0B2 0, 'Teltone', 0x20, '1', 0x20 Dec 22 04:53:23.619: ISDN BR0: RX <- CONNECT pd = 8 callref = 0x86 Dec 22 04:53:23.635: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up Dec 22 04:53:23.667: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358661 Dec 22 04:53:23.679: ISDN BR0: TX -> CONNECT_ACK pd = 8 callref = 0x06 Dec 22 04:53:24.675: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up

Dec 22 04:53:29.671: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 8358661 !!!active call in progress r5#show isdn status

Global ISDN Switchtype = basic-ni

ISDN BRI0 interface

dsl 0, interface ISDN Switchtype = basic-ni

Layer 1 Status:

ACT I'VE

Layer 2 Status:

TEI = 108, Ces = 1, SAPI = 0, State = MULTIPLE

FRAME ESTABLISHED

TEI = 109, Ces = 2, SAPI = 0, State = MULTIPLE

FRAME ESTABLISHED

Spid Status:

TEI 108, ces = 1, state = 5(init)

spid1 configured, spid1 sent, spid1 valid

Endpoint ID Info: epsf = 0, usid = 2, tid =

1

TEI 109, ces = 2, state = 5(init)

spid2 configured, spid2 sent, spid2 valid

Endpoint ID Info: epsf = 0, usid = 4, tid =

1

Layer 3 Status:

1 Active Layer 3 Call(s)

Activated dsl 0 CCBs = 1

CCB:callid=0x8 0 0 6, sapi=0x0, ces = 0x1, B-chan=1

The Free Channel Mask: 0x80000002

Total Allocated ISDN CCBs = 1

r5#

Dec 22 04:54:20.375: %ISDN-6-DISCONNECT: Interface BRI 0

:1 disconnected from

8358661 r6, call lasted 56 seconds

Dec 22 04:54:20.387: ISDN BR0: TX -> DISCONNECT pd = 8

callref = 0x06

Dec 22 04:54:20.391: Cause i = 0x8090 - Normal

call clearing

Dec 22 04:54:20.495: ISDN BR0: RX <- RELEASE pd = 8 callref = 0x86

Dec 22 04:54:20.511: isdn Call disconnect!)

Dec 22 04:54:20.515: %LINK-3-UPDOWN: Interface BRI0:1,

changed state

to down

Dec 22 04:54:20.547: ISDN BR0: TX -> RELEASE COMP pd =

8 callref =

0x06

Dec 22 04:54:21.511: %LINEPROTO-5-UPDOWN: Line protocol

on Interface

BRI0:1,

changed state to down

!!!after the call tear down

r5#show isdn status

Global ISDN Switchtype = basic-ni

ISDN BRI0 interface

dsl 0, interface ISDN Switchtype = basic-ni

Layer 1 Status:

ACTIVE

Layer 2 Status:

TEI = 108, Ces = 1, SAPI = 0, State = MULTIPLE

FRAME ESTABLISHED

TEI = 109, Ces = 2, SAPI = 0, State = MULTIPLE

FRAME ESTABLISHED

Spid Status:

TEI 108, ces = 1, state = 5(init)

spid1 configured, spid1 sent, spid1 valid

Endpoint ID Info: epsf = 0, usid = 2, tid =

1

TEI 109, ces = 2, state = 5(init)

spid2 configured, spid2 sent, spid2 valid

Endpoint ID Info: epsf = 0, usid = 4, tid =

1

Layer 3 Status:

0 Active Layer 3 Call(s)

Activated dsl 0 CCBs = 0

The Free Channel Mask: 0x80000003

Total Allocated ISDN CCBs = 0

r5#undebug all

The call reference parameters help to distinguish between the different calls. For example, the reas the preceding disconnect is normal call clearing. See the shaded output after the 56-second disconi Example 9-38.

Now that you have looked at the LAPD frame format and experimented with some of the command layer-by-layer basis, I want to focus on shooting ISDN BRI troubles.

+2 0

Post a comment