【網絡互聯技術】Exploration4

配置ppp

啓用ppp:

R3#conf t

R3(config)#int s0/0

R3(config-if)#encapsulation ppp

配置HDLC:

R3(config-if)#encapsulation hdlc

 

配置使用PAP驗證:

R1(config)#username R2 password cisco123

R1(config)#int s0/0/0

R1(config-if)#encapsulation ppp

R1(config-if)#ppp authentication pap

R1(config-if)#ppp pap sent-username R1 password cisco

R1(conifg-if)#end

同樣的,在R2上配置:

R2(config)#username R1 password cisco

R2(config)#int s0/0/0

R2(config-if)#encapsulation ppp

R2(config-if)#ppp authentication pap

R2(config-if)#ppp pap sent-username R2 password cisco123

R2(config-if)#end

 

配置使用CHAP驗證:

R3(config)#username R2 password cisco123

R3(config)#int s0/0/1

R3(config-if)#encapsulation ppp

R3(config-if)#ppp authentication pap

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章