华为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 ---------

  上海阜和进修学校


你可能感兴趣的:(华为)