当已经用ppp authentication-mode命令配置PPP认证方式为CHAP时,需要配置CHAP认证的用户名和口令。 前置条件 执行命令link-protocol ppp,配置接口封装的链路层协议为PPP。 注意事项 使用此命令配置CHAP认证的用户名和使用ppp chap password命令配置CHAP认证的口令后,设备使用配置的用户名和口令发送到对端设备进行认证。 本...
PAP协议存在安全风险,建议采用CHAP协议进行认证。 AR6700系列、AR8100系列、 AR8700系列有E1子卡(serial/MP-group),支持配置该命令行ppp authentication-mode 使用实例 # 在接口serial:2上,配置CHAP方法验证对端设备。 <>system-view[]interface serial :2[-Serial:2]ppp authentication-mode chap ppp chap password...
1.1.20 ppp authentication-mode ppp authentication-mode命令用来配置本地认证对端的认证方式。 undo ppp authentication-mode命令用来恢复缺省情况。 【命令】 ppp authentication-mode { chap | ms-chap | ms-chap-v2 | pap } * [ [ call-in ] domain { isp-name | default enable isp-name } ] undo ...
ppp authentication-mode pap //chap模式与pap模式的配置差不,只是协议运作应答模式不同 ip address 192.168.100.1 255.255.255.0 aaa local-user admin password cipher ab1234 local-user admin service-type ppp Router2(被验证端) interface Pos6/0/0 ppp pap local-user admin password cipher ab1234 ip addr...
1.1.15 ppp authentication-mode ppp authentication-mode命令用来配置本地认证对端的认证方式。 undo ppp authentication-mode命令用来恢复缺省情况。 【命令】 ppp authentication-mode { chap | ms-chap | ms-chap-v2 | pap } * [ domain { isp-name | default enable isp-name } ] undo ppp authentication...
RouterA(config-if)#ppp authentication chap CHAP认证客户端的配置 CHAP认证客户端的配置只需要一个步骤(命令),即建立本地口令数据库。请注意,此处的username应该是对端路由器的名称,即routera,而口令应该和CHAP认证服务器口令数据库中的口令相同。如下所示。
[R3-Serial1/0/0]undo ppp authentication-mode(先删除PAP验证) [R3-Serial1/0/0]ppp authentication-mode chap(开启CHAP验证)(服务器端之前已经配置了客户端的3A账号,所以不需要再配置) R2:(客户端) [R2]int s1/0/0 [R2-Serial1/0/0]undo ppp pap local-user(删除PAP) ...
ppp authentication-mode chap //配置CHAP认证方式 aaa local-user huawei password cipher huawei //配置本地用户数据库中的用户及密码 local-user huawei service-type ppp //应用于ppp 被认证方: R2: interface Serial4/0/1 link-protocol ppp ppp chap user huawei //发送用户名和密码 ...
[PPPoe sever-Virtual-Template1]ppp authentication-mode chap //配置ppp的认证类型为chap [PPPoe sever-Virtual-Template1]remote address pool pool1 //调用为客户端分配地址的地址池pool1 提示:以太网接口不支持ppp协议,需要配置虚拟接口VT接口。 步骤4:在以太网接口使能pppoe功能并绑定VT接口1 ...
配置中 ppp authentication-mode authentication-mode 命令表示本端作为认证端所采用的认证模式,需要查看对端也就是被认证端所采用的认证模式,例如有ppp pap local-user user-name password simple password cipher password 这个配置就表示被认证端采用的是PAP认证。