全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
PPP chap 认证描叙:CHAP认证要求router1和router2都要输入认证用户和密码Router1:Router(config)#Router(config)#Router(config)#ho router1router1(config)#line 0router1(config-line)#logg srouter1(config-line)#router1(config-line)#exec-t 0router1(config)#router1(config)#int s0/0router1(config-if)#no shrouter1(config-if)#router1(config-if)#*Mar 1 00:02:04.923: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up*Mar 1 00:02:05.923: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to uprouter1(config-if)#ip add 1.1.1.1 255.255.255.0router1(config-if)#no shrouter1(config-if)#encapsulation ppp /封装PPP协议router1(config-if)#*Mar 1 00:03:43.439: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to downrouter1(config-if)#router1(config)#username router1 password 0 123 /用户和认证密码router1(config)#router1(config)#router1(config)#router1(config)#int s0/0router1(config-if)#ppp authentication chap /启用chap认证router1(config-if)#ppp chap horouter1(config-if)#ppp chap hostname r1 /认证用的用户不用router1用手动配置的(给对方认证用的用户名)router1(config-if)#router1(config-if)#router1(config-if)#peer default ip add 1.1.1.10 /给对方分配的IP地址router1(config)#router1(config)#username r2 password 0 123 /认证用户和密码router1(config)#*Mar 1 01:47:46.235: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to uprouter1(config)#router2:Router(config)#ho router2router2(config)#line 0router2(config-line)#logg srouter2(config-line)#exec-t 0router2(config-line)#router2(config-line)#router2(config-line)#exitrouter2(config)#router2(config)#router2(config)#router2(config)#int s0/0router2(config-if)#no shrouter2(config-if)#*Mar 1 00:01:37.355: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up*Mar 1 00:01:38.355: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to uprouter2(config-if)#*Mar 1 00:02:03.219: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to downrouter2(config-if)#*Mar 1 00:02:13.219: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to uprouter2(config-if)#*Mar 1 00:04:03.239: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to downrouter2(config-if)#router2(config-if)#exitrouter2(config)#router2(config)#userrouter2(config)#username router2 parouter2(config)#username router2 password 0 123 /认证用户名和密码router2(config)#int s0/0router2(config-if)#ip add negotiated /获取地址router2(config-if)#encapsulation ppp /封装PPP协议router2(config-if)#ppp authentication chap /启用CHAP认证router2(config-if)#router2(config-if)#ppp chap horouter2(config-if)#ppp chap hostname r2 /CHAP认证的用户名router2(config-if)#router2(config-if)#exitrouter2(config)#userrouter2(config)#username r1 parouter2(config)#username r1 password 0 123 /输入用户名和密码router2(config)#*Mar 1 01:47:46.251: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to uprouter2(config)#do sho ip int bInterface IP-Address OK? Method Status ProtocolSerial0/0 1.1.1.10 YES IPCP up up Serial0/1 unassigned YES unset administratively down down
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 村级小市场管理制度(3篇)
- 现代种业园区管理制度(3篇)
- 疫情期间员工工作管理制度(3篇)
- 管理制度方法和技巧论文(3篇)
- 观光农场常态化管理制度(3篇)
- 酒店前台经理员工管理制度(3篇)
- 长沙无人机管理制度(3篇)
- 纳税风险管控培训课件
- 《GAT 1054.7-2017公安数据元限定词(7)》专题研究报告
- 养老院护理服务质量规范制度
- 大数据安全技术与管理
- 2026青岛海发国有资本投资运营集团有限公司招聘计划笔试备考试题及答案解析
- 2026年中小学校长校园安全管理培训考试题及答案
- 2025年山东建筑大学思想道德修养与法律基础期末考试模拟题必考题
- 江西省赣州地区2023-2024学年七年级上学期期末英语试(含答案)
- 2025年香港沪江维多利亚笔试及答案
- 鼻饲技术操作课件
- 2025租房合同范本下载(可直接打印)
- 《陆上风电场工程概算定额》NBT 31010-2019
- 抖音取消实名认证申请书
- 非煤矿山安全生产责任制考核表
评论
0/150
提交评论