1、
2、
[R1]aaa
[R1-aaa]local-user lxl password cipher 123456
[R1-aaa]local-user lxl service-type ppp
[R1-aaa]
[R1]int s4/0/0
[R1-Serial4/0/0]ppp authentication-mode pap
[R1-Serial4/0/0]ip add 15.1.1.1 24
[R1-Serial4/0/0]shutdown
[R1-Serial4/0/0]undo shutdown
[R1-Serial4/0/0]
[R1]ppp pap password cipher 123456
[R5]aaa
[R5-aaa]local-user lxl password cipher 123456
[R5-aaa]local-user lxl service-type ppp
[R5-aaa]
[R5]int s3/0/0
[R5-Serial3/0/0]ppp authentication-mode pap
[R5-Serial3/0/0]ip add 15.1.1.2 24
[R5-Serial3/0/0]shutdown
[R5-Serial3/0/0]undo shutdown
[R5-Serial3/0/0]
[R5]aaa
[R5-aaa]local-user lxl password cipher 123456
[R5-aaa]local-user lxl service-type ppp
[R5-Serial3/0/1]ppp authentication-mode chap
[R5-Serial3/0/1]ip add 25.1.1.2 24
[R5-Serial3/0/1]shutdown
[R5-Serial3/0/1]undo shutdown
[R2]ppp chap passwd cipher 123456