R621 PPPoE配置代码


前面一篇文章,我们介绍了使用ACS SERVER认证PPPOE配置,相信大家对PPPoE配置的内容有了一定的了解,那么这里我们主要介绍一下R621 PPPOE配置。希望这个配置内容对大家能够有所帮助。

R621 PPPOE配置:

  1. Red-Giant#show run  
  2. Building configuration...  
  3.  
  4. Current configuration:  
  5. !  
  6. !  
  7. hostname "Red-Giant"  
  8. !  
  9. !  
  10. ip subnet-zero  
  11. !  
  12. interface Ethernet0  
  13. no ip address  
  14. pppoe enable  
  15. pppoe-client dial-pool-number 10 dial-on-demand  
  16. !  
  17. interface FastEthernet0  
  18. ip address 192.168.0.1 255.255.255.0  
  19. ip mtu 1488  
  20. ip nat inside  
  21. !  
  22. interface Serial0  
  23. no ip address  
  24. shutdown  
  25. !  
  26. interface Dialer0  
  27. mtu 1488  
  28. ip address negotiate  
  29. encapsulation ppp  
  30. ip nat outside  
  31. dialer pool 10  
  32. dialer idle-timeout 1200  
  33. dialer-group 1  
  34. ppp authentication pap chap  
  35. ppp chap hostname gslzstar  
  36. ppp chap password 7 11013304001A5977436B  
  37. ppp pap sent-username username password 7 072D172E0742735343  
  38. !  
  39. ip nat inside source list 1 interface Dialer0 overload  
  40. ip classless  
  41. ip route 0.0.0.0 0.0.0.0 Dialer0  
  42. access-list 1 permit any  
  43. dialer-list 1 protocol ip permit  
  44. !  
  45. line con 0  
  46. line aux 0  
  47. line vty 0 4  
  48. login  
  49. !  
  50. end  

那么R621 PPPOE配置的具体代码我们就介绍到这里,希望能够给大家提供一定的参考。

相关内容

    暂无相关文章