实验拓扑如上。
第一步配置相应的IP地址
R1:
R2:
R3:
第二步:
由题目可知,R2为主:将R2和R3的两条线路聚合。
[R2]int Mp-group 0/0/0 //创建聚合口
[R3]int Mp-group 0/0/0
[R2-Serial3/0/1]ppp mp Mp-group 0/0/0 //将R2的s3/0/1口添加进聚合口
[R2-Serial4/0/0]ppp mp Mp-group 0/0/0 //将R2的s4/0/0口添加进聚合口
[R3-Serial4/0/0]ppp mp Mp-group 0/0/0 //将R3的s4/0/0口添加进聚合口
[R3-Serial4/0/1]ppp mp Mp-group 0/0/0 //将R3的s4/0/1口添加进聚合口
查询:R3验证是否完成
第三步:
给R2和R1的PPP进行做chap验证
[R2]aaa
[R2-aaa]local-user lingyou password cipher lingyou520 //用户的账号密码
[R2-aaa]local-user lingyou service-type ppp //服务类型为 PPP
[R2-Serial3/0/0]ppp authentication-mode chap //设置接口验证的协议为chap
[R1-Serial4/0/0]ppp chap user lingyou //输入账号
[R1-Serial4/0/0]ppp chap password cipher lingyou520 //输入密码
验证:
先刷shutdown和undo shutdown 重启接口
然后ping一下验证
第四步:
给R2和R3做PP的双向chap验证
一。
R2为主验证方时:
[R2-aaa]local-user ling password cipher ling520 //第二个账户和密码
[R2-Serial3/0/1]ppp authentication-mode chap
[R2-Serial4/0/0]ppp authentication-mode chap
被验证方R3:
[R3-Serial4/0/0]ppp chap user ling
[R3-Serial4/0/0]ppp chap password cipher ling520
[R3-Serial4/0/1]ppp chap user ling
[R3-Serial4/0/1]ppp chap password cipher lingyou520
二。
R3为主验证方时:
[R3-aaa]local-user you password cipher you520
[R3-Serial4/0/0]ppp authentication-mode chap
[R3-Serial4/0/1]ppp authentication-mode chap
被验证方R2:
[R2-Serial3/0/1]ppp chap user you
[R2-Serial3/0/1]ppp chap password cipher you520
[R2-Serial4/0/0]ppp chap user you
[R2-Serial4/0/0]ppp chap password cipher you520
验证:
给全部接口先刷shutdown和undo shutdown 重启接口
ping一下验证
实验结束.