Guest User

Untitled

a guest
Mar 22nd, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.21 KB | None | 0 0
  1. DYNINTF-PPPOE-TEST {
  2. routing-instances {
  3. "$junos-routing-instance" {
  4. interface "$junos-interface-name";
  5. routing-options {
  6. access {
  7. route $junos-framed-route-ip-address-prefix {
  8. next-hop "$junos-framed-route-nexthop";
  9. preference 4;
  10. }
  11. }
  12. access-internal {
  13. route $junos-subscriber-ip-address {
  14. qualified-next-hop "$junos-interface-name";
  15. }
  16. }
  17. }
  18. }
  19. }
  20. interfaces {
  21. pp0 {
  22. unit "$junos-interface-unit" {
  23. ppp-options {
  24. pap;
  25. }
  26. pppoe-options {
  27. underlying-interface "$junos-underlying-interface";
  28. server;
  29. }
  30. keepalives interval 60;
  31. family inet {
  32. unnumbered-address "$junos-loopback-interface";
  33. }
  34. }
  35. }
  36. }
  37. }
  38. VLAN-PROFILE {
  39. interfaces {
  40. demux0 {
  41. unit "$junos-interface-unit" {
  42. proxy-arp;
  43. vlan-id "$junos-vlan-id";
  44. demux-options {
  45. underlying-interface "$junos-interface-ifd-name";
  46. }
  47. family pppoe {
  48. duplicate-protection;
  49. dynamic-profile DYNINTF-PPPOE-TEST;
  50. }
  51. }
  52. }
  53. }
  54. }
  55.  
  56. access-profile local;
  57.  
  58. interfaces {
  59. ge-1/1/1 {
  60. description "PPPoE test interface";
  61. flexible-vlan-tagging;
  62. auto-configure {
  63. vlan-ranges {
  64. dynamic-profile VLAN-PROFILE {
  65. accept pppoe;
  66. ranges {
  67. any;
  68. }
  69. }
  70. access-profile access-test-profile;
  71. }
  72. }
  73. encapsulation flexible-ethernet-services;
  74. }
  75. lo0 {
  76. unit 0 {
  77. family inet {
  78. address 10.120.120.1/32;
  79. }
  80. }
  81. }
  82. }
  83.  
  84. access {
  85. radius-server {
  86. 185.52.208.18 {
  87. secret "$9$1I5hcrbwgGDkuO1hylXxjHkPz39Ap01R"; ## SECRET-DATA
  88. source-address 185.85.83.150;
  89. }
  90. }
  91. domain-name-server {
  92. 185.52.208.18;
  93. 185.52.208.26;
  94. }
  95. profile local {
  96. accounting-order radius;
  97. authentication-order radius;
  98. radius {
  99. authentication-server 185.52.208.18;
  100. accounting-server 185.52.208.18;
  101. }
  102. radius-server {
  103. 185.52.208.18 {
  104. secret "$9$1I5hcrbwgGDkuO1hylXxjHkPz39Ap01R"; ## SECRET-DATA
  105. source-address 185.85.83.150;
  106. }
  107. }
  108. accounting {
  109. order radius;
  110. }
  111. }
  112. profile access-test-profile {
  113. authentication-order radius;
  114. radius {
  115. authentication-server 185.52.208.18;
  116. }
  117. radius-server {
  118. 185.52.208.18 {
  119. secret "$9$1I5hcrbwgGDkuO1hylXxjHkPz39Ap01R"; ## SECRET-DATA
  120. source-address 185.52.208.18;
  121. }
  122. }
  123. }
Add Comment
Please, Sign In to add comment