We are looking at using the vMX as a BRAS to terminate PPPoE sessions via the Dynamic Profile, I have beenfollowing the steps outlines in the juniper guide guide, but it's unable to create a dynamic profile due to a "ADD from daemon pppoed because enhanced-universal-edge is disabled" error.
Configuration
dynamic-profiles {
basic-pppoe-profile {
interfaces {
pp0 {
unit "$junos-interface-unit" {
ppp-options {
chap;
pap;
authentication [ pap chap ];
}
pppoe-options {
underlying-interface "$junos-underlying-interface";
server;
}
keepalives interval 15;
family inet {
unnumbered-address lo0.0;
}
}
}
}
}
}
interfaces ge-0/0/0
vlan-tagging;
unit 3500 {
encapsulation ppp-over-ether;
vlan-id 3500;
pppoe-underlying-options {
access-concentrator server-vMX-1;
dynamic-profile basic-pppoe-profile;
}
}
}
}
Checking the pppoe debuging
Aug 29 08:18:53.603147 Discovery Input: PADR packet UIFL:ge-0/0/0.3500 (337)
Aug 29 08:18:53.603230 addDuplicateProtectionClient:
mac=00:17:A4:E7:A6:7A useCount=1
Aug 29 08:18:53.603260 createSdbEntry: Pre-booked SDB ID is zero failed,
iflName=
Aug 29 08:18:53.603288 sdb_create_extended_client_session: 10581: subs
count:0 on ifl:��
Aug 29 08:18:53.603305 liblic_get_license_data: total active licensed
subs = 0 inflight subs:0
Aug 29 08:18:53.603319 liblic_subs_limit_valid 685 total subs:0
state:0x0 limit valid
Aug 29 08:18:53.603479 if ge-0/0/0.3500 add, mem 0xcb463194 sid:8
Aug 29 08:18:53.603508 if ge-0/0/0.3500 add sub cnt 0 uifl cnt 1
licensed count 0
Aug 29 08:18:53.603532 if ge-0/0/0.3500 session id 8 add, mem 0xcb4631f4
Aug 29 08:18:53.603568 state:0 to index:2
Aug 29 08:18:53.603582 sdb_summary_counter_increment: sdb counter for
index:2 changed to:1
Aug 29 08:18:53.603594 sdb_summary_counter_increment: sdb counter for
index:9 changed to:1
Aug 29 08:18:53.603606 sdb_create_extended_client_session 11252:
incremented counter for state:0 for sid:8
Aug 29 08:18:53.603618 client type:0 to index:17
Aug 29 08:18:53.603630 sdb_summary_counter_increment: sdb counter for
index:17 changed to:1
Aug 29 08:18:53.603642 sdb_summary_counter_increment: sdb counter for
index:29 changed to:1
Aug 29 08:18:53.603653 sdb_summary_counter_increment: sdb counter for
index:0 changed to:1
Aug 29 08:18:53.603665 sdb_create_extended_client_session 11276:
incremented total counter for sid:8
Aug 29 08:18:53.603677 sdb_summary_counter_increment: sdb counter for
index:1 changed to:1
Aug 29 08:18:53.603689 sdb_create_extended_client_session 11291:
incremented counter for legacy for session id 8
Aug 29 08:18:53.603713 Created SDB entry iflName= iflIndex=0 sdbId=8
Aug 29 08:18:53.603730 Add filter entry Success for sdbId=8
Aug 29 08:18:53.603755 eraStartEvent: eraStartEvents=8
Aug 29 08:18:53.603771 sendDynamicProfileRequest: Dynamic Profile Add
request for sdbId=8 profile=basic-pppoe-profile
Aug 29 08:18:53.603790 config_bits=0x1 0 0 0 0 0
Aug 29 08:18:53.603904 sendDynamicProfileRequest: Dynamic Profile Add
request FAILED for sdbId=8 result=107, err=Operation not permitted
Aug 29 08:18:53.603925 terminateSession: iflName= Terminate Reason=6
Aug 29 08:18:53.603947 eraStopEvent: eraStopEvents=8
Aug 29 08:18:53.604209 if ge-0/0/0.3500 session id 8 del
Aug 29 08:18:53.604227 if ge-0/0/0.3500 del sub cnt 0 uifl cnt 0
licensed count 0
Aug 29 08:18:53.604239 if ge-0/0/0.3500 del empty
Aug 29 08:18:53.604257 state:0 to index:2
Aug 29 08:18:53.604270 sdb_summary_counter_decrement: sdb counter for
index:2 changed from:1
Aug 29 08:18:53.604282 sdb_summary_counter_decrement: sdb counter for
index:9 changed from:1
Aug 29 08:18:53.604695 sdb_remove_bundled_client_session: decremented
counter for client sid:8 for state:0
Aug 29 08:18:53.604708 client type:0 to index:17
Aug 29 08:18:53.604719 sdb_summary_counter_decrement: sdb counter for
index:17 changed from:1
Aug 29 08:18:53.604731 sdb_summary_counter_decrement: sdb counter for
index:29 changed from:1
Aug 29 08:18:53.604743 sdb_summary_counter_decrement: sdb counter for
index:0 changed from:1
Aug 29 08:18:53.604755 sdb_remove_bundled_client_session: decremented
total summary counter for sid:8
Aug 29 08:18:53.604766 sdb_summary_counter_decrement: sdb counter for
index:1 changed from:1
Aug 29 08:18:53.604778 sdb_remove_bundled_client_session: decremented
legacy summ count for client:8
Aug 29 08:18:53.604811 removeSdbId: Removed SDB entry sdbId=8
Aug 29 08:18:53.604835 removeDuplicateProtectionClient:
mac=00:17:A4:E7:A6:7A useCount=1
Aug 29 08:18:53.604873 removePrivateSdbPppoeMaxSessions: ge-0/0/0.3500
removed
Aug 29 08:18:53.604890 Session Terminated for
Aug 29 08:18:53.604906 Sending PADS packet: sessionId=0 err=514
Aug 29 08:18:53.604922 building PADS packet: sessionId=0 err=514
Which seem to show that the configuration is working but the Dynamic
Profile is not being added due to the error Operation not permitted.
Checking the messages log I see the following
Aug 29 08:18:38 vMX-1.ak pppoed: dyn_prof_send_request: Rejecting
profile (basic-pppoe-profile - use_flow: 0) ADD from daemon pppoed
because enhanced-universal-edge is disabled
Aug 29 08:18:43 vMX-1.ak pppoed: dyn_prof_send_request: Rejecting
profile (basic-pppoe-profile - use_flow: 0) ADD from daemon pppoed
because enhanced-universal-edge is disabled
Is this a result of the evaluation license not covering this? Or something else not set correctly?
Cheers
--Mark