拓扑图:
疑惑问题:为什么做CHAP认证有时需要在接口下配置host和password,而有时候不需要,特做了下方的实验。
接口验证:
实验A:PAP单向认证
要求:R1作为验证方,R2为被验证方,用户名和密码均为test
R1(config)#username test password test
R1(config)#int se1/0
R1(config-if)#encapsulation ppp
R1(config-if)#ppp authentication pap
R2(config-if)#int se1/0
R2(config-if)#enca ppp
R2(config-if)#ppp pap sent-username test password test
验证: