注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 小五思科技术学习笔记之SSH
 帮助

CISCO路由器CHAP认证配置


2007-11-28 10:14:19
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://lgzeng2360.blog.51cto.com/275998/52534
在配置PPP验证时有PAP和CHAP的选择,其中PAP为明文传送用户名和口令,不安全。而CHAP则采用哈希值进行验证,口令不会在网上传送,所以安全性比较高。
CHAP认证也是CCNA课程PPP教学时所需掌握的基本配置,其配置如下:
 
拓扑: RA DTE--------DCE RB
--------------------------------------
RA#conf t
RA(config)#username RB password hello
RA(config)#int s0
RA(config-if)#encap ppp
RA(config-if)#ppp au chap
RA(config-if)#end
-------------------------------
Router(config)#host RB
RB(config)#username RA password hello
RB(config)#int s0
RB(config-if)#encap ppp
RB(config-if)#ppp auth chap
%LINK-3-UPDOWN: Interface Serial0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
------------------------------------------------------
RA#sh int s0
Serial0 is up, line protocol is up              -------第一层二层UP
  Hardware is HD64570
  Internet address is 1.1.1.1/30
  MTU 1500 bytes, BW 1544 Kbit, DLY 1000 usec, rely 255/255, load 1/255
  Encapsulation PPP, loopback not set, keepalive set (10 sec)
  LCP Open                                      -----------打开
  Open: IPCP, CDPCP                             -----------打开
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of show interface counters never
  Queueing strategy: fifo

本文出自 “lgzeng” 博客,请务必保留此出处http://lgzeng2360.blog.51cto.com/275998/52534





    文章评论
 
2007-11-28 16:11:23
恩 很实用的配置

2007-11-28 22:25:07
在配置PPP验证时有PAP和CHAP的选择,其中PAP为明文传送用户名和口令,不安全。而CHAP则采用哈希值进行验证,口令不会在网上传送,所以安全性比较高
留下

2008-01-30 15:27:22
thanks a lots !

2008-03-15 17:30:12
细看了一遍,使我加深了对PPP的理解与掌握。

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: