华为路由器和思科路由器之间用PPP协议连接问题.
思科路由器配置:shenzhen#show run
Building configuration...
Current configuration : 1173 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname shenzhen
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$eQZO$7zS8cwgFqjJHFNdUuJDnF1
enable password 7 0142535C
!
no aaa new-model
ip subnet-zero
!
username 158 password 7 055A5357
!
!
!
interface Ethernet0
ip address 192.192.197.254 255.255.255.0
no cdp enable
!
interface Ethernet1
no ip address
shutdown
no cdp enable
!
interface Serial0
ip unnumbered Ethernet0
encapsulation ppp
no fair-queue
no cdp enable
ppp authentication pap
ppp pap sent-username 158 password 7 1248504F
!
interface Serial1
no ip address
shutdown
no cdp enable
!
no ip http server
ip classless
ip route 192.168.1.0 255.255.255.0 192.168.1.10
ip route 192.168.2.0 255.255.255.0 192.168.1.10
ip route 192.168.3.0 255.255.255.0 192.168.1.10
ip route 192.168.168.0 255.255.255.0 Serial0
ip route 192.192.192.0 255.255.255.0 Serial0
ip route 192.192.193.0 255.255.255.0 Serial0
!
!
no cdp run
!
banner motd ^C
please don't to do!^C
!
line con 0
exec-timeout 10 5
password 7 0142535C
login
line aux 0
line vty 0 4
password 7 15435E54
login
!
end
shenzhen#
华为路由器配置:
disp cu
Now create configuration...
Current configuration
!
version 1.74
local-user user service-type ppp
local-user 158 service-type administrator password cipher .I)C`9XC9NO-JEXJQ<
%DJQ!!
sysname shenzhen
info-center console
firewall enable
aaa-enable
aaa accounting-scheme optional
!
interface Aux0
async mode flow
link-protocol ppp
!
interface Ethernet0
ip address 192.192.197.254 255.255.255.0
!
interface Ethernet1
!
interface Serial0
clock DTECLK1
undo detect DSR-DTR
link-protocol ppp
ip address unnumbered Ethernet0
!
interface Serial1
link-protocol ppp
!
quit
ip route-static 192.168.1.0 255.255.255.0 192.168.1.10 preference 60
ip route-static 192.168.2.0 255.255.255.0 192.168.1.10 preference 60
ip route-static 192.168.3.0 255.255.255.0 192.168.1.10 preference 60
ip route-static 192.168.168.0 255.255.255.0 Serial 0 preference 60
ip route-static 192.192.192.0 255.255.255.0 Serial 0 preference 60
ip route-static 192.192.193.0 255.255.255.0 Serial 0 preference 60
!
return
这两个中有什么不对的吗?我把华为的路由器换成思科的路由器,却于对方无法连接.
回复 #1 shzhs 的帖子
你的华为S口根本没配认证看不懂这台华为到底是做认证的,还是被认证的(发起认证请求) 谢谢~还有能给讲的更清楚一点的吗?
回复 #1 shzhs 的帖子
去掉这两条ppp authentication pap
ppp pap sent-username 158 password 7 1248504F
页:
[1]