PPPoE Server setting Guide

Source: Internet
Author: User

We know that the Ethernet PPPoE settings similar to the PPP protocol are the focus of our networking protocol learning. So here we will focus on the PPPoE Server settings for vrouters. Here we will first look at the specific topology.

The PPPoE Server setting command is as follows:

 
 
  1. Server configuration  
  2. R2#sh running-config  
  3. Building configuration...  
  4. Current configuration : 920 bytes  
  5. !  
  6. version 12.2  
  7. service timestamps debug datetime msec  
  8. service timestamps log datetime msec  
  9. no service password-encryption  
  10. !  
  11. hostname R2  
  12. !  
  13. !  
  14. username cisco password 0 cisco  
  15. memory-size iomem 15  
  16. ip subnet-zero  
  17. !  
  18. !  
  19. !  
  20. vpdn enable  
  21. !  
  22. vpdn-group 1  
  23. accept-dialin  
  24. protocol pppoe  
  25. virtual-template 1  
  26. !  
  27. !  
  28. !  
  29. !  
  30. voice call carrier capacity active  
  31. !  
  32. !  
  33. !  
  34. !  
  35. !  
  36. !  
  37. !  
  38. !  
  39. !  
  40. mta receive maximum-recipients 0  
  41. !  
  42. !  
  43. !  
  44. !  
  45. interface Loopback0  
  46. ip address 10.0.0.1 255.255.255.0  
  47. !  
  48. interface FastEthernet0/0  
  49. no ip address  
  50. duplex auto  
  51. speed auto  
  52. pppoe enable  
  53. !  
  54. interface FastEthernet0/1  
  55. no ip address  
  56. shutdown  
  57. duplex auto  
  58. speed auto  
  59. !  
  60. interface Virtual-Template1  
  61. ip unnumbered Loopback0  
  62. peer default ip address pool cisco  
  63. ppp authentication chap  
  64. !  
  65. ip local pool cisco 10.0.0.10 10.0.0.20  
  66. ip classless  
  67. ip http server  
  68. !  
  69. !  
  70. !  
  71. call rsvp-sync  
  72. !  
  73. !  
  74. mgcp profile default 
  75. !  
  76. dial-peer cor custom  
  77. !  
  78. !  
  79. !  
  80. !  
  81. !  
  82. line con 0  
  83. line aux 0  
  84. line vty 0 4  
  85. !  
  86. !  
  87. end 

Client set by PPPoE Server:

 
 
  1. client configuration  
  2. R1#sh run  
  3. R1#sh running-config  
  4. Building configuration...  
  5. Current configuration : 870 bytes  
  6. !  
  7. version 12.2  
  8. service timestamps debug datetime msec  
  9. service timestamps log datetime msec  
  10. no service password-encryption  
  11. !  
  12. hostname R1  
  13. !  
  14. !  
  15. memory-size iomem 15  
  16. ip subnet-zero  
  17. !  
  18. !  
  19. !  
  20. vpdn enable  
  21. !  
  22. vpdn-group cisco  
  23. request-dialin  
  24. protocol pppoe  
  25. !  
  26. !  
  27. !  
  28. !  
  29. voice call carrier capacity active  
  30. !  
  31. !  
  32. !  
  33. !  
  34. !  
  35. !  
  36. !  
  37. !  
  38. !  
  39. mta receive maximum-recipients 0  
  40. !  
  41. !  
  42. !  
  43. !  
  44. interface FastEthernet0/0  
  45. no ip address  
  46. duplex auto  
  47. speed auto  
  48. pppoe enable  
  49. pppoe-client dial-pool-number 1  
  50. !  
  51. interface FastEthernet0/1  
  52. no ip address  
  53. shutdown  
  54. duplex auto  
  55. speed auto  
  56. !  
  57. interface Dialer0  
  58. ip address negotiated  
  59. encapsulation ppp  
  60. dialer pool 1  
  61. dialer-group 1  
  62. ppp chap hostname cisco  
  63. ppp chap password 0 cisco  
  64. !  
  65. ip classless  
  66. ip route 0.0.0.0 0.0.0.0 Dialer0  
  67. ip http server  
  68. !  
  69. !  
  70. !  
  71. call rsvp-sync  
  72. !  
  73. !  
  74. mgcp profile default  
  75. !  
  76. dial-peer cor custom  
  77. !  
  78. !  
  79. !  
  80. !  
  81. !  
  82. line con 0  
  83. line aux 0  
  84. line vty 0 4  
  85. !  
  86. !  
  87. end 
 
 
  1. R2#sh vpdn se  
  2. R2#sh vpdn session  
  3. %No active L2TP tunnels  
  4. %No active L2F tunnels  
  5. %No active PPTP tunnels  
  6. PPPoE Session Information Total tunnels 1 sessions 1  
  7. PPPoE Session Information  
  8. SID       RemMAC          LocMAC       Intf     VASt  OIntf         VLAN/  
  9. VP/VC  
  10. 1      c800.0874.0000  c800.0c04.0000  Vi1      UP    Fa0/0 
 
 
  1. R1#sh vpdn session  
  2. %No active L2TP tunnels  
  3. %No active L2F tunnels  
  4. %No active PPTP tunnels  
  5. PPPoE Session Information Total tunnels 1 sessions 1  
  6. PPPoE Session Information  
  7. SID       RemMAC          LocMAC       Intf     VASt  OIntf         VLAN/  
  8. VP/VC  
  9. 1      c800.0c04.0000  c800.0874.0000  Vi1      UP    Fa0/0 

Now, the basic process of setting PPPoE Server is here. I hope it will be helpful to you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.