華爲PPP協議6種配置方式

  PPP 1、不驗證 Router A interface serial 0 link-protocol ppp // 設置封裝協議爲PPP ip address ------------ Router B interface serial 0 link-protocol ppp ip address ---------- 2、PAP單向驗證 Router A interface serial 0 link-protocol ppp ppp pap local-user a password simple a //送給對端的用戶名密碼 ip address -------- Router B local-user a service-type ppp password simple a //本地建立的對方的用戶名和密碼 interface serial 0 link-protocol ppp ppp authentication-mode pap //驗證模式 PAP ip address 3、PAP 雙向驗證 Router A local-user b service-type ppp password simple b interface serial 0 link-protocol ppp ppp pap local-user a password simple a ppp authentication-mode pap ip address ----------- Router B local-user a service-type ppp password simple a interface serial 0 link-protocol ppp ppp pap local-user b password simple b ppp authentication-mode pap ip address --------- 4、CHAP單向驗證 Router A interface serial 0 link-protocol ppp ppp chap user a //本端的用戶名A ppp chap password simple hello//密碼 ip address ---------- Router b local-user a service-type ppp password simple hello// 對端的用戶名a和一樣的密碼hello interface serial 0 link-protocol ppp ppp authentication-mode chap ppp chap user b ip address----------- 5、CHAP 雙向驗證 Router A local-user b service-type ppp password simple hello interface serial 0 link-protocol ppp ppp chap user a ppp chap password simple hello ppp authenticattion-mode chap ip address ------- Router B local-user a service-type ppp password simple hello interface serial 0 link-protocol ppp ppp chap user b ppp chap password simple hello pp authentication-mode chap ip address ---------

  上海阜和進修學校


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