cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1865
Views
0
Helpful
12
Replies

ISDN wrong: debug isdn q921, help me!

lihuaiyu543200
Level 1
Level 1

i have configured isdn calling router. with ping to the destination address and using debug isdn q921, it always display:

*Mar 1 19:41:41.763: ISDN BR0: TX -> RRp sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:41.831: ISDN BR0: RX <- RRf sapi = 0 tei = 65 nr = 0

following is detail:

guangzhou# show isdn status

Global ISDN Switchtype = basic-net3

ISDN BRI0 interface

dsl 0, interface ISDN Switchtype = basic-net3

Layer 1 Status:

ACTIVE

Layer 2 Status:

TEI = 65, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED

Layer 3 Status:

0 Active Layer 3 Call(s)

Activated dsl 0 CCBs = 0

The Free Channel Mask: 0x80000003

Total Allocated ISDN CCBs = 0

guangzhou#show debug

ISDN:

ISDN events debugging is on

ISDN Q921 packets debugging is on

ISDN Q931 packets debugging is on

ISDN events debug DSLs. (On/Off/No DSL:1/0/-)

DSL 0 --> 31

1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ISDN Q921 packets debug DSLs. (On/Off/No DSL:1/0/-)

DSL 0 --> 31

1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ISDN Q931 packets debug DSLs. (On/Off/No DSL:1/0/-)

DSL 0 --> 31

1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

guangzhou#ter mon

guangzhou#show terminal

Line 6, Location: "", Type: "ANSI"

Length: 26 lines, Width: 80 columns

Baud rate (TX/RX) is 9600/9600

Status: PSI Enabled, Ready, Active, No Exit Banner

Capabilities: Receives Logging Output

Modem state: Ready

Special Chars: Escape Hold Stop Start Disconnect Activation

^^x none - - none

Timeouts: Idle EXEC Idle Session Modem Answer Session Dispatch

never never none not set

Idle Session Disconnect Warning

never

Login-sequence User Response

00:00:30

Autoselect Initial Wait

not set

Modem type is unknown.

Session limit is not set.

Time since activation: 00:00:30

Editing is enabled.

History is enabled, history size is 10.

DNS resolution in show commands is enabled

Full user help is disabled

Allowed transports are pad telnet rlogin. Preferred is telnet.

No output characters are padded

--More--

*Mar 1 19:41:21.615: ISDN BR0: TX -> RRp sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:21.687: ISDN BR0: RX <- RRf sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:31.687: ISDN BR0: TX -> RRp sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:31.763: ISDN BR0: RX <- RRf sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:41.763: ISDN BR0: TX -> RRp sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:41.831: ISDN BR0: RX <- RRf sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:51.831: ISDN BR0: TX -> RRp sapi = 0 tei = 65 nr = 0

*Mar 1 19:41:51.903: ISDN BR0: RX <- RRf sapi = 0

1 Accepted Solution

Accepted Solutions

Hello,

not sure if the posted configuration for your router 'guangzhou' is complete, but I do not see a dialer-list statement, so there is no interesting traffic defined to trigger the call. Try and add the following to the configuration of your router 'guangzhou':

guangzhou(config)#dialer-list 1 protocol ip permit

HTH,

GP

View solution in original post

12 Replies 12

Hello,

it could be an authentication problem. Make sure you have the appropriate usernames configured on both sides. Can you post the configurations of both ends ?

Regards,

Georg

i have checked the authentication. both routers have related usename and same password.

the calling router configuration:

guangzhou#show run

Building configuration...

Current configuration:

!

version 12.0

service timestamps debug datetime msec

service timestamps log datetime msec

service password-encryption

!

hostname guangzhou

!

enable secret xxxxx

enable password xxxxx

!

username canhs password xxxxx

username bj3662 password xxxxxx

!

!

!

!

memory-size iomem 20

ip subnet-zero

!

isdn switch-type basic-net3

!

!

!

interface Serial0

ip address 192.168.248.2 255.255.255.0

no ip directed-broadcast

priority-group 1

!

interface Serial1

no ip address

no ip directed-broadcast

encapsulation frame-relay

load-interval 30

priority-group 1

frame-relay lmi-type ansi

!

interface Serial1.1 point-to-point

ip address 192.168.201.26 255.255.255.252

no ip directed-broadcast

ip ospf network broadcast

ip ospf priority 0

frame-relay interface-dlci 114

!

interface BRI0

bandwidth 64

ip address 192.168.181.7 255.255.255.240

no ip directed-broadcast

encapsulation ppp

ip ospf demand-circuit

load-interval 30

dialer idle-timeout 60

dialer string 01064639224

dialer hold-queue 75

dialer load-threshold 5 either

dialer-group 1

isdn switch-type basic-net3

ppp authentication chap

!

interface FastEthernet0

ip address 192.168.75.254 255.255.255.0

no ip directed-broadcast

half-duplex

!

interface Async5

ip address 192.168.78.225 255.255.255.252

no ip directed-broadcast

encapsulation ppp

dialer in-band

dialer idle-timeout 300

async mode dedicated

ppp authentication chap

!

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.201.25

ip route 0.0.0.0 0.0.0.0 192.168.181.1 210

ip route 192.168.78.0 255.255.255.252 Async5

no ip http server

!

access-list 100 permit ip host 0.0.0.0 host 192.168.10.3

access-list 100 permit ip host 0.0.0.0 host 192.168.10.4

access-list 100 permit ip host 0.0.0.0 host 192.168.10.13

access-list 100 permit ip host 0.0.0.0 host 192.168.10.16

priority-list 1 protocol ip high list 100

priority-list 1 protocol ip normal tcp 1352

priority-list 1 protocol ip normal tcp smtp

priority-list 1 protocol ip normal tcp pop3

priority-list 1 default high

snmp-server engineID local xxxxx

snmp-server community public RO

!

line con 0

session-timeout 5

exec-timeout 0 30

password xxxxx

login

transport input none

line aux 0

modem InOut

transport input all

stopbits 1

speed 38400

flowcontrol hardware

line vty 0 4

exec-timeout 0 0

password xxxxxx

login

!

end

the called router configuration:

!

username guangzhou password xxxxx

isdn switch-type basic-net3

!

interface BRI1/0

bandwidth 64

ip address 192.168.181.1 255.255.255.240

encapsulation ppp

ip ospf demand-circuit

no ip mroute-cache

load-interval 30

dialer idle-timeout 180

dialer hold-queue 75

dialer-group 1

isdn switch-type basic-net3

ppp callback accept

!

Hello,

not sure if the posted configuration for your router 'guangzhou' is complete, but I do not see a dialer-list statement, so there is no interesting traffic defined to trigger the call. Try and add the following to the configuration of your router 'guangzhou':

guangzhou(config)#dialer-list 1 protocol ip permit

HTH,

GP

thank you very much!

after adding the configuration it is ok.

now i can ping successfully from `guangzhou` to `beijing`, but (i use floating route in 'guangzhou') if i shut down the interface on the `beijing` of the line between `beijing` and `guangzhou`, why i can not ping successfully from `beijing` to `guangzhou`.

thanks a lot!

Hello,

can you post the configuration of your 'bejing' router as well ? Do you have the ISDN link configured as a backup link with the 'backup interface' command on the serial interface ? If that is the case, keep in mind that administratively shut interfaces are not seen as link failures by ISDN backup interfaces.

Regards,

GP

Current configuration : 25259 bytes

!

version 12.3

service timestamps debug uptime

service timestamps log datetime localtime

service password-encryption

service tcp-small-servers

!

hostname BJ3662

!

boot-start-marker

boot system flash flash:c3660-i-mz.123-7.t.bin

boot system flash flash:c3660-i-mz.122-8.T.bin

boot-end-marker

!

logging buffered 8192 debugging

enable secret xxxxx

enable password xxxx

!

username guangzhou password xxxx

clock timezone gmt 8

no aaa new-model

ip subnet-zero

!

!

ip cef

no ip domain lookup

!

!

isdn switch-type basic-net3

!

!

!

controller E1 2/0

framing NO-CRC4

channel-group 0 timeslots 1-31 speed 64

description CHINA TELECOM 1

!

interface Loopback0

ip address 192.168.180.1 255.255.255.0

ip ospf network point-to-point

!

interface Loopback2

ip address 192.168.254.1 255.255.255.0

!

interface FastEthernet0/0

no ip address

load-interval 30

speed 10

full-duplex

!

interface FastEthernet0/1

ip address 192.168.10.254 255.255.255.0

ip accounting access-violations

load-interval 30

speed 10

full-duplex

!

interface BRI1/0

bandwidth 64

ip address 192.168.181.1 255.255.255.240

encapsulation ppp

ip ospf demand-circuit

no ip mroute-cache

load-interval 30

dialer idle-timeout 180

dialer hold-queue 75

dialer-group 1

isdn switch-type basic-net3

ppp callback accept

!

interface BRI1/1

ip unnumbered Loopback0

encapsulation ppp

no ip mroute-cache

dialer idle-timeout 600

dialer wait-for-carrier-time 15

dialer load-threshold 1 either

dialer-group 1

isdn switch-type basic-net3

!

interface Serial2/0:0

description China Telecom 30N0001 2M fr

no ip address

encapsulation frame-relay

load-interval 30

frame-relay lmi-type ansi

!

interface Serial2/0:0.1 point-to-point

description Changsha 64K/64K

ip address 192.168.205.1 255.255.255.252

ip ospf network broadcast

ip ospf priority 10

frame-relay interface-dlci 501

!

interface Serial2/1:0

bandwidth 2048

no ip address

load-interval 30

!

interface Async225

ip address 192.168.15.1 255.255.255.0

encapsulation ppp

dialer in-band

dialer idle-timeout 180

async default routing

async dynamic routing

async mode dedicated

no peer default ip address

keepalive 10 3

ppp authentication chap

!

router ospf 100

log-adjacency-changes

area 9 virtual-link 192.168.243.2

redistribute connected

redistribute static

network 192.168.8.0 0.0.0.255 area 0

network 192.168.10.0 0.0.0.255 area 0

network 192.168.15.0 0.0.0.255 area 9

network 192.168.92.0 0.0.0.255 area 3

network 192.168.156.0 0.0.0.255 area 10

network 192.168.244.0 0.0.0.255 area 6

network 192.168.249.0 0.0.0.255 area 0

default-information originate always

!

ip http server

ip classless

no ip forward-protocol udp bootps

ip route 0.0.0.0 0.0.0.0 192.168.10.5

ip route 10.0.7.184 255.255.255.252 192.168.201.6

ip route 192.168.75.0 255.255.255.0 192.168.181.7 210

retransmit

snmp-server enable traps ospf cisco-specific lsa

snmp-server enable traps pim neighbor-change rp-mapping-change invalid-pim-mes

ge

snmp-server enable traps ipmulticast

!

control-plane

!

!

line con 0

exec-timeout 0 0

password xxxx

login

transport preferred all

transport output all

line aux 0

modem InOut

modem autoconfigure discovery

transport preferred all

transport input all

transport output all

stopbits 1

speed 115200

flowcontrol hardware

line vty 0 4

exec-timeout 20 0

password xxxx

login

transport preferred all

transport input all

transport output all

!

end

hello

i have posted the configuration of `beijing`.

i don't use `backup interface` on the serial interface. i use floating route to start up the backup line on the `guangzhou`.

Hello,

from what I can see, your 'beijing' router also does not have the dialer-list statement, so a connection can only be established from the 'guangzhou' router. Try and add the statement:

beijing(config)#dialer-list 1 protocol ip permit

This should enable the 'beijing' router to start a connection to 'guangzhou'.

HTH,

GP

sorry. because the configuation is so big that i don't post this configuration on.

i am sure the router has dialer-list statement.

Hello,

ok, assuming the dialer-list statement is on there, can you post the output of:

debug dialer events

from the 'beijing' router while you are trying to ping the other side ?

Regards,

GP

hello,

before i ping the other side, is it necessary to shutdown the interface linking to the other side?

thanks.

Hello,

if you work with floating static default routes with different administrative distances, you indeed need to shut down the primary interface, in order for the secondary default route to become active.

Regards,

Georg