Original Message:
Sent: 08-29-2024 04:53
From: GORDON GIDOFALVY
Subject: About using BNG with vJunos-Router
I have an update from my side as well. With the help of my SE, I was able to procure various trial licenses for vMX and vBNG in order to test BNG functionality on vJunos-router.
Sadly, we couldn't find any license that actually made the BNG functionality work.
Here's what we tested so far:
- vMX license
- vBNG license (with scale)
- vBNG license (agile, "elite" tier)
- BNG feature + scale license for an MX
None of them made the license checking failure in the logs go away.
My current working theory is due to license checks being disabled/patched out in vJunos, features which are hard-enforced for licensing don't work, even if you have the correct license installed for them. Obviously I don't have access to the Junos codebase, but this would explain why BNG so stubbornly never worked for anyone on this platform :)
------------------------------
Gordon
Original Message:
Sent: 08-29-2024 03:52
From: Unknown User
Subject: About using BNG with vJunos-Router
Hi @Art Stine,
May i know whether any update regarding this trial license? Hopefully it just capping the bandwidth only not trial license 3 month like vMX.
Thanks
Original Message:
Sent: 06-29-2024 02:12
From: Art Stine
Subject: About using BNG with vJunos-Router
Hey Gordon - ok checked with the BNG team - the BNG functions in VMX (vJunos-Router) require actual licenses to unlock. Unlock many other functionality which lack of licenses just result in advisory msgs, this stuff requires actual licenses. I need to get the biz-ops folks to issue us lab licenses which we can post for folks to use. Will work on that in the next week or two.
Art
------------------------------
Art Stine
Original Message:
Sent: 06-25-2024 20:05
From: Art Stine
Subject: About using BNG with vJunos-Router
Hey Gordon - I'll pass this info to the BNG team and get their take.
thanks
Art
------------------------------
Art Stine
Original Message:
Sent: 06-25-2024 19:50
From: GORDON GIDOFALVY
Subject: About using BNG with vJunos-Router
I can also confirm that this issue is also present for IPoE / VLAN-demux based subscriber management too. This is the output I see in the logs of
general-authentication-service:
Mar 7 15:16:26.702802 Process RequestMar 7 15:16:26.702831 SEQ RecvClientMsg:dvlan-client session-id:14 Opcode:1, Subcode:0 (ACCESS_REQUEST)Mar 7 15:16:26.702909 SEQ SendClientMsg:dvlan-client session-id:14 reply-code=9 (LICENSE UNAVAILABLE), result-subopcode=0 (ACCESS_REQUEST), cookie=2 ex_cookie=0xaf rply_len=28, num_tlv_blocks=0Mar 7 15:16:26.702973 authd_auth_aaa_msg_destruct auth_aaa_msg: 0x50fa06cMar 7 15:16:26.703000 findSession AST-Table couldn't find the session-id:14Mar 7 15:16:26.703069 processRequestlicense not available
The output of smg-service suggests license checks are at least partially disabled:
Mar 7 14:55:28 bbe_if_l2_input: ifl ge-0/0/2.32767: Got PKTMar 7 14:55:28 bbe_ifd_add_vif: ifd ge-0/0/2 vtag 0x020640c8, aci , is_aci_over_static_ifl false: Creating new vifMar 7 14:55:28 bbe_ifd_add_vif: ifd ge-0/0/2 vtag 0x020640c8, aci-string , is_aci_over_static_ifl false: Creating new vpkt for new vif: ifl = 0x52cf80c, packet = 0x6281c00Mar 7 14:55:28 bbe_autoconf_packet_received: lookup string = , len = 161 vif_status = 1Mar 7 14:55:28 bbe_autoconf_create_dvlan: ifl = 0x52cf80c, packet = 0x6281c00Mar 7 14:55:28 bbe_autoconf_create_dvlan: underlying ifd is ge-0/0/2Mar 7 14:55:28 bbe_ifd_get_acf_profile: ifd = ge-0/0/2, vlan_type = 2, outer = 100, inner = 200Mar 7 14:55:28 bbe_ifd_get_acf_profile: profile is l2-profileMar 7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0Mar 7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496Mar 7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0Mar 7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:2, lock tid:83978496, my tid:83978496, retries:0Mar 7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:1, lock tid:83978496, my tid:83978496Mar 7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:2, lock tid:83978496, my tid:83978496, retries:0Mar 7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:1, lock tid:83978496, my tid:83978496Mar 7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496Mar 7 14:55:28 bbe_autoconf_check_ifd_vlan_session 3448: ifdindex 7 outer_vtag 100Mar 7 14:55:28 bbe_autoconf_create_dvlan: found matching profile for ifd ge-0/0/2, profile name is l2-profileMar 7 14:55:28 bbe_autoconf_get_versioned_profile: Updated the profile name with version l2-profile$$01Mar 7 14:55:28 bbe_autoconf_create_dvlan: vlan authentication credentials configuredMar 7 14:55:28 bbe_autoconf_create_dvlan: NO authentication required, not configuredMar 7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0Mar 7 14:55:28 bbe_autoconf_create_session: No auth_infoMar 7 14:55:28 bbe_autoconf_create_session: range specific access_profile: vlab-profileMar 7 14:55:28 bbe_autoconf_create_session: profile name: l2-profile$$01Mar 7 14:55:28 bbe_autoconf_create_session: underlying interface: ge-0/0/2.32767Mar 7 14:55:28 bbe_autoconf_create_session: physical interface: ge-0/0/2Mar 7 14:55:28 bbe_autoconf_create_session: logical system: defaultMar 7 14:55:28 bbe_autoconf_create_session: routing instance: defaultMar 7 14:55:28 bbe_autoconf_create_session: inner vlan tag: 200Mar 7 14:55:28 bbe_autoconf_create_session: outer vlan tag: 100Mar 7 14:55:28 bbe_autoconf_create_session: nas port type: 15Mar 7 14:55:28 bbe_autoconf_create_session: No passwordMar 7 14:55:28 sdb_create_extended_client_session_sts License is not being enforced for session id 1Mar 7 14:55:28 num of resd serv put success: session id 1Mar 7 14:55:28 MEM AQUIRE 96, offset 532Mar 7 14:55:28 if ge-0/0/2.32767 add, mem 0x5984214 sid:1Mar 7 14:55:28 if ge-0/0/2.32767 add sub cnt 0 uifl cnt 1 licensed count 0Mar 7 14:55:28 MEM AQUIRE 36, offset 628Mar 7 14:55:28 if ge-0/0/2.32767 session id 1 add, mem 0x5984274Mar 7 14:55:28 MEM AQUIRE 92, offset 664Mar 7 14:55:28 MEM AQUIRE 156, offset 756Mar 7 14:55:28 state:0 to index:2Mar 7 14:55:28 sdb_summary_counter_increment: sdb counter for index:2 changed to:1Mar 7 14:55:28 sdb_summary_counter_increment: sdb counter for index:9 changed to:1Mar 7 14:55:28 sdb_create_extended_client_session_sts 6312: incremented counter for state:0 for session id 1Mar 7 14:55:28 client type:0 to index:12Mar 7 14:55:28 sdb_summary_counter_increment: sdb counter for index:12 changed to:1Mar 7 14:55:28 sdb_summary_counter_increment: sdb counter for index:34 changed to:1Mar 7 14:55:28 sdb_create_extended_client_session_sts License is not being enforced for session id, client_type 1 8589934592Mar 7 14:55:28 sdb_summary_counter_increment: sdb counter for index:0 changed to:1Mar 7 14:55:28 sdb_create_extended_client_session_sts 6379: incremented counter for total for session id 1Mar 7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496Mar 7 14:55:28 bbe_autoconf_create_dvlan: session_id 1 successfully updated filtersMar 7 14:55:28 Sessiontable add, session 1, count 1Mar 7 14:55:28 bbe_autoconf_write_auth_info_to_sdb: prof [l2-profile$$01] pdb_is_var_present(NDRA_PREFIX) ret FALSEMar 7 14:55:28 bbe_sdb_ack_request: replicate and ack sid 1, p_handle 0x51595d8Mar 7 14:55:28 dprof_process_request: Received cfg bits 0x00000000 0x00000000Mar 7 14:55:28 dprof_process_request: Received ADD request for profile: "l2-profile$$01" from plugin: AUTOCONF, Aux = 0Mar 7 14:55:28 bbe_intf_add_ifl_pre_processing 3807: Dprof get inerface tag name get failed.Mar 7 14:55:28 bbe_intf_add_ifl_pre_processing 3809: Dprof inerface tag name (): len:(0)Mar 7 14:55:28 bbe_sdb_get_l2tp_accurate_accounting_type: sdb l2tp accurate accounting type not set for sid = 1Mar 7 14:55:28 bbe_sdb_get_l2tp_accurate_accounting_type: sdb l2tp accurate accounting type not set for sid = 1Mar 7 14:55:28 sdb_get_internal_variables_internal_sts: 8890 err=SDB data not foundMar 7 14:55:28 sdb_get_internal_variables_internal_sts:9267: Failed to get dyn attr: junos-loopback-interface, vid: 52, session_id=1,err=SDB data not foundMar 7 14:55:28 dprof_get_var_value: Failed to resolve var $junos-loopback-interface for sid: 1Mar 7 14:55:28 ERR: dprof_process_request: Add pre_processing failure for client request from plugin: AUTOCONF, session_id=1, err=66, Failed to get unnumbered iffMar 7 14:55:28 ERR: dprof_request_handler: Request processing failed for plugin: AUTOCONF, session_id=1, err=66Mar 7 14:55:28 bbe_autoconf_dprof_response_cb: response received, dprof_rsp = 0x0x53e2258Mar 7 14:55:28 bbe_autoconf_sdb_update_client_session_state: updating session 1 state to 3Mar 7 14:55:28 state:0 to index:2Mar 7 14:55:28 sdb_summary_counter_decrement: sdb counter for index:2 changed from:1Mar 7 14:55:28 sdb_summary_counter_decrement: sdb counter for index:9 changed from:1Mar 7 14:55:28 sdb_update_summary_counters: 3799: decremented counter for state:0Mar 7 14:55:28 state:3 to index:5Mar 7 14:55:28 sdb_summary_counter_increment: sdb counter for index:5 changed to:1Mar 7 14:55:28 sdb_summary_counter_increment: sdb counter for index:9 changed to:1Mar 7 14:55:28 sdb_update_summary_counters: 3821: incremented counter for state:3Mar 7 14:55:28 sdb_update_client_session_internal_sts: updated acct type summary counter: first 0, last 0Mar 7 14:55:28 sdb_update_client_session_internal_sts 4578: updated counter first state:0 last state:3 for session id 1Mar 7 14:55:28 state:0 to index:2Mar 7 14:55:28 state:0 to index:2Mar 7 14:55:28 state:3 to index:5Mar 7 14:55:28 state:3 to index:5Mar 7 14:55:28 license not updated for sid:1 not a licensed clientMar 7 14:55:28 bbe_sdb_ack_request: replicate and ack sid 1, p_handle 0x51595d8Mar 7 14:55:28 dprof_process_request: Received cfg bits 0x00000000 0x00000000Mar 7 14:55:28 dprof_process_request: Received DELETE request for profile: "l2-profile$$01" from plugin: AUTOCONF, Aux = 0Mar 7 14:55:28 dprof_process_request: Deleting profile l2-profile$$01 for session_id=1, client: AUTOCONFMar 7 14:55:28 sdb_get_internal_variables_internal_sts: 9177 err=SDB data not foundMar 7 14:55:28 sdb_get_internal_variables_internal_sts:9267: Failed to get dyn attr: junos-interface-set-name, vid: 56, session_id=1,err=SDB data not foundMar 7 14:55:28 bbe_autoconf_dprof_response_cb: response received, dprof_rsp = 0x0x53e2258Mar 7 14:55:28 if ge-0/0/2.32767 session id 1 delMar 7 14:55:28 if ge-0/0/2.32767 del sub cnt 0 uifl cnt 0 licensed count 0Mar 7 14:55:28 if ge-0/0/2.32767 del empty
I'd appreciate if you could pass this up to engineering for a second look!
------------------------------
GORDON GIDOFALVY
Original Message:
Sent: 05-17-2024 00:22
From: Art Stine
Subject: About using BNG with vJunos-Router
These license msgs should be advisory (ie, not enforced). Does the feature not work at all or is it just noisy when applying config?
Art
------------------------------
Art Stine
Original Message:
Sent: 05-16-2024 10:20
From: ATSU
Subject: About using BNG with vJunos-Router
I tried to use BNG on vJunos-Router, but I couldn't use it because the following log appeared:
"bbesmgd[12438]: LIBSDB_LICENSE_CHECK_FAILED: License check failed. Feature LICBNG_FEAT_PPP require vBNG-Preferred-Tier and VMX-SCALE-PREMIUM licenses"
As I can see from the following URL, it seems that BNG is supported on vJunos-Router. Could you please tell me how to use BNG? Do I need additional licenses?
https://www.juniper.net/documentation/us/en/software/vjunos-router/vjunos-router-kvm/topics/vjunos-router-overview-understanding.html
------------------------------
ATSU
------------------------------