pap认证(2)

2019-09-01 17:11

debug ppp authentication-确定客户端是否可以通过验证。如果您在使用Cisco IOS软件版本11.2之前的一个版本,请发出debug pppchap命令。

debug ppp error – 显示和PPP连接协商与操作相关的协议错误以及统计错误。 debug aaa authentication-要确定在使用哪个方法进行验证(应该是RADIUS,除非RADIUS服务器发生故障),以及用户是否通过验证。

debug aaa authorization-要确定在使用哪个方法进行验证,并且用户是否通过验证。 debug aaa accounting-查看发送的记录。 debug radius-查看用户和服务器交换的属性。

2、PAP (Wap Push Access Protocol) 推送访问协议 PAP协议属于HTTP协议的扩展,使用.NET的HttpWebRequest类库便可以方便的实现PAP的通讯层.剩下的工作便是PAP协议内容的组合了,

PAP协议主要有四个方法及一个交互方法,分别是: ·Submit a Push 提交一个Push信息 ·Cancel a Push 取消一个Push信息

·Query for status of a Push 查询提交Push信息的状态 ·Query for wireless device capabilities 查询无线设备能力

ppp的pap认证完全配置

2012-03-07 20:19:56

分类: 网络与安全

网络环境:

=================================================================

PAP认证方式:

1、验证由客户端发起,它向服务端发送用户名和密码;

2、服务端查询自己的数据库,如果有匹配的用户名和密码,则验证通过,发送接受消息,否则拒绝连接。

由于PAP验证采用明文在网络中传输用户名和密码,安全性比CHAP验证差。 =============================================================================================

PAP单项认证:R1为服务器端,R2为客户端 R1配置:

R1>enable

R1#configure terminal

R1(config)#username jsxjs password adminjsxjs R1(config)#interface s0/0 R1(config-if)#encapsulation ppp R1(config-if)#ppp authentication pap R2配置:

R2>enable

R2#configure terminal R2(config)#interface s0/0 R2(config-if)#encapsulation ppp

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

============================================================================================

PAP双向认证:(这里双方配置的用户名和密码不一样,当然也可以设置双方的用户名和密码一样) R1配置:

R1>enable

R1#configure terminal

R1(config)#username jsxjs password adminjsxjs

R1(config)#interface s0/0 R1(config-if)#encapsulation ppp

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

R1(config-if)#ppp authentication pap R2配置: R2>enable

R2#configure terminal

R2(config)#username jlzz password adminjlzz

R2(config)#interface s0/0 R2(config-if)#encapsulation ppp

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

R2(config-if)#ppp authentication pap

=======================================================================

PPP协议配置和PAP认证配置

2010-09-06 09:44 佚名 hi.http://m.wodefanwen.com/ 字号:T | T 文章中,我们侧重讲解了PPP协议的配置和PAP认证配置的内容,希望大家浏览过文章后,对此能够有所了解。

AD:51CTO 网+ 第十二期沙龙:大话数据之美_如何用数据驱动用户体验

通过对PPP协议的了解,我们也进入到了配置阶段。那么我们知道,PPP协议:(point to point protocol)点队点协议的前身是SLIP,PPP协议提供了一种在点对点链路上封状多种网络数据报文的标准方法。现在我们重点讲解一下PPP协议配置和PAP认证配置的内容。

PPP相对SLIP的协议的优点: 1、支持同步、异步串行链路; 2、支持多种网络协议;

3、支持各种连接参数的协商; 4、支持错误检测; 5、支持用户认证; 6、允许进行数据的压缩。 PPP协议的组成: 1、协议封装方式 2、LCP 3、NCP PPP运行过程: 1、链接不可用阶段 2、链路建立阶段 3、认证阶段 4、网络层协议阶段 5、链路终止阶段 LCP协议协商:

MRU 最大数据单元/Magic Number魔术字/人证方式/链路压缩 NCP协议协商: IP地址;TCP/IP头压缩 认证方式: PAP/CHAP PPP协议的配置: 封装PPP:

1. Router(config)#inter serial 2/0 2. Router(config-if)#encapsulation ppp

DCE端设置时钟频率:

1. Router(config-if)#clock rate 64000

接口IP配置:

1. Router(config-if)#ip address 192.168.10.1 255.255.255.0 2. Router(config-if)#no shutdown

PAP认证配置:

PAP认证配置,主认证端:

1. Router(config-if)#exit

2. Router(config)#username derek password 0 123 3. Router(config)#inter s2/0

4. Router(config-if)#ppp authentication

5. %SYS-5-CONFIG_I: Configured from console by console

PAP认证配置,被认证端:

1. Router(config-if)#ppp pap sent-username derek password 0 123

PAP认证配置完成,测试:

1. Router#ping 192.168.10.2 2. Router#debug ppp packet

查看端口:

1. Router#show interfaces s 2/0

2. Serial2/0 is up, line protocol is up (connected) 3. Hardware is HD64570

4. Internet address is 192.168.10.2/24

5. MTU 1500 bytes, BW 128 Kbit, DLY 20000 usec, rely 255/255, load 1/255

6. Encapsulation PPP, loopback not set, keepalive set (10 sec) 7. LCP Open

8. Open: IPCP, CDPCP

9. Last input never, output never, output hang never 10. Last clearing of \

11. Input queue: 0/75/0 (size/max/drops); Total output drops: 0 12. Queueing strategy: weighted fair

13. Output queue: 0/1000/64/0 (size/max total/threshold/drops)


pap认证(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:社会学概论小抄2

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: