闫辉 发表于 2020-12-14 17:11:29

思科PPP实验



https://upload-images.jianshu.io/upload_images/24325874-7e4eb4ac4a2caaf7.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


进入R1配置地址,将接口类型改为PPP
https://upload-images.jianshu.io/upload_images/24325874-8d7a5725bfc389d2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


进入R2配置地址,将接口类型改为PPP
https://upload-images.jianshu.io/upload_images/24325874-341b3f1b9dc2d83c.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


查看一下接口信息
https://upload-images.jianshu.io/upload_images/24325874-00047411e6e7c373.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


当前使用的是PPP协议,LCP状态为Open,使用的是IPCP CDPCP配置单向认证,R1为主认证,R2为被认证方
https://upload-images.jianshu.io/upload_images/24325874-777e9369b70257b8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


R1(config)#username admin password cisco设置本地认证数据库的 用户名和密码R1(config)#int s1/0R1(config-if)#ppp authentication pap在接口声明启用PAP认证R1配置完以后,R2会提示接口ShutDown,因为两端协商失败,对方没有用户及密码。
https://upload-images.jianshu.io/upload_images/24325874-dfe096ec148858e1.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


R2进入接口配置用户名及密码。查看现在接口的状态。
https://upload-images.jianshu.io/upload_images/24325874-26ccc741eb0dadfb.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240


上面为PAP已经做完单向认证chap实验同上,这是把更改认证命令改一下ppp authentication chap
页: [1]
查看完整版本: 思科PPP实验