CISCO PPPoE配置介绍

网络 网络管理
下面我们分析一下CISCO PPPoE配置的内容。那么根据我们所示的案例,希望大家能够从以往的配置解析中找到相应的共同点,加深理解。

在路由器方面的设置非常多,这里我们主要讲解一下pppoe的配置。那么今天的路由器是CISCO路由器,具体的CISCO PPPoE配置就从下面来详细了解一下吧。

CISCO PPPoE配置如下:

  1. Current configuration : 2496 bytes  
  2. !  
  3. version 12.2  
  4. service timestamps debug uptime  
  5. service timestamps log uptime  
  6. no service password-encryption  
  7. !  
  8. hostname Router  
  9. !  
  10. aaa new-model  
  11. !  
  12. !  
  13. aaa group server radius pppoe  
  14. server 10.72.253.16 auth-port 1645 acct-port 1646  
  15. server 10.72.253.50 auth-port 1645 acct-port 1646  
  16. !  
  17. aaa authentication ppp default group pppoe  
  18. aaa authorization network default group pppoe  
  19. aaa accounting network default start-stop group pppoe  
  20. aaa session-id common  
  21. enable secret 5 $1$GJzG$hcJHvS/UMgYIf.GP3Xc/H1  
  22. !  
  23. username cisco password 0 cisco  
  24. ip subnet-zero  
  25. !  
  26. !  
  27. no ip domain-lookup  
  28. ip domain-name jxtvnet  
  29. ip name-server 10.72.255.131  
  30. !  
  31. ip audit notify log  
  32. ip audit po max-events 100  
  33. ip ssh time-out 120  
  34. ip ssh authentication-retries 3  
  35. vpdn enable  
  36. !  
  37. vpdn-group PPPOE  
  38. accept-dialin  
  39. protocol pppoe  
  40. virtual-template 10  
  41. pppoe limit max-sessions 500  
  42. !  
  43. async-bootp dns-server 10.72.255.131 10.72.255.132  
  44. !  
  45. crypto mib ipsec flowmib history tunnel size 200  
  46. crypto mib ipsec flowmib history failure size 200  
  47. interface Loopback0  
  48. ip address 10.1.1.1 255.255.255.0  
  49. !  
  50. interface GigabitEthernet0/0  
  51. no ip address  
  52. duplex full  
  53. speed 100  
  54. media-type rj45  
  55. pppoe enable  
  56. !  
  57. interface GigabitEthernet0/0.1  
  58. encapsulation dot1Q 1 native  
  59. ip address 172.19.4.254 255.255.255.248  
  60. !  
  61. interface GigabitEthernet0/0.2  
  62. encapsulation dot1Q 2  
  63. pppoe enable  
  64. !  
  65. interface GigabitEthernet0/0.3  
  66. encapsulation dot1Q 3  
  67. pppoe enable  
  68. !  
  69. interface GigabitEthernet0/0.4  
  70. encapsulation dot1Q 4  
  71. ip address 172.19.4.193 255.255.255.224  
  72. !  
  73. interface GigabitEthernet0/0.507  
  74. encapsulation dot1Q 507  
  75. pppoe enable  
  76. !  
  77. interface GigabitEthernet0/0.699  
  78. encapsulation dot1Q 699  
  79. pppoe enable  
  80. !  
  81. interface GigabitEthernet0/0.701  
  82. encapsulation dot1Q 701  
  83. pppoe enable  
  84. !  
  85. interface GigabitEthernet0/1  
  86. ip address 172.19.4.2 255.255.255.252  
  87. duplex full  
  88. speed 100  
  89. media-type rj45  
  90. !  
  91. interface Virtual-Template10  
  92. mtu 1492  
  93. ip unnumbered GigabitEthernet0/1  
  94. no peer default ip address  
  95. ppp authentication chap  
  96. !  
  97. ip classless  
  98. ip route 0.0.0.0 0.0.0.0 172.19.4.1  
  99. no ip http server  
  100. ip pim bidir-enable  
  101. !  
  102. !  
  103. snmp-server community jxnc-tv-ro RO  
  104. snmp-server community jxnc-tv-rw RW  
  105. !  
  106. !  
  107. radius-server host 10.72.253.16 auth-port 1645 acct-port 1646 key cisco  
  108. radius-server host 10.72.253.50 auth-port 1645 acct-port 1646 key cisco  
  109. radius-server retransmit 3  
  110. call rsvp-sync  
  111. !  
  112. !  
  113. mgcp profile default  
  114. !  
  115. dial-peer cor custom  
  116. !  
  117. !  
  118. !  
  119. !  
  120. !  
  121. gatekeeper  
  122. shutdown  
  123. !  
  124. !  
  125. line con 0  
  126. login authentication no_tacacs  
  127. line aux 0  
  128. line vty 0 4  
  129. password cisco  
  130. !  
  131. !  
  132. end 

CISCO PPPoE配置说明:

做了一个PPPOE RADIUS SERVER组,目的是提高网络的可靠性。相关配置:

  1. aaa new-model  
  2. !  
  3. !  
  4. aaa group server radius pppoe  
  5. server 10.72.253.16 auth-port 1645 acct-port 1646  
  6. server 10.72.253.50 auth-port 1645 acct-port 1646  
  7. !  
  8. aaa authentication ppp default group pppoe  
  9. aaa authorization network default group pppoe  
  10. aaa accounting network default start-stop group pppoe  
  11. aaa session-id common  
  12. radius-server host 10.72.253.16 auth-port 1645 acct-port 1646 key cisco  
  13. radius-server host 10.72.253.50 auth-port 1645 acct-port 1646 key cisco  
  14. radius-server retransmit 3  

 

责任编辑:佟健 来源: IT实验室
相关推荐

2010-09-07 11:51:02

ACS SERVER认PPPOE配置

2010-09-16 15:28:00

PPPoE原理

2010-09-02 15:50:01

PPPoE协议

2009-09-24 15:02:26

Cisco认证

2010-09-16 15:50:55

PPPoE配置

2010-09-07 13:26:09

cisco 1841

2009-12-17 17:05:03

Cisco路由器配置

2010-08-03 13:49:53

路由器配置

2009-11-18 14:05:17

2010-09-14 15:10:30

PPPoE配置宽带连接

2010-09-16 12:02:44

vpdn pppoe配

2010-09-09 17:34:19

PPPoE Serve

2010-09-16 09:52:46

2010-09-16 13:03:02

PPPoE协议配置

2010-09-07 11:58:12

R621 PPPoE配

2010-09-14 15:30:27

2010-09-16 16:06:35

PPPoE配置

2010-09-07 13:57:09

PPPoE Serve

2010-09-07 14:30:20

Linux PPPoE

2010-08-03 08:52:57

配置
点赞
收藏

51CTO技术栈公众号