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
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。