RouterA# config terminal
RouterA(config)# interface serial 0/0
RouterA(config-if)# ip address 192.168.10.2 255.255.255.252
RouterA(config-if)#
encapsulation ppp
RouterA(config-if)#
ppp pap sent-username jxwpx password 0 best
RouterA(config-if)# no shutdown
RouterB# config terminal
RouterB(config)# username jxwpx password 0 best
RouterB(config)# interface serial 0/0
RouterB(config-if)# ip address 192.168.10.1 255.255.255.252
RouterB(config-if)# clock rate 2000000
RouterB(config-if)#
encapsulation ppp
RouterB(config-if)#
ppp authentication pap
RouterB(config-if)# no shutdown
本文转自 jxwpx 51CTO博客,原文链接:http://blog.51cto.com/jxwpx/193397,如需转载请自行联系原作者