首页 > 代码库 > PPP的两种配置方法(pap和chap)

PPP的两种配置方法(pap和chap)

技术分享

PAP的配置

R1上的配置

[R1]int s4/0/0

[R1-Serial4/0/0]ppp authentication-mode pap

[R1-Serial4/0/0]q

[R1]aaa

[R1-aaa]local-user huawei password cipher 123456

Info: Add a new user.

[R1-aaa]local-user huawei service-type ppp


R2上的配置

[R2]int Serial 4/0/0

[R2-Serial4/0/0]ppp pap lo

[R2-Serial4/0/0]ppp pap local-user huawei pas

[R2-Serial4/0/0]ppp pap local-user huawei password ci

[R2-Serial4/0/0]ppp pap local-user huawei password cipher 123456


CHAP的配置

技术分享

R1上的配置

[R1]int s4/0/0

[R1-Serial4/0/0]ppp authentication-mode chap

[R1-Serial4/0/0]q

[R1]aaa

[R1-aaa]local-user huawei password cipher 123456

Info: Add a new user.

[R1-aaa]local-user huawei service-type ppp

[R1-aaa]q

[R1]int s4/0/0


R2上的配置

[R2]int s4/0/0

[R2-Serial4/0/0]ppp chap password cipher 123456


本文出自 “costin” 博客,请务必保留此出处http://brighttime.blog.51cto.com/12837169/1954230

PPP的两种配置方法(pap和chap)