pppoe与客户端

本文详细解析了路由器R1的配置文件,包括版本信息、密码设置、接口配置、PPP认证等,并通过调试信息展示了PPP连接建立的具体过程。

 

 

 

R1#show run

Building configuration...


*Apr 19 11:49:38.515: %SYS-5-CONFIG_I: Configured from console by console

Current configuration : 3018 bytes

!

version 12.4

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

hostname R1

boot-start-marker

boot-end-marker

no aaa new-model


ip cef

no ip domain lookup


vpdn enable


vpdn-group libo


crypto pki trustpoint TP-self-signed-4294967295

 enrollment selfsigned

 subject-name cn=IOS-Self-Signed-Certificate-4294967295

 revocation-check none

 rsakeypair TP-self-signed-4294967295


username libo password 0 cisco

username zhangyunming password 0 cisco

!

!


bba-group pppoe global

 virtual-template 1

!

!

interface FastEthernet0/0

 no ip address

 shutdown

 duplex half

!

interface Ethernet1/0

 ip address 192.168.1.1 255.255.255.0

 duplex half

 pppoe enable group global

!

interface Ethernet1/1

 no ip address

 shutdown

 duplex half

!

interface Ethernet1/2

 no ip address

 shutdown

 duplex half

!

interface Ethernet1/3

 no ip address

 shutdown

 duplex half

!

interface Ethernet1/4

 no ip address

 shutdown

 duplex half

!

interface Ethernet1/5

 no ip address

 shutdown

 duplex half

!

interface Ethernet1/6

 no ip address

 shutdown

 duplex half

!

interface Ethernet1/7

 no ip address

 shutdown

 duplex half

!

interface Virtual-Template1

 ip address 10.0.0.2 255.255.255.0

 peer default ip address pool libo

 ppp authentication pap

!

ip local pool libo 10.0.0.10 10.0.0.20

!

ip http server

ip http secure-server


control-plane


gatekeeper

 shutdown

!

!

line con 0

 exec-timeout 0 0

 logging synchronous

 stopbits 1

line aux 0

 stopbits 1

line vty 0 4

!

!

end



R1#debug pppoe events

PPPoE protocol events debugging is on

R1#

*Apr 19 11:51:40.675: PPPoE 0: I PADI  R:0050.56c0.0001 L:ffff.ffff.ffff Et1/0

*Apr 19 11:51:40.675:  Service tag: cisco

*Apr 19 11:51:40.675: PPPoE 0: O PADO, R:ca00.1770.001c L:0050.56c0.0001 Et1/0

*Apr 19 11:51:40.679:  Service tag: cisco

*Apr 19 11:51:40.695: PPPoE 0: I PADR  R:0050.56c0.0001 L:ca00.1770.001c Et1/0

*Apr 19 11:51:40.695:  Service tag: cisco

*Apr 19 11:51:40.699: PPPoE : encap string prepared

*Apr 19 11:51:40.699: [10]PPPoE 10: Access IE handle allocated

*Apr 19 11:51:40.699: [10]PPPoE 10: pppoe SSS switch updated

*Apr 19 11:51:40.699: [10]PPPoE 10: AAA unique ID allocated

*Apr 19 11:51:40.699: [10]PPPoE 10: No AAA accounting method list

R1#

*Apr 19 11:51:40.703: [10]PPPoE 10: Service request sent to SSS

*Apr 19 11:51:40.703: [10]PPPoE 10: Created, Service: None R:ca00.1770.001c L:0050.56c0.0001 Et1/0

*Apr 19 11:51:40.707: [10]PPPoE 10: State NAS_PORT_POLICY_INQUIRY    Event MORE_KEYS

*Apr 19 11:51:40.711: [10]PPPoE 10: O PADS  R:0050.56c0.0001 L:ca00.1770.001c Et1/0

*Apr 19 11:51:40.715: [10]PPPoE 10: State PPP_START    Event DYN_BIND

*Apr 19 11:51:40.719: [10]PPPoE 10: data path set to PPP

R1#

*Apr 19 11:51:42.859: [10]PPPoE 10: State LCP_NEGOTIATION    Event PPP_LOCAL

*Apr 19 11:51:42.859: PPPoE 10/SB: Sent vtemplate request on base Vi1

*Apr 19 11:51:42.879: [10]PPPoE 10: State VACCESS_REQUESTED    Event VA_RESP

*Apr 19 11:51:42.879: [10]PPPoE 10: Vi1.1 interface obtained

*Apr 19 11:51:42.883: [10]PPPoE 10: State PTA_BINDING    Event STAT_BIND

*Apr 19 11:51:42.883: [10]PPPoE 10: data path set to Virtual Acess

*Apr 19 11:51:42.887: [10]PPPoE 10: Connected PTA



R1#debug ppp authentication

PPP authentication debugging is on

R1#

*Apr 19 11:52:15.191: PPPoE 10: I PADT  R:0050.56c0.0001 L:ca00.1770.001c Et1/0

*Apr 19 11:52:15.195: [10]PPPoE 10: Destroying  R:0050.56c0.0001 L:ca00.1770.001c Et1/0

*Apr 19 11:52:15.195: PPPoE: Returning Vaccess Virtual-Access1.1

*Apr 19 11:52:15.203: [10]PPPoE 10: AAA account stopped

R1#

*Apr 19 11:52:20.495: PPPoE 0: I PADI  R:0050.56c0.0001 L:ffff.ffff.ffff Et1/0

*Apr 19 11:52:20.495:  Service tag: cisco

*Apr 19 11:52:20.495: PPPoE 0: O PADO, R:ca00.1770.001c L:0050.56c0.0001 Et1/0

*Apr 19 11:52:20.499:  Service tag: cisco

*Apr 19 11:52:20.527: PPPoE 0: I PADR  R:0050.56c0.0001 L:ca00.1770.001c Et1/0

*Apr 19 11:52:20.527:  Service tag: cisco

*Apr 19 11:52:20.527: PPPoE : encap string prepared

*Apr 19 11:52:20.527: [11]PPPoE 11: Access IE handle allocated

*Apr 19 11:52:20.531: [11]PPPoE 11: pppoe SSS switch updated

*Apr 19 11:52:20.531: [11]PPPoE 11: AAA unique ID allocated

*Apr 19 11:52:20.531: [11]PPPoE 11: No AAA accounting method list

*Apr 19 11:52:20.531: [11]PPPoE 11: Service request sent to SSS

*Apr 19 11:52:20.535: [11]PPPoE 11: Created, Service: None R:ca00.1770.001c L:0050.56c0.0001 Et1/0

*Apr 19 11:52:20.539: [11]PPPoE 11: State NAS_PORT_POLICY_INQUIRY    Event MORE_KEYS

*Apr 19 11:52:20.543: [11]PPPoE 11: O PADS  R:0050.56c0.0001 L:ca00.1

R1#770.001c Et1/0

*Apr 19 11:52:20.543: ppp11 PPP: Using default call direction

*Apr 19 11:52:20.547: ppp11 PPP: Treating connection as a dedicated line

*Apr 19 11:52:20.547: ppp11 PPP: Session handle[8000000D] Session id[11]

*Apr 19 11:52:20.547: ppp11 PPP: Authorization required

*Apr 19 11:52:20.551: [11]PPPoE 11: State PPP_START    Event DYN_BIND

*Apr 19 11:52:20.551: [11]PPPoE 11: data path set to PPP

R1#

*Apr 19 11:52:22.695: ppp11 PAP: I AUTH-REQ id 10 len 23 from "zhangyunming"

*Apr 19 11:52:22.695: ppp11 PAP: Authenticating peer zhangyunming

*Apr 19 11:52:22.703: ppp11 PPP: Sent PAP LOGIN Request

*Apr 19 11:52:22.711: ppp11 PPP: Received LOGIN Response PASS

*Apr 19 11:52:22.715: [11]PPPoE 11: State LCP_NEGOTIATION    Event PPP_LOCAL

*Apr 19 11:52:22.715: PPPoE 11/SB: Sent vtemplate request on base Vi1

*Apr 19 11:52:22.739: [11]PPPoE 11: State VACCESS_REQUESTED    Event VA_RESP

*Apr 19 11:52:22.739: [11]PPPoE 11: Vi1.1 interface obtained

*Apr 19 11:52:22.743: [11]PPPoE 11: State PTA_BINDING    Event STAT_BIND

R1#

*Apr 19 11:52:22.743: [11]PPPoE 11: data path set to Virtual Acess

*Apr 19 11:52:22.743: [11]PPPoE 11: Connected PTA

*Apr 19 11:52:22.759: Vi1.1 PPP: Sent LCP AUTHOR Request

*Apr 19 11:52:22.759: Vi1.1 PPP: Sent IPCP AUTHOR Request

*Apr 19 11:52:22.763: Vi1.1 LCP: Received AAA AUTHOR Response PASS

*Apr 19 11:52:22.767: Vi1.1 IPCP: Received AAA AUTHOR Response PASS

*Apr 19 11:52:22.767: Vi1.1 PAP: O AUTH-ACK id 10 len 5

 

 















本文转自zhang25yun51CTO博客,原文链接: http://blog.51cto.com/1585654/1140379,如需转载请自行联系原作者



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值