华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置

上传人:QQ15****706 文档编号:98920943 上传时间:2019-09-15 格式:PPT 页数:32 大小:1.11MB
返回 下载 相关 举报
华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置_第1页
第1页 / 共32页
华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置_第2页
第2页 / 共32页
华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置_第3页
第3页 / 共32页
华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置_第4页
第4页 / 共32页
华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置_第5页
第5页 / 共32页
点击查看更多>>
资源描述

《华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置》由会员分享,可在线阅读,更多相关《华为技术培训资料-DTL110004 PPP协议和PPPoE协议配置(32页珍藏版)》请在金锄头文库上搜索。

1、DTL110004 PPP协议和PPPoE协议配置,ISSUE 1.0,Page 2,参考资料,VRP 3.3 操作手册的接口操作 VRP 3.3 命令手册的接口命令 VRP 5.1 操作手册 接入分册 VRP 5.1 命令手册的接入命令,Page 3,学习完此课程,您将会: 掌握PPP的配置方法 掌握PPPoE的配置方法,目 标,Page 4,第1章 PPP的配置 第2章 PPPoE的配置,内容介绍,Page 5,PPP配置命令,封装PPP,接口视图下 link-protocol ppp 设置验证对端的验证类型,接口视图下 ppp authentication-mode pap | chap

2、 设置用户名、口令,系统视图或AAA视图下 local-user username password simple | cipher password,Page 6,PAP配置命令,验证方配置 配置验证方式 ppp authentication-mode pap 将对端用户名和密码加入本地用户列表 local-user username password simple | cipher password 被验证方配置 配置PAP用户名和密码,在接口视图下 ppp pap local-user username password simple | cipher password 注意:验证方与被

3、验证方的用户名、密码要一致。,Page 7,CHAP配置命令,主验证方配置: 配置验证方式 ppp authentication-mode chap 将对端用户名和密码加入本地用户列表 local-user username password simple | cipher password 被验证方配置: 配置CHAP用户名和密码,在接口视图下 ppp chap user username ppp chap password simple | cipher password 注意:验证方与被验证方的用户名、密码要一致。,单向验证,Page 8,CHAP配置命令,路由器一的配置: ppp au

4、thentication-mode chap ppp chap user 路由器一的名字 local-user 路由器二的名字 password simple | cipher password 路由器二的配置: ppp authentication-mode chap ppp chap user 路由器二的名字 local-user 路由器一的名字 password simple | cipher password 注意:两端的Password要一致。,双向验证,Page 9,PAP验证举例,验证方,被验证方,rta,rtb,PAP 验证,s0,s0,rta-aaalocal-user rt

5、b password simple hello rtainterface serial 0 rta-Serial0ip address 10.1.1.1 30 rta-Serial0ppp authentication-mode pap rtbinterface serial 0 rtb-Serial0ip address 10.1.1.2 30 rtb-Serial0ppp pap local-user rtb password simple hello,VRP 5.1版本命令,Page 10,CHAP单向验证举例,验证方,被验证方,rta,rtb,CHAP 验证,s0,s0,rta-aaa

6、local-user rtb password simple hello rtainterface serial 0 rta-Serial0ip address 10.1.1.1 30 rta-Serial0ppp authentication-mode chap rtbinterface serial 0 rtb-Serial0ip address 10.1.1.2 30 rtb-Serial0ppp chap user rtb rtb-Serial0ppp chap password simple hello,VRP 5.1版本命令,Page 11,CHAP双向验证举例,rta,rtb,C

7、HAP 双向验证,s0,s0,rta-aaalocal-user rtb password simple hello rtainterface serial 0 rta-Serial0ip address 10.1.1.1 30 rta-Serial0ppp chap user rta rta-Serial0ppp authentication-mode chap rtb-aaalocal-user rta password simple hello rtbinterface serial 0 rtb-Serial0ip address 10.1.1.2 30 rtb-Serial0ppp c

8、hap user rtb rtb-Serial0ppp authentication-mode chap,VRP 5.1版本命令,Page 12,PPP的监控与维护,操作,命令,显示PPP验证的本地用户,display local-user,显示接口的配置和PPP的状态,display interface interface-name,VRP 5.1版本命令,Page 13,PPP故障的诊断与排除,故障之一:物理链路不能转为Up状态 检查物理线缆是否有问题 接口是否激活 故障之二:链路协议始终不能转为Up状态 检查接口配置参数是否正确,比如链路协议是否都配置为PPP 检查PPP是否启用了验证,

9、验证参数配置是否正确,Page 14,第1章 PPP的配置 第2章 PPPoE的配置,内容介绍,Page 15,配置PPPoE示例,组网图,主机Host使用PPPoE协议,通过路由器Router接入到Internet。路由器Router通过接口GE1/0/0连接Host,通过接口POS2/0/0连接Internet。,Internet,GE1/0/0,Host,Host,Router,.,POS2/0/0,Page 16,基本配置,命令行版本:VRP(R) software, Version 3.30, Release 0008 创建并配置虚拟接口模板 system-view Router i

10、nterface virtual-template 1 Router-Virtual-Template1 ip address 192.168.1.1 255.255.255.0 配置虚拟接口模板的验证方式为CHAP Router-Virtual-Template1 ppp authentication-mode chap 配置为对端接口分配IP地址时使用的地址池,此处使用1号地址池 Router-Virtual-Template1 remote address pool 1,Page 17,基本配置,增加一个PPPoE用户,用户名为“huawei” Router local-user hua

11、wei password simple hello 配置编号为1的地址池 Router ip pool 1 192.168.1.2 192.168.1.254 在路由器Router上配置PPPoE Router interface gigabitethernet 1/0/0 Router-GigabitEthernet1/0/0 pppoe-server bind Virtual-Template 1,Page 18,为Host分配DNS等参数,创建一个dhcp server的ip-pool组 Router dhcp server ip-pool huawei 网段要覆盖刚才配置过的地址池 R

12、outer-dhcp-pool-huawei network 192.168.1.0 mask 255.255.255.0 配置DNS服务器 Router-dhcp-pool-huawei dns-list 202.112.56.1,Page 19,客户端设置(一),以Windows XP操作系统为例。点击“开始”,选择“控制面板”,出现:,点击此处,点击“网络和Internet连接”,Page 20,客户端设置(二),出现:,点击此处,点击“网络连接”,Page 21,客户端设置(三),出现:,点击此处,点击“创建一个新的连接”,Page 22,客户端设置(四),出现:,点击“下一步”,Pa

13、ge 23,客户端设置(五),出现:,选择“连接到 Internet(C)”,点击“下一步”,Page 24,客户端设置(六),出现:,选择“手动设置我的连接(M)”,点击“下一步”,Page 25,客户端设置(七),出现:,选择“用要求用户名和密码的宽带连接来连接(U)”,点击“下一步”,Page 26,客户端设置(八),出现:,输入ISP名称,例如“test”。点击“下一步”,Page 27,客户端设置(九),出现:,选择此帐户的使用范围。点击“下一步”,Page 28,客户端设置(十),出现:,输入用户名和密码,此处要与路由器端设置一致。点击“下一步”,Page 29,客户端设置(十一),出现:,点击“完成”。,Page 30,客户端进行PPPoE拨号,注:其它操作系统需要专门的拨号软件,请参考相关资料,点击此处进行拨号,Page 31,小结,本节课程讲述了PPP的基本配置,以及PAP、CHAP验证协议的配置。另外,还讲述了与PPP协议相关的PPPoE协议的配置。,

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 其它办公文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号