Chinaunix首页 | 论坛 | 博客
  • 博客访问: 15198919
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-20 17:02:30

3661 have a nm-4b-s/t module,act as an access server,and a e1&18dm

module(but not be used now),the following is the config

Building configuration...

Current configuration : 9936 bytes >

!

version 12.2

no parser cache

no service single-slot-reload-enable

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname 3661

!

logging rate-limit console 10 except errors

username 8888 password 0 8888

username leo password leo

memory-size iomem 15

modem country mica china

ip subnet-zero

!

!

!

no ip dhcp-client network-discovery

isdn switch-type primary-net5

!

!

controller E1 1/0

framing NO-CRC4

pri-group timeslots 1-31

!

!

interface FastEthernet0/0

ip address 168.168.44.150 255.255.255.0

duplex auto

speed auto

!

interface Serial1/0:15

no ip address

encapsulation ppp

dialer rotary-group 1

dialer-group 1

isdn switch-type primary-net5

isdn incoming-voice modem

no cdp enable

!

interface BRI3/0

no ip address

encapsulation ppp

dialer pool-member 2

isdn switch-type basic-net3

isdn incoming-voice modem

ppp authentication pap chap callin

!

interface BRI3/1

no ip address

encapsulation ppp

dialer pool-member 2

isdn switch-type basic-net3

isdn incoming-voice modem

ppp authentication pap chap callin

interface BRI3/2

no ip address

encapsulation ppp

dialer pool-member 2

isdn switch-type basic-net3

isdn incoming-voice modem

ppp authentication pap chap callin

!

interface BRI3/3

no ip address

encapsulation ppp

dialer pool-member 2

isdn switch-type basic-net3

isdn incoming-voice modem

ppp authentication pap chap callin

!

interface Group-Async1

ip unnumbered FastEthernet0/0

encapsulation ppp

load-interval 30

dialer in-band

dialer idle-timeout 3600

async mode interactive

peer default ip address pool cisco3661-group-1

ppp authentication chap callin

group-range 65 94

hold-queue 10 in

!

interface Dialer1

ip unnumbered FastEthernet0/0

encapsulation ppp

dialer in-band

dialer idle-timeout 3600

dialer-group 1

peer default ip address pool cisco3661-group-1

no cdp enable

ppp authentication pap chap

!

interface Dialer2

ip unnumbered FastEthernet0/0

encapsulation ppp

dialer pool 1

dialer-group 1

peer default ip address pool cisco3661-group-1

pulse-time 0

ppp authentication pap chap callin

!

ip local pool cisco3661-group-1 168.168.44.110 168.168.44.140

ip classless

ip http server

!

access-list 1 permit any

dialer-list 1 protocol ip list 1

!

line con 0

line 65 94

exec-timeout 0 0

modem answer-timeout 120

modem Dialin

modem autoconfigure discovery

transport input all

autoselect ppp

flowcontrol hardware

line aux 0

line vty 0 4

password ciscos

login

!

!

end

现在问题是模拟电话能够正常拨入,可是ISDN却不能拨入!邪门了!我debug isdn q931

debug ppp neg

debug ppp authen

以后得到如下提示:

ISDN BR3/0: RX <- SETUP pd = 8 callref = 0x6D

2d01h: Bearer Capability i = 0x8890

2d01h: Channel ID i = 0x89

2d01h: Called Party Number i = 0xA1, '2150663325', Plan:ISDN, Type:Natio

nal

2d01h: Sending Complete

2d01h: ISDN BR3/0: Event: Received a DATA call from on B1 at 64 Kb/s

2d01h: ISDN BR3/0: Event: Accepting the call id 0x51

2d01h: %LINK-3-UPDOWN: Interface BRI3/0:1, changed state to up

2d01h: BR3/0:1 PPP: Treating connection as a callin

2d01h: BR3/0:1 PPP: Phase is ESTABLISHING, Passive Open [0 sess, 1 load]

2d01h: BR3/0:1 LCP: State is Listen

2d01h: ISDN BR3/0: TX -> CALL_PROC pd = 8 callref = 0xED

2d01h: Channel ID i = 0x89

2d01h: ISDN BR3/0: TX -> CONNECT pd = 8 callref = 0xED

2d01h: ISDN BR3/0: RX <- CONNECT_ACK pd = 8 callref = 0x6D

2d01h: BR3/0:1 LCP: I CONFREQ [Listen] id 1 len 17

2d01h: BR3/0:1 LCP: MagicNumber 0x00432275 (0x050600432275)

2d01h: BR3/0:1 LCP: PFC (0x0702)

2d01h: BR3/0:1 LCP: ACFC (0x0802)

2d01h: BR3/0:1 LCP: Callback 6 (0x0D0306)

2d01h: BR3/0:1 LCP: O CONFREQ [Listen] id 38 len 14

2d01h: BR3/0:1 LCP: AuthProto PAP (0x0304C023)

2d01h: BR3/0:1 LCP: MagicNumber 0x1184EDF8 (0x05061184EDF8)

2d01h: BR3/0:1 LCP: O CONFREJ [Listen] id 1 len 7

2d01h: BR3/0:1 LCP: Callback 6 (0x0D0306)

2d01h: BR3/0:1 LCP: I CONFACK [REQsent] id 38 len 14

2d01h: BR3/0:1 LCP: AuthProto PAP (0x0304C023)

2d01h: BR3/0:1 LCP: MagicNumber 0x1184EDF8 (0x05061184EDF8)

2d01h: BR3/0:1 LCP: I CONFREQ [ACKrcvd] id 2 len 14

2d01h: BR3/0:1 LCP: MagicNumber 0x00432275 (0x050600432275)

2d01h: BR3/0:1 LCP: PFC (0x0702)

2d01h: BR3/0:1 LCP: ACFC (0x0802)

2d01h: BR3/0:1 LCP: O CONFACK [ACKrcvd] id 2 len 14

2d01h: BR3/0:1 LCP: MagicNumber 0x00432275 (0x050600432275)

2d01h: BR3/0:1 LCP: PFC (0x0702)

2d01h: BR3/0:1 LCP: ACFC (0x0802)

2d01h: BR3/0:1 LCP: State is Open

2d01h: BR3/0:1 PPP: Phase is AUTHENTICATING, by this end [0 sess, 1 load]

2d01h: BR3/0:1 PAP: I AUTH-REQ id 1 len 12 from "leo"

2d01h: BR3/0:1 PAP: Authenticating peer leo

2d01h: BR3/0:1 PAP: O AUTH-ACK id 1 len 5

2d01h: BR3/0:1 PPP: Phase is UP [0 sess, 1 load]

2d01h: BR3/0:1 CDPCP: O CONFREQ [Closed] id 17 len 4

2d01h: %ISDN-6-CONNECT: Interface BRI3/0:1 is now connected to leo

2d01h: %ISDN-6-DISCONNECT: Interface BRI3/0:1 disconnected from leo, call last

ed 1 seconds

2d01h: ISDN BR3/0: TX -> DISCONNECT pd = 8 callref = 0xED

2d01h: Cause i = 0x8090 - Normal call clearing

2d01h: ISDN BR3/0: RX <- RELEASE pd = 8 callref = 0x6D

2d01h: %LINK-3-UPDOWN: Interface BRI3/0:1, changed state to down

2d01h: BR3/0:1 CDPCP: State is Closed

2d01h: BR3/0:1 PPP: Phase is TERMINATING [0 sess, 1 load]

2d01h: BR3/0:1 LCP: State is Closed

2d01h: BR3/0:1 PPP: Phase is DOWN [0 sess, 1 load]

2d01h: ISDN BR3/0: TX -> RELEASE_COMP pd = 8 callref = 0xED

我受不了了,因为密码验证已经通过了(如果我在客户端密码乱写,比如1234,那么路由器和客户端都会提示密码错误),可是就是不行,救命啊!

我前两天也遇到很类似的东西,现在还没有解决,在cisco.com上查到如下的话:

problem:The remote device does not authenticate itself. This can be seen usually with non-Cisco devices, e.g. Ascend, Livingston.

suggest:Use IOS 10.3(9), 11.0(5) or 11.(1) or higher, which have the option for:

ppp authentication chap callin, or ppp authentication pap callin

但是场景是两个isdn对拨的,问题是说这分明就是cisco的产品啊,难道nt1这些也必须用cisco的?配置也有ppp authen pap chap callin这些话呀。就是不知道doesnot authen itself是什么意思

FW:这个和ISDN 的网络相关,因为ISDN网有一部分是走的PSTN

阅读(302) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~