R1与R5间使用ppp的pap认证,R5为主认证方; [lsq]aaa
[lsq-aaa]local
[lsq-aaa]local-user huawei passw
[lsq-aaa]local-user huawei password cipher huawei123
[lsq-aaa]local-user huawei service-type ppp
[lsq-aaa]q
[lsq]interface s3/0/0
[lsq-Serial3/0/0]ppp
[lsq-Serial3/0/0]link-protocol ppp
[lsq-Serial3/0/0]pp authentication-mode pap
换成r1
[Huawei]sysname r1
[r1]int s4/0/0
[r1-Serial4/0/0]lin
[r1-Serial4/0/0]link-protocol ppp
[r1-Serial4/0/0]ppp pap lo
[r1-Serial4/0/0]ppp pap local-user huawei password ci
[r1-Serial4/0/0]ppp pap local-user huawei password cipher huawei123
R2与R5间使用ppp的chap认证,R5为主认证方
[lsq-aaa]local-user cisco password cipher cisco123
[lsq-aaa]local-user cisco service-type ppp
[lsq-aaa]int
[lsq-aaa]inter s3/0/1
[lsq-Serial3/0/1]link
[lsq-Serial3/0/1]link-protocol ppp
[lsq-Serial3/0/1]ppp au
[lsq-Serial3/0/1]ppp authentication-mode chap
[r2]interface s4/0/0
[r2-Serial4/0/0]link
[r2-Serial4/0/0]link-protocol ppp
[r2-Serial4/0/0]ppp chap user cisco
[r2-Serial4/0/0]ppp chap password
[r2-Serial4/0/0]ppp chap password c
[r2-Serial4/0/0]ppp chap password cipher cisco123
R3与R5间使用HDLC封装
[lsq]interface s4/0/0
[lsq-Serial4/0/0]link
[lsq-Serial4/0/0]link-protocol hdlc
Warning: The encapsulation protocol of the link will be changed. Continue? [Y/N]
:y
2021-07-08
最新推荐文章于 2021-11-10 17:26:45 发布
本文档介绍了如何在R1与R5之间配置PPP协议使用PAP认证,以及在R2与R5之间配置使用CHAP认证。R5作为主认证方,详细步骤包括在R1和R2上设置用户名和加密密码,以及在R5上设置相应的本地用户和服务类型。此外,还展示了R3与R5间使用HDLC封装的配置过程。
摘要由CSDN通过智能技术生成