Pap认证
R1的配置
R1> en
R1# conf t
R1(config)#username benet password 0 123
R1(config)# int s0/1
R1(config-if)# ip add 192.168.2.1 255.255.255.0
R1(config-if)# no shut
R1(config-if)# encapsulation ppp
R1(config-if)# ppp authentication pap
R1(config-if)#end
R1#
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
R2的配置
R2> en
R2# conf t
R2(config)# int s0/1
R2(config-if)# ip add 192.168.2.2 255.255.255.0
R2(config-if)# no shut
R2(config-if)# encapsulation ppp
R2(config-if)# ppp pap sent-username benet password 0 123
R2(config-if)#end
R2#
转载于:https://blog.51cto.com/xiangruyimo/331895