分享
 
 
 

ISDN Troubleshooting

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

使用sh isdn status显示ISDN线路状态。

ISDN线路共3层状态

第一层处于激活,说明路由器在ISDN线路上检测到2B1Q编码的帧

第二层如显示Multipe_Frame_Established,说明路由器和交换机第一次握手。

sh controller bri 0

这个命令也同样可以看到ISDN线路是否激活。

提示信息是Layer 1 internal state is ACTIVATED

无ISDN信号

在没有接通ISDN线路时。

sh isdn status可以看到第一层处于非活跃状态,

Global ISDN Switchtype = basic-net3

ISDN BRI0 interface

dsl 0, interface ISDN Switchtype = basic-net3

Layer 1 Status:

DEACTIVED

Layer 2 调试

debug isdn q921

这条命令使路由器显示自己和ISDN交换机第二层的所有活动。如TEI协商信息和RR。

D信道监控

sh int bri0

查看BRI接口的D信道状态。BRI物理接口是bri0。因此sh int bri0显示的是D信道状态。

R3#sh int bri0

BRI0 is up, line protocol is up (spoofing)

Hardware is BRI

Internet address is 196.1.1.1/24

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, loopback not set

Last input 00:00:06, output 00:00:06, output hang never

Last clearing of "show interface" counters 00:07:02

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: weighted fair

Output queue: 0/1000/64/0 (size/max total/threshold/drops)

Conversations 0/1/16 (active/max active/max total)

Reserved Conversations 0/0 (allocated/max allocated)

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

13 packets input, 95 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

11 packets output, 75 bytes, 0 underruns

0 output errors, 0 collisions, 2 interface resets

0 output buffer failures, 0 output buffers swapped out

1 carrier transitions

B信道监控

这里就直接举个例子

R3# sh int bri 0:1

BRI0:1 is down, line protocol is down

Hardware is BRI

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, loopback not set

Keepalive set (10 sec)

LCP Closed, multilink Closed

Closed: IPCP, CDPCP

Last input 00:02:12, output 00:02:12, output hang never

Last clearing of "show interface" counters never

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: fifo

Output queue :0/40 (size/max)

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

65 packets input, 1754 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

65 packets output, 1754 bytes, 0 underruns

0 output errors, 0 collisions, 11 interface resets

0 output buffer failures, 0 output buffers swapped out

3 carrier transitions

===========================================

R3# sh int bri 0:2

BRI0:2 is down, line protocol is down

Hardware is BRI

MTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,

reliability 255/255, txload 1/255, rxload 1/255

Encapsulation PPP, loopback not set

Keepalive set (10 sec)

LCP Closed, multilink Closed

Closed: IPCP, CDPCP

Last input never, output never, output hang never

Last clearing of "show interface" counters never

Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0

Queueing strategy: fifo

Output queue :0/40 (size/max)

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

0 packets input, 0 bytes, 0 no buffer

Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort

0 packets output, 0 bytes, 0 underruns

0 output errors, 0 collisions, 11 interface resets

0 output buffer failures, 0 output buffers swapped out

0 carrier transitions

第三层调试

debug isdn q931

第3层的ISDN流量包含每个B信道的呼叫建立和呼叫挂。同时可以通过debug ppp auth 查看认证过程。

00:58:26: %ISDN-6-LAYER2UP: Layer 2 for Interface BR0, TEI 65 changed to up

00:58:26: ISDN BR0: TX - SETUP pd = 8 callref = 0x0A

00:58:26: Bearer Capability i = 0x8890

00:58:26: Channel ID i = 0x83

00:58:26: Called Party Number i = 0x80, '38846302', Plan:Unknown, Type:Unknown

00:58:26: ISDN BR0: RX

00:58:26: Channel ID i = 0x89.!!!!!!!!!

00:58:28: ISDN BR0: RX

00:58:28: Date/Time i = 0x020C0C0216

00:58:28: Connected Number i = 0x21833338383436333032

00:58:28: ISDN BR0: TX - CONNECT_ACK pd = 8 callref = 0x0A

00:58:28: %LINK-3-UPDOWN: Interface BRI0:1, changed state to up

00:58:28: BR0:1 PPP: Treating connection as a callout

00:58:28: BR0:1 CHAP: O CHALLENGE id 8 len 23 from "R3"

00:58:28: BR0:1 CHAP: I CHALLENGE id 6 len 23 from "R5"

00:58:28: BR0:1 CHAP: O RESPONSE id 6 len 23 from "R3"

00:58:28: BR0:1 CHAP: I SUCCESS id 6 len 4

00:58:28: BR0:1 CHAP: I RESPONSE id 8 len 23 from "R5"

00:58:28: BR0:1 CHAP: O SUCCESS id 8 len 4

00:58:28: %LINK-3-UPDOWN: Interface Virtual-Access1, changed state to up!!!!!!!!!!!!!!!!!!!!!!!

00:58:28: Vi1 PPP: Treating connection as a callout

00:58:29: ISDN BR0: TX - SETUP pd = 8 callref = 0x0B

00:58:29: Bearer Capability i = 0x8890

00:58:29: Channel ID i = 0x83

00:58:29: Called Party Number i = 0x80, '38846302', Plan:Unknown, Type:Unknown

00:58:29: ISDN BR0: RX

00:58:29: Channel ID i = 0x8A

00:58:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:1, changed state to up

00:58:29: %LINEPROTO-5-UPDOWN: Line protocol on Interface Virtual-Access1, changed state to up

00:58:29: ISDN BR0: RX

00:58:29: Date/Time i = 0x020C0C0216

00:58:29: Connected Number i = 0x21833338383436333032

00:58:29: ISDN BR0: TX - CONNECT_ACK pd = 8 callref = 0x0B

00:58:29: %LINK-3-UPDOWN: Interface BRI0:2, changed state to up

00:58:29: %ISDN-6-CONNECT: Interface BRI0:1 is now connected to 38846302 R5!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!

00:58:29: BR0:2 PPP: Treating connection as a callout

00:58:29: BR0:2 CHAP: O CHALLENGE id 4 len 23 from "R3"

00:58:29: BR0:2 CHAP: I CHALLENGE id 4 len 23 from "R5"

00:58:29: BR0:2 CHAP: O RESPONSE id 4 len 23 from "R3"

00:58:29: BR0:2 CHAP: I SUCCESS id 4 len 4

00:58:29: BR0:2 CHAP: I RESPONSE id 4 len 23 from "R5"

00:58:29: BR0:2 CHAP: O SUCCESS id 4 len 4!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

00:58:30: %LINEPROTO-5-UPDOWN: Line protocol on Interface BRI0:2, changed state to

第三层调试 2

show dialer 是第3层连接故障的另一个诊断方法。

show dialer map显示所有动态和静态的拨号映射命令。

R3#sh dialer

BRI0 - dialer type = ISDN

Dial String Successes Failures Last DNIS Last status

38846302 2 0 00:05:39 successful

0 incoming call(s) have been screened.

0 incoming call(s) rejected for callback.

BRI0:1 - dialer type = ISDN

Idle timer (120 secs), Fast idle timer (20 secs)

Wait for carrier (30 secs), Re-enable (15 secs)

Dialer state is idle

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有