日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

PPP 配置和验证

發布時間:2024/4/11 编程问答 40 豆豆
生活随笔 收集整理的這篇文章主要介紹了 PPP 配置和验证 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

PAP 單向認證(注意也可以做成雙向的)
PAP(口令驗證協議)

The unilateralism? authentication

r1(config)#username r2 password cisco建立數據庫

r1(config)#int s1/1

r1(config-if)#encapsulation ppp /進行PPP封裝

r1(config-if)#ppp authentication pap /使用PAP實現PPP的驗證

r2(config)#int s1/0

r2(config-if)#encapsulation ppp

r2(config-if)#ppp pap sent-username r2 password cisco/發送驗證信息

The Bidirectional? authentcation

r1(config)#username r2 password cisco

r1(config)#int s1/1

r1(config-if)#encapsulation ppp

r1(config-if)#ppp authentication pap

r1(config-if)#ppp pap sent-username r1 password cisco 注意此時發送的password

r2(config)#username r1 password cisco

r2(config)#int s1/0

r2(config-if)#encapsulation ppp

r2(config-if)#ppp authentication pap

r2(config-if)#ppp pap sent-username r2 password cisco? 注意此時發送的password

CHAP?? ppp雙向認證 支持MD5

PPP Session (chap ,質詢握手驗證協議)

R1 ----------R2
The unilateralism? authentication

r1(config)#username r2 password cisco

r1(config)#int s1/1

r1(config-if)#encapsulation ppp

r1(config-if)#ppp authentication chap

r2(config)#int s1/0

r2(config-if)# encapsulation ppp

r2(config-if)#ppp chap hostname r2

r2(config-if)#ppp chap password cisco

ps,the r2 don't need comman "ppp authentcaion chap" if you conmmand the interface will shutdown and up

The Bidirectional? authentcation

r1(config)#username r2 password cisco

r1(config)#int s1/1

r1(config-if)# encapsulation ppp

r1(config-if)# ppp authentication chap

r2(config-if)#username r1 password cisco

r2(config)#int s1/0

r2(config-if)# encapsulation ppp

r2(config-if)# ppp authentication chap

轉載于:https://blog.51cto.com/xsong/159146

總結

以上是生活随笔為你收集整理的PPP 配置和验证的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。