PPP配置过程.docx

上传人:牧羊曲112 文档编号:3164112 上传时间:2023-03-11 格式:DOCX 页数:2 大小:36.43KB
返回 下载 相关 举报
PPP配置过程.docx_第1页
第1页 / 共2页
PPP配置过程.docx_第2页
第2页 / 共2页
亲,该文档总共2页,全部预览完了,如果喜欢就下载吧!
资源描述

《PPP配置过程.docx》由会员分享,可在线阅读,更多相关《PPP配置过程.docx(2页珍藏版)》请在三一办公上搜索。

1、PPP配置过程PPP配置过程:(CHAP) 配置发送方: Routerena Router#config t Router(config)#hostname r1 R1(config)#int fa0/0 R1(config-if)#ip add 192.168.1.1 255.255.255.0 R1(config-if)#no sh R1(config-if)#exit R1(config)#int s0/0/0 R1(config-if)#ip add 192.168.3.2 255.255.255.0 R1(config-if)#encapsulation ppp R1(config-

2、if)#ppp authentication chap R1(config-if)#clock rate 56000 R1(config-if)#no sh R1(config-if)#exit R1(config)#username r2 password 111111 R1(config)#ip route 192.168.2.0 255.255.255.0 192.168.3.3 R1(config)#exit 配置接收方: Routerena Router#config t Router(config)#hostname r2 R2(config)#int fa0/0 R2(confi

3、g-if)#ip add 192.168.2.1 255.255.255.0 R2(config-if)#no sh R2(config-if)#exit R2(config)#int s0/0/0 R2(config-if)#ip add 192.168.3.3 255.255.255.0 R2(config-if)#encapsulation ppp R2(config-if)#ppp authentication chap R1(config-if)#no sh R1(config-if)#exit R1(config)#username r1 password 111111 R1(co

4、nfig)#ip route 192.168.1.0 255.255.255.0 192.168.3.2 R1(config)#exit 配置PPP DCE设备端PPP封装之PAP验证设置 RouterA# configure terminal RouterA(config)# username RouterB password 111 RouterA(config)# interface serial 0/0/0 RouterA(config-if)# encapsulation ppp RouterA(config-if)# ppp authentication pap RouterA(c

5、onfig-if)# ppp pap sent-username routera password 222 RouterA(config-if)# clock rate 56000 RouterA(config-if)# exit 8、DTE设备端PPP封装之PAP验证设置 RouterB# configure terminal RouterB(config)# username routera password 222 RouterB(config)# interface serial 0/0/0 RouterB(config-if)# encapsulation ppp RouterB(config-if)# ppp authentication pap RouterB(config-if)# ppp pap sent-username routerb password 111 RouterB(config-if)# exit 利用show run 命令查看串口配置

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号