Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DYNINTF-PPPOE-TEST {
- routing-instances {
- "$junos-routing-instance" {
- interface "$junos-interface-name";
- routing-options {
- access {
- route $junos-framed-route-ip-address-prefix {
- next-hop "$junos-framed-route-nexthop";
- preference 4;
- }
- }
- access-internal {
- route $junos-subscriber-ip-address {
- qualified-next-hop "$junos-interface-name";
- }
- }
- }
- }
- }
- interfaces {
- pp0 {
- unit "$junos-interface-unit" {
- ppp-options {
- pap;
- }
- pppoe-options {
- underlying-interface "$junos-underlying-interface";
- server;
- }
- keepalives interval 60;
- family inet {
- unnumbered-address "$junos-loopback-interface";
- }
- }
- }
- }
- }
- VLAN-PROFILE {
- interfaces {
- demux0 {
- unit "$junos-interface-unit" {
- proxy-arp;
- vlan-id "$junos-vlan-id";
- demux-options {
- underlying-interface "$junos-interface-ifd-name";
- }
- family pppoe {
- duplicate-protection;
- dynamic-profile DYNINTF-PPPOE-TEST;
- }
- }
- }
- }
- }
- access-profile local;
- interfaces {
- ge-1/1/1 {
- description "PPPoE test interface";
- flexible-vlan-tagging;
- auto-configure {
- vlan-ranges {
- dynamic-profile VLAN-PROFILE {
- accept pppoe;
- ranges {
- any;
- }
- }
- access-profile access-test-profile;
- }
- }
- encapsulation flexible-ethernet-services;
- }
- lo0 {
- unit 0 {
- family inet {
- address 10.120.120.1/32;
- }
- }
- }
- }
- access {
- radius-server {
- 185.52.208.18 {
- secret "$9$1I5hcrbwgGDkuO1hylXxjHkPz39Ap01R"; ## SECRET-DATA
- source-address 185.85.83.150;
- }
- }
- domain-name-server {
- 185.52.208.18;
- 185.52.208.26;
- }
- profile local {
- accounting-order radius;
- authentication-order radius;
- radius {
- authentication-server 185.52.208.18;
- accounting-server 185.52.208.18;
- }
- radius-server {
- 185.52.208.18 {
- secret "$9$1I5hcrbwgGDkuO1hylXxjHkPz39Ap01R"; ## SECRET-DATA
- source-address 185.85.83.150;
- }
- }
- accounting {
- order radius;
- }
- }
- profile access-test-profile {
- authentication-order radius;
- radius {
- authentication-server 185.52.208.18;
- }
- radius-server {
- 185.52.208.18 {
- secret "$9$1I5hcrbwgGDkuO1hylXxjHkPz39Ap01R"; ## SECRET-DATA
- source-address 185.52.208.18;
- }
- }
- }
Add Comment
Please, Sign In to add comment