全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
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. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2025-2026学年基础乐理知识教学目标设计
- 2025-2026学年教学设计交流与评价
- 2026年山东省邹城市高考物理一模考试卷及参考答案详解(巩固)
- 2025年辽宁省庄河市高考物理周测试卷含答案详解(满分必刷)
- 2026年四川省简阳市高考物理一模试卷附答案详解(综合卷)
- 2026年江西省高安市高考物理三轮冲刺考试卷附答案详解【突破训练】
- 2026年贵州省清镇市高考物理二模测试卷含答案详解(夺分金卷)
- 基坑周边建筑物防护方案
- 2025年湖南省涟源市高考物理模拟预测试卷及参考答案详解(模拟题)
- 2026年江苏省新沂市高考物理自主招生试卷完整答案详解
- 江苏省苏州市2025-2026学年六年级下学期数学期末试题一(试卷+答案)
- 【重庆专用】期末模拟卷(一)- 2025-2026学年八年级语文下学期同步备考模拟卷(统编版)(原卷版)
- 电力施工三防十要安全培训课件
- 餐饮服务流程标准化及员工培训教材
- 广东2026年第一期物业管理师职业技能等级认定(技能实操) 试题解析及核心考点
- 2026建投河北热力有限公司公开招聘12人笔试参考题库及答案详解
- 2026重庆市属事业单位第二季度公开招聘工作人员442人考试参考题库及答案解析
- 高频面试问题+答案(职场+各行业专属2026)
- 2026年上海闵行区中考二模语文模拟试卷试题(含答案详解)
- PLC、组态控制十字路口交通灯毕业设计
- GA 1029-2017机动车驾驶人考试场地及其设施设置规范
评论
0/150
提交评论