Cisco RNIS debug

De BlaxWiki
(Redirigé depuis Cisco ISDN)
Aller à la navigationAller à la recherche

First find the config on churchill. Then telnet to the router's ethernet interface IP address or framed ip address or the the static nat mapping on port 23. eg:

ip nat inside source static tcp 192.168.162.254 23 80.168.107.232 23 extendable

At the prompt:

  router#

type show isdn status

If all is well the output should look like this:


  LongboreLtd#sh 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 = 64, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
      Layer 3 Status:
          0 Active Layer 3 Call(s)
          CCB:callid=946A, sapi=0, ces=1, B-chan=1, calltype=DATA, hdlctype=HDLC-T      RUNK
      Active dsl 0 CCBs = 1
      The Free Channel Mask:  0x80000002
      Total Allocated ISDN CCBs = 1

If the output looks like this:

  Router#sh isdn status
  Global ISDN Switchtype = basic-net3
  ISDN BRI0 interface
          dsl 0, interface ISDN Switchtype = basic-net3
      Layer 1 Status:
          DEACTIVATED
      Layer 2 Status:
          Layer 2 NOT Activated
      Layer 3 Status:
          0 Active Layer 3 Call(s)
      Active dsl 0 CCBs = 0
      The Free Channel Mask:  0x80000003
      Total Allocated ISDN CCBs = 0


Notice that the layer 1 status is DEACTIVATED and that layer 2 is NOT Activated. This means that there is no physical layer or datalink layer signals being picked up by the cisco. This could be that the isdn cable is broken or not plugged in properly or that there is a problem with the ISDN line itself.

Next debug the dialling events:

  Router#debug dialer events
  Dial on demand events debugging is on

Make sure the debugging is outputting to the console

  Router#terminal monitor
  % Console already monitors

Then attempt to ping something

  Router#ping
  Protocol [ip]:
  Target IP address: 195.8.69.7
  Repeat count [5]:
  Datagram size [100]:
  Timeout in seconds [2]:
  Extended commands [n]:
  Sweep range of sizes [n]:
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 195.8.69.7, timeout is 2 seconds:
  *Mar  1 00:25:14.535: BR0 DDR: rotor dialout [best] least recent failure is also most recent failure
  *Mar  1 00:25:14.535: BR0 DDR: rotor dialout [best] also has most recent failure
  *Mar  1 00:25:14.539: BR0 DDR: rotor dialout [best]
  *Mar  1 00:25:14.539: BR0 DDR: place call
  *Mar  1 00:25:14.539: BR0 DDR: Dialing cause ip (s=212.188.147.193, d=195.8.69.7)
  *Mar  1 00:25:14.543: BR0 DDR: Attempting to dial 08451264000.
  Success rate is 0 percent (0/1)
  *Mar  1 00:25:16.579: BRI0: wait for isdn carrier timeout, call id=0x8009
  *Mar  1 00:20:15.691: BR0 DDR: rotor dialout [best] also has most recent failure
  *Mar  1 00:20:15.695: BR0 DDR: rotor dialout [best]
  *Mar  1 00:20:15.695: BR0 DDR: place call
  *Mar  1 00:20:15.695: BR0 DDR: Dialing cause ip (s=212.188.147.193, d=195.8.69.7)
  *Mar  1 00:20:15.699: BR0 DDR: Attempting to dial 08451264000
  *Mar  1 00:20:15.699: BRI0: wait for isdn carrier timeout, call id=0x8006
  *Mar  1 00:20:15.703: DDR: Dialing failed, 1 packets unqueued and discarded.
  *Mar  1 00:20:17.691: BR0 DDR: rotor dialout [best] least recent failure is also most recent failure
  *Mar  1 00:25:16.583: DDR: Dialing failed, 5 packets unqueued and discarded


Questions to ask:

1> Is the router attempting to dial out.

2> If the router is attempting to dial then you is there a carrier timout. This will usually mean that there is a problem with the isdn line, the two major possibilities being a faulty line or they need a 9 for an outside line.

If the router is not attempting to dial then there is a problem with the config.