配上接口ip
[AR1]int Serial 3/0/0
[AR1-Serial3/0/0]ip add 192.168.1.1 24
[AR2]int s3/0/0
[AR2-Serial3/0/0]ppp mp Mp-group 0/0/0
[AR2-Serial3/0/0]int s4/0/0
[AR2-Serial4/0/0]ppp mp Mp-group 0/0/0
[AR2-Serial4/0/0]int Mp-group 0/0/0
[AR2-Mp-group0/0/0]ip add 192.168.2.2 24
[AR3]int Mp-group 0/0/0
[AR3-Mp-group0/0/0]ip add 192.168.2.3 24
[AR3-Mp-group0/0/0]int s3/0/0
[AR3-Serial3/0/0]ppp mp Mp-group 0/0/0
[AR3-Serial3/0/0]int s3/0/1
[AR3-Serial3/0/1]ppp mp Mp-group 0/0/0
创建用户配置chap
[AR2]aaa
[AR2-aaa]local-user abc password cipher 123
[AR2-aaa]local-user abc service-type ppp
[AR2-aaa]int s3/0/0
[AR2-Serial3/0/0]ppp authentication-mode chap
[AR1]int s3/0/0
[AR1-Serial3/0/0]ppp chap user abc
[AR1-Serial3/0/0]ppp chap password cipher 123
然后ping通即单向成功
双向同理
[AR3]aaa
[AR3-aaa]local-user abc password cipher 123
[AR3-aaa]local-user abc service-type ppp
[AR3-aaa]int s3/0/0
[AR3-Serial3/0/0]ppp authentication-mode chap
[AR3-Serial3/0/0]int s3/0/1
[AR3-Serial3/0/1]ppp authentication-mode chap
[AR2]int s3/0/1
[AR2-Serial3/0/1]ppp chap user abc
[AR2-Serial3/0/1]ppp chap password cipher 123
[AR2-Serial3/0/1]int s4/0/0
[AR2-Serial4/0/0]ppp chap user abc
[AR2-Serial4/0/0]ppp chap password cipher 123
[AR2]int s3/0/1
[AR2-Serial3/0/1]ppp authentication-mode chap
[AR2-Serial3/0/1]int s4/0/0
[AR2-Serial4/0/0]ppp authentication-mode chap
[AR3]int s3/0/0
[AR3-Serial3/0/0]ppp chap user abc
[AR3-Serial3/0/0]ppp chap password cipher 123
[AR3-Serial3/0/0]int s3/0/1
[AR3-Serial3/0/1]ppp chap user abc
[AR3-Serial3/0/1]ppp chap password cipher 123