Mr.Chan

导航

2621+8as卡在了验证用户名和密码这里

配置如下
Router#
Router#
Router#show run
Building configuration...

Current configuration : 893 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
!
username 666 password 0 777
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 144.36.61.252 255.255.255.0
duplex auto
speed auto
!
interface Group-Async1
physical-layer async
ip unnumbered FastEthernet0/1
encapsulation ppp
ip tcp header-compression passive
async mode dedicated
peer default ip address pool kuaiji
ppp authentication pap callin if-needed
group-range 33 40
!
ip local pool kuaiji 144.36.61.240 144.36.61.247
ip classless
ip http server
ip pim bidir-enable
!
!
!
line con 0
line 33 40
login local
modem InOut
modem autoconfigure discovery
transport input all
autoselect ppp
stopbits 1
speed 300
flowcontrol hardware
line aux 0
line vty 0 4
!
!
end


目前出现的几种情况有点不懂

1.Router(config-if)#ppp authentication pap
AAA: Warning, authentication list "default" is not defined for PPP.

2.用show run每看一次配置,line 33 40下面的speed都会变

3.拨号时能听到拨号音,然后跳出来“正在验证用户名和密码”,然后就有错误出来了

通常是"错误619 指定的设备没有连接"
"错误31 连接到系统上的设备没有发挥作用"
"629的错误,说是被远程计算机断开"

同样的设备,同样的配置重新拨号一次,错误就可能会从31变成619


4.00:49:10: %LINK-3-UPDOWN: Interface Serial1/0, changed state to up
00:49:33: %LINK-5-CHANGED: Interface Serial1/0, changed state to reset
这几行一开始来是再跳的,不知道为什么

---------------------------------------------------------
Router#show logging
Syslog logging: enabled (0 messages dropped, 0 messages rate-limited, 0 flushes)
Console logging: level debugging, 54 messages logged
Monitor logging: level debugging, 0 messages logged
Buffer logging: disabled
Logging Exception size (4096 bytes)
Count and timestamp logging messages: disabled
Trap logging: level informational, 58 message lines logged
Router#
---------------------------------------------------------------

(1)如果希望logging保存debug的信息,需要加一行:logg buffer debug。

(2)问题一已经提示了:你需要配置aaa,
aaa authen ppp default local

(3)其实你已经在line上配置了login local,在异步口上,不配置ppp authen,也可以达到使用local进行拨入身份认证的目的。




-------------------------------------------------------------------------------------

Router#debug ppp neg
PPP protocol negotiation debugging is on


还是这样,那边还是到了用户名和验证的地方就下不去了,跳出来个629的错误Router#show run
Building configuration...

Current configuration : 1043 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
logging buffered 4096 debugging
aaa new-model
!
!
aaa authentication ppp default local
aaa session-id common
!
username 666 password 0 777
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 144.36.61.252 255.255.255.0
duplex auto
speed auto
!
interface Group-Async1
physical-layer async
ip unnumbered FastEthernet0/1
encapsulation ppp
ip tcp header-compression passive
async mode dedicated
peer default ip address pool kuaiji
ppp authentication pap
group-range 33 40
!
ip local pool kuaiji 144.36.61.240 144.36.61.247
ip classless
ip http server
ip pim bidir-enable
!
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
line con 0
line 33 40
modem InOut
modem autoconfigure discovery
transport input all
autoselect ppp
stopbits 1
speed 57600
flowcontrol hardware
line aux 0
line vty 0 4
!
!
end



这个是现在的配置

对了,那个speed怎么老是在跳啊

------------------------------------------------------------------------------

1.Router(config-if)#ppp authentication pap
AAA: Warning, authentication list "default" is not defined for PPP.

这个问题解决了


但是用户名和密码验证的问题还是存在


show run 3次,看到的speed都是不一样的。

show line3次,看到的 38 TTY 19200/19200 - inout - - - 0 72 0/0 Se1/

也是不一样的
--------------------------------------------------------------------------------
情况依旧

Router#show run
Building configuration...

Current configuration : 1117 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
logging buffered 4096 debugging
aaa new-model
!
!
aaa authentication login default local group tacacs+
aaa authentication ppp default local group tacacs+
aaa session-id common
!
username 666 password 0 777
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 144.36.61.252 255.255.255.0
duplex auto
speed auto
!
interface Group-Async1
physical-layer async
ip unnumbered FastEthernet0/1
encapsulation ppp
ip tcp header-compression passive
async mode dedicated
peer default ip address pool kuaiji
ppp authentication pap callin
group-range 33 40
!
ip local pool kuaiji 144.36.61.240 144.36.61.247
ip classless
ip http server
ip pim bidir-enable
!
!
access-list 1 permit any
dialer-list 1 protocol ip permit
!
line con 0
line 33 40
modem InOut
modem autoconfigure discovery
transport input all
autoselect ppp
stopbits 1
speed 38400
flowcontrol hardware
line aux 0
line vty 0 4
!
!
end





Router#show line
Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
* 0 CTY - - - - - 0 0 0/0 -
* 33 TTY 1200/1200 - inout - - - 0 61 0/3 Se1/0
* 34 TTY 9600/9600 - inout - - - 0 0 0/0 Se1/1
* 35 TTY 9600/9600 - inout - - - 0 0 0/0 Se1/2
* 36 TTY 9600/9600 - inout - - - 0 0 0/0 Se1/3
* 37 TTY 9600/9600 - inout - - - 0 0 0/0 Se1/4
* 38 TTY 9600/9600 - inout - - - 0 0 0/0 Se1/5
* 39 TTY 1200/1200 - inout - - - 0 0 0/0 Se1/6
* 40 TTY 9600/9600 - inout - - - 0 0 0/0 Se1/7


Router#debug ppp neg
PPP protocol negotiation debugging is on



Route#show interface


Group-Async1 is down, line protocol is down
Hardware is Async Group Serial
Interface is unnumbered. Using address of FastEthernet0/1 (144.36.61.252)
MTU 1500 bytes, BW 1000 Kbit, DLY 100000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
DTR is pulsed for 5 seconds on reset
LCP Closed
Closed: BRIDGECP, IPCP, CCP, CDPCP, LLC2, BACP
Last input never, output never, output hang never
Last clearing of "show interface" counters 00:11:11
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/0/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
Available Bandwidth 750 kilobits/sec
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





---------------------------------------------------------------------------------------------

问题终于解决了,解决过程如下


配置:


Router#show run
Building configuration...

Current configuration : 1097 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
no logging buffered
enable secret 5 $1$kA70$AwamhrPrOuijeQH98DH4R1
!
username cisco password 0 kuaiji
ip subnet-zero
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 144.36.61.252 255.255.255.0
duplex auto
speed auto
!
interface Group-Async1
physical-layer async
ip unnumbered FastEthernet0/1
encapsulation ppp
dialer in-band
dialer idle-timeout 500
async default routing
async mode interactive
peer default ip address pool kuaiji
ppp authentication pap callin
group-range 33 40
!
ip local pool kuaiji 144.36.61.240 144.36.61.247
ip classless
ip route 0.0.0.0 0.0.0.0 144.36.61.253
no ip http server
ip pim bidir-enable
!
!
!
line con 0
line 33 40
login local
modem InOut
modem autoconfigure discovery
autocommand ppp
transport input all
autoselect during-login
autoselect ppp
speed 57600
flowcontrol hardware
line aux 0
line vty 0 4
password kuaiji
login
!
!
end






首先要debug ppp neg
loggin buffered

show loggin后如果能看到lcp的信息,这次我是在能看到LCP的信息后,还是同样的现象,在用户名和密码卡住了,然后修改了

async mode de

async mode interactive
然后就可以了


不过有些线路拨不上来,有些可以,但原来有些可以拨不上来的线路有时候也是可以的。

posted on 2005-05-26 16:49  cunshen  阅读(1347)  评论(0)    收藏  举报