r1: en conf t host r1 username r2 password cisco int s1/0 ip add 10.1.1.1 255.0.0.0 clock rate 64000 no sh en ppp 封装为点对点认证 ppp auth pap 设置验证模式为pap ppp pap sent-username r1 password cisco 将自己的账号信息发给对方验证 end
r2: en conf t host r2 username r1 password cisco int s1/0 ip add 10.1.1.2 255.0.0.0 no sh en ppp ppp auth pap ppp pap sent-username r2 password cisco end