<a href="http://blog.51cto.com/attachment/201302/122318576.jpg" target="_blank"></a>
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<b></b>
hostname R1<b></b>
boot-start-marker
boot-end-marker
no aaa new-model
<b></b>
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
pppoe enable group global
interface Ethernet1/1
interface Ethernet1/2
interface Ethernet1/3
interface Ethernet1/4
interface Ethernet1/5
interface Ethernet1/6
interface Ethernet1/7
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
line con 0
exec-timeout 0 0
logging synchronous
stopbits 1
line aux 0
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
*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
*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
*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
*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
*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
*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
<a href="http://blog.51cto.com/attachment/201302/122419970.jpg" target="_blank"></a>
本文转自zhang25yun51CTO博客,原文链接: http://blog.51cto.com/1585654/1140379,如需转载请自行联系原作者