




已阅读5页,还剩31页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
配置PPP ISSUE1 0 日期 杭州华三通信技术有限公司版权所有 未经授权不得使用与传播 广域网协议需要适应多变的链路类型 并提供一定的安全特性PPP支持同异步线路 能够提供验证 并且易于扩展 引入 掌握PPP协议的原理和特点掌握PPP协议的协商过程掌握PPP协议两种验证方式掌握PPP协议的配置掌握PPPMP的实现及配置熟悉PPP协议的维护命令及方法 课程目标 学习完本课程 您应该能够 PPP概述PPP会话PPP验证配置PPPPPPMPPPP显示与调试 目录 PPP基本概念 PPP协议支持同步和异步线路PPP协议支持验证和地址协商 同步 异步专线 接入服务器 PPP PSTN ISDN PSTN ISDN PPP PPP PPP PPP PPP PPP的特点 可以工作在同异步方式下能够控制数据链路的建立支持验证 更加安全可同时支持多种网络层协议可以对网络层地址进行协商 能够远程分配IP地址无重传机制 网络开销小 PPP协议的组成 PPP 物理层 网络层 链路层 PPP协议主要由LCP NCP以及用于网络安全的可选验证协议族组成 PPP概述PPP会话PPP验证配置PPPPPPMPPPP显示与调试 目录 PPP会话建立过程 PSTN ISDN PPP链路 链路的建立和配置协调阶段 可选的验证阶段 选择PAP或者CHAP 网络层协议配置协商阶段 PPP会话流程 Dead阶段 Establish阶段 Network阶段 Authenticate阶段 Terminate阶段 关闭 验证失败 LCPOpened 验证通过或无验证 链路建立失败 Down 底层up PPP概述PPP会话PPP验证配置PPPPPPMPPPP显示与调试 目录 PAP验证 用户名 密码 通过 拒绝 被验证方首先发起验证请求 两次握手验证密码以明文传送 被验证方 主验证方 用户列表 CHAP验证 主机名 加密后报文 通过 拒绝 主机名 随机报文 被验证方 主验证方 主验证方首先发起验证请求 三次握手验证不发送密码 安全性比PAP高 用户列表 PPP验证对比 PAP是两次握手 CHAP是三次握手PAP密码以明文方式在链路上发送 缺乏安全性CHAP只在网络上传输用户名 而并不传输用户密码PAP和CHAP都支持双向身份验证 PPP概述PPP会话PPP验证配置PPPPPPMPPPP显示与调试 目录 PPP基本配置 设置接口报文的封装PPP设置验证类型设置用户名 密码 服务类型 Router Serial1 0 link protocolPPP Router Serial1 0 pppauthentication mode pap chap Router local username Router luser name passwordsimplepassword Router luser name service typeppp 配置PAP验证 主验证方 配置用户列表以及验证方式被验证方 配置PAP用户名 Router local username Router luser name passwordsimplepassword Router luser name service typeppp Router Serial1 0 pppauthentication mode pap chap Router Serial1 0 ppppaplocal userusernamepassword cipher simple password 配置CHAP验证 配置本地验证对端方式为CHAP配置本地名称将对端用户名和密码加入本地用户列配置本地名称和密码 Router local username Router luser name passwordsimplepassword Router luser name service typeppp 被验证方配置 主验证方配置 Router Serial1 0 pppauthentication modechap Router Serial1 0 pppchapuserusername Router Serial1 0 pppchapuserusername Router Serial1 0 pppchappassword cipher simple password PAP验证配置示例 local userrouterapasswordsimplehelloservice typepppinterfaceserial1 0pppauthentication modepap interfaceserial1 0ppppaplocal userrouterapasswordsimplehello CHAP验证配置示例一 local userrouterapasswordsimplehelloservice typepppinterfaceserial1 0pppauthentication modechappppchapuserrouterb local userrouterbpasswordsimplehelloservice typepppinterfaceserial1 0pppchapuserroutera 被验证方使用本地用户及密码进行验证 CHAP验证配置示例二 local userrouterapasswordsimplehelloservice typepppinterfaceserial1 0pppauthentication modechap interfaceserial1 0pppchapuserrouterapppchappasswordsimplehello 被验证方使用默认CHAP密码进行验证 PPP概述PPP会话PPP验证配置PPPPPPMPPPP显示与调试 目录 PPPMP简介 MP MultilinkPPP 将多个PPP链路捆绑后当作一条链路使用MP可以实现增加带宽 负载分担 链路备份以及降低报文时延的目的 PPPMP实现方式 一种是通过配置虚拟模板接口 Virtual Template VT 来实现MP可利用用户名确定捆绑一个VT接口可派生多个捆绑一种是利用MP Group接口实现MPMp Group是MP专用接口 一个MP group只能对应一个绑定 虚拟模板方式配置PPPMP 创建虚拟模板接口将物理接口或用户名与虚拟模板接口关联将物理接口与虚拟模板接口关联将用户名与虚拟模板接口关联 Router interfacevirtual templatenumber Router Serial1 0 pppmpvirtual templatenumber Router pppmpuserusernamebindvirtual templatenumber Router Serial1 0 pppmp Router Virtual Template1 pppmpbindingauthentication MP Group方式配置PPPMP 创建MP Group接口加入MP Group组 Router interfacemp groupmp number Router interface pppmpmp groupmp number PPPMP配置示例一 将物理接口与虚拟模板接口关联 PPPMP Serial2 0 RTA RTB Serial2 1 Serial2 1 Serial2 0 RTA interfacevirtual template1 RTA Virtual Template1 ipaddress1 1 1 124 RTA interfaceserial2 0 RTA Serial2 0 pppmpvirtual template1 RTA interfaceserial2 1 RTA Serial2 0 pppmpvirtual template1 RTB interfacevirtual template1 RTB Virtual Template1 ipaddress1 1 1 224 RTB interfaceserial2 0 RTB Serial2 0 pppmpvirtual template1 RTB interfaceserial2 1 RTB Serial2 0 pppmpvirtual template1 PPPMP配置示例二 将用户名与虚拟模板接口关联 PPPMP Serial2 0 RTA RTB Serial2 1 Serial2 1 Serial2 0 RTA local userrtb RTA luser rtb passwordsimplertb RTA luser rtb service typeppp RTA pppmpuserrtbbindvirtual template1 RTA interfacevirtual template1 RTA Virtual Template1 ipaddress1 1 1 124 RTA Virtual Template1 pppmpbindingauthentication RTA interfaceserial2 0 RTA Serial2 0 link protocolppp RTA Serial2 0 pppauthentication modepapdomainsystem RTA Serial2 0 ppppaplocal userrtapasswordsimplerta RTA Serial2 0 pppmp RTA interfaceserial2 1 RTA domainsystem RTA isp system authenticationppplocal RTA isp system quit PPPMP配置示例二 续 将用户名与虚拟模板接口关联 PPPMP Serial2 0 RTA RTB Serial2 1 Serial2 1 Serial2 0 RTB local userrta RTB luser rta passwordsimplerta RTB luser rta service typeppp RTB pppmpuserrtabindvirtual template1 RTB interfacevirtual template1 RTB Virtual Template1 ipaddress1 1 1 224 RTB Virtual Template1 pppmpbindingauthentication RTB interfaceserial2 0 RTB Serial2 0 link protocolppp RTB Serial2 0 pppauthentication modepapdomainsystem RTB Serial2 0 ppppaplocal userrtbpasswordsimplertb RTB Serial2 0 pppmp RTB interfaceserial2 1 RTB domainsystem RTB isp system authenticationppplocal RTB isp system quit PPPMP配置示例三 MP Group方式配置 PPPMP Serial2 0 RTA RTB Serial2 1 Serial2 1 Serial2 0 RTA interfacemp group1 RTA Mp group1 ipaddress1 1 1 124 RTA Mp group1 interfaceSerial2 0 RTA Serial2 0 pppmpmp group1 RTA Mp group1 interfaceSerial2 1 RTA Serial2 1 pppmpmp group1 RTB interfacemp group1 RTB Mp group1 ipaddress1 1 1 224 RTB Mp group1 interfaceSerial2 0 RTB Serial2 0 pppmpmp group1 RTB Mp group1 interfaceSerial2 1 RTB Serial2 1 pppmpmp group1 PPP概述PPP会话PPP验证配置PPPPPPMPPPP显示与调试 目录 PPP显示与调试 显示接口的PPP配置和运行状态查看已创建的MP Group接口的状态信息显示指定MP接口的接口信息和统计信息显示PPP验证的本地用户查看PPP的调试信息 Router displayinterfaceinterface name Router displayinterfacemp group mp number Router displaypppmp interfaceinterface typeinterface number Router displayuser debuggingpppall 用displayinterface命令显示接口信息 物理接口UP PPP协议UP LCP和IPCP状态为opened Router displayinterfaceserial0 0Serial0 0currentstate UPLineprotocolcurrentstate UPDescription Serial0 0InterfaceTheMaximumTransmitUnitis1500 Holdtimeris10 sec InternetAddressis10 1 1 1 30PrimaryLinklayerprotocolisPPPLCPopened IPCPopenedOutputqueue Urgentqueuing Size Length Discards 0 50 0Outputqueue Protocolqueuing Size Length Discards 0 500 0Outputqueue FIFOqueuing Size Length Discards 0 75 0Physicallayerissynchronous Baudrateis2048000bpsInterfaceisDCE CabletypeisV35 ClockmodeisDCECLKLastclearingofcounters NeverLast300secondsinputrate24 94bytes sec 199bits sec 0 53packets secLast300secondsoutputrate16 41bytes sec 131bits sec 0 46packets secInput 3008packets 118689bytes0broadcasts 0multicasts0errors 0runts 0giants0CRC 0alignerrors 0overruns0dribbles 0aborts 0nobuffers0frameerrorsOutput 8369packets 226844bytes0errors 0underruns 0collisions0deferredDCD UPDTR UPDSR UPRTS UPCTS UP 用debuggingpppall命令调试PPP Router debuggingpppall Oct918 08 24 6122008QuidwayPHY 2 PHY Serial1 0 changestatustoup 0 118094613QuidwayPPP 8 debug2 PPPEvent Serial1 0LCPOpenEventstateinitial 0 118094613QuidwayPPP 8 debug2 PPPStateChange Serial1 0LCP initial starting 0 118094613QuidwayPPP 8 debug2 PPPEvent Serial1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 能源转型新引擎:2025年储能技术多元化发展模式与格局解读报告
- 餐饮业食品安全监管区域联动机制:2025年构建与实施报告
- 美育营销活动方案
- 童装年底活动方案
- 组织畅游洛阳活动方案
- 电缆商会活动方案
- 美容院脱毛活动方案
- 线下正面管教活动方案
- 福建培训活动方案
- 社工乡村活动方案
- 航模课件教学课件
- 看守所巡控岗位课件
- 2025秋冀人版(2024)科学二年级上册教学计划、教学设计(附目录)
- 第十四章 全等三角形 单元测试(含部分解析) 2025-2026学年人教版八年级数学上册
- 2025年中式烹调师(技师)考试题库及答案
- (高清版)DBJ∕T 13-91-2025 《福建省房屋市政工程安全风险分级管控与隐患排查治理标准》
- 2025年消防员招录面试题库及答案
- 小儿疱疹性咽峡炎护理查房
- 初中英语新人教版八年级上册全册单词(2025秋)
- 支气管扩张伴咯血的护理
- 村居法律明白人培训课件
评论
0/150
提交评论