华为ensp:ppp+CHAP认证

编程入门 行业动态 更新时间:2024-10-25 15:34:10

<a href=https://www.elefans.com/category/jswz/34/1769368.html style=华为ensp:ppp+CHAP认证"/>

华为ensp:ppp+CHAP认证


如果一头开启了认证,如果对面没有输入认证则双方无法通信


开启ppp

r1和r2在系统视图模式进行同样的操作 

interface Serial 1/0/0
link-protocol ppp
quit

开启ppp


R1

去r1设置chap认证用户和密钥  进入系统视图

interface Serial 1/0/0
ppp authentication-mode chap
quit
aaa
local-user shanghai password cipher shanghai123

设置的用户名为:shanghai  密码为shanghai123

local-user shanghai service-type PPP
quit
interface Serial 1/0/0
shutdown
undo shutdown

现在就设置好了,现在即使是直连的设备没有进行chap也无法通信


R2

去r2进行认证

interface Serial 1/0/0
ppp chap user shanghai
ppp chap password cipher shanghai123
shutdown
undo shutdown

现在认证完就可以正常通信了,如果想要更加安全可以相互做chap

更多推荐

华为ensp:ppp+CHAP认证

本文发布于:2023-11-15 05:29:10,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1594480.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:华为   ensp   CHAP   ppp

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!