标签:密码 应用 png width chap 账号密码 add mode aaa认证
华为PPP认证:pap和chap双向认证配置
R1 [R1-aaa]int s0/0/0 [R1-Serial0/0/0]link-protocol ppp [Huawei-Serial0/0/0]ip add 192.168.1.1 24 R2 [Huawei]int s0/0/1 [Huawei-Serial0/0/1]link-protocol ppp [Huawei-Serial0/0/1]ip add 192.168.1.254 24
============================================================================================================
先配置R1认证方:
1)aaa认证,创建相应的账号密码
<Huawei>sys [Huawei]sysname R1 [R1]aaa [R1-aaa]local-user huawei password cipher huawei [R1-aaa]local-user huawei service-type ppp
2)配置Serial接口类型和IP
[R1]int Serial 0/0/0 [R1-Serial0/0/0]link-protocol ppp 设置接口封装类型 [R1-Serial0/0/0]ip add 192.168.1.1 24
3)把aaa应用到s0/0/0接口下
[R1-Serial0/0/0]ppp authentication-mode pap
再配置R2被认证方:
1)配置s0/0/1接口的ip和账号密码
<Huawei>sys
[Huawei]sysname R2
[R2]int Serial 0/0/1
[R2-Serial0/0/1]link-protocol ppp
[R2-Serial0/0/1]ip add 192.168.10.254 24
[R2-Serial0/0/1]ppp pap local-user huawei password cipher huawei
========================================================================================================================
先配置认证方R1;
1)、aaa认证,创建相应的账号密码
<Huawei>sys [Huawei]sysname R1 [R1]aaa [R1-aaa]local-user huawei password cipher huawei [R1-aaa]local-user huawei service-type ppp
2)配置Serial接口类型和IP
[R1]int Serial 0/0/0 [R1-Serial0/0/0]link-protocol ppp 设置接口封装类型 [R1-Serial0/0/0]ip add 192.168.1.1 24
3)把aaa应用到s0/0/0接口下
[R1-Serial0/0/0]ppp authentication-mode chap
再配置认证方R2:
<Huawei>sys [Huawei]sysname R2 [R2]int Serial 0/0/1 [R2-Serial0/0/1]link-protocol ppp [R2-Serial0/0/1]ip add 192.168.1.254 24 [R2-Serial0/0/1]ppp chap user huawei [R2-Serial0/0/1]ppp chap password cipher huawei
标签:密码 应用 png width chap 账号密码 add mode aaa认证
原文地址:https://www.cnblogs.com/mr-xiong/p/12989133.html