Labs

 View Only
last person joined: 10 days ago 

Discover how to get the most of Juniper labs and share what you've built.
Expand all | Collapse all

About using BNG with vJunos-Router

  • 1.  About using BNG with vJunos-Router

    Posted 05-16-2024 10:37

    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
    ------------------------------


  • 2.  RE: About using BNG with vJunos-Router

    Posted 05-17-2024 00:22

    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
    ------------------------------



  • 3.  RE: About using BNG with vJunos-Router

    Posted 05-18-2024 13:56

    Thank you for your reply. 
    Logs are generated when I try to connect to PPPoE for the first time, but the PPPoE connection is not established



    ------------------------------
    ATSU
    ------------------------------



  • 4.  RE: About using BNG with vJunos-Router

    Posted 06-25-2024 19:53

    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 Request
    Mar  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=0
    Mar  7 15:16:26.702973 authd_auth_aaa_msg_destruct auth_aaa_msg: 0x50fa06c
    Mar  7 15:16:26.703000 findSession AST-Table couldn't find the session-id:14
    Mar  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 PKT
    Mar  7 14:55:28 bbe_ifd_add_vif: ifd ge-0/0/2 vtag 0x020640c8, aci , is_aci_over_static_ifl false: Creating new vif
    Mar  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 = 0x6281c00
    Mar  7 14:55:28 bbe_autoconf_packet_received: lookup string = , len = 161 vif_status = 1
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: ifl = 0x52cf80c, packet = 0x6281c00
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: underlying ifd is ge-0/0/2
    Mar  7 14:55:28 bbe_ifd_get_acf_profile: ifd = ge-0/0/2, vlan_type = 2, outer = 100, inner = 200
    Mar  7 14:55:28 bbe_ifd_get_acf_profile: profile is l2-profile
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:2, lock tid:83978496, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:1, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:2, lock tid:83978496, my tid:83978496, retries:0
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:1, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbe_autoconf_check_ifd_vlan_session 3448: ifdindex 7 outer_vtag 100
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: found matching profile for ifd ge-0/0/2, profile name is l2-profile
    Mar  7 14:55:28 bbe_autoconf_get_versioned_profile: Updated the profile name with version l2-profile$$01
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: vlan authentication credentials configured
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: NO authentication required, not configured
    Mar  7 14:55:28 bbemg_smgd_lock_cli_instance_db: lock success, lock cnt:1, lock tid:0, my tid:83978496, retries:0
    Mar  7 14:55:28 bbe_autoconf_create_session: No auth_info
    Mar  7 14:55:28 bbe_autoconf_create_session: range specific access_profile: vlab-profile
    Mar  7 14:55:28 bbe_autoconf_create_session: profile name: l2-profile$$01
    Mar  7 14:55:28 bbe_autoconf_create_session: underlying interface: ge-0/0/2.32767
    Mar  7 14:55:28 bbe_autoconf_create_session: physical interface: ge-0/0/2
    Mar  7 14:55:28 bbe_autoconf_create_session: logical system: default
    Mar  7 14:55:28 bbe_autoconf_create_session: routing instance: default
    Mar  7 14:55:28 bbe_autoconf_create_session: inner vlan tag: 200
    Mar  7 14:55:28 bbe_autoconf_create_session: outer vlan tag: 100
    Mar  7 14:55:28 bbe_autoconf_create_session: nas port type: 15
    Mar  7 14:55:28 bbe_autoconf_create_session: No password
    Mar  7 14:55:28 sdb_create_extended_client_session_sts License is not being enforced for session id 1
    Mar  7 14:55:28 num of resd serv put success: session id 1
    Mar  7 14:55:28 MEM AQUIRE 96, offset 532
    Mar  7 14:55:28 if ge-0/0/2.32767 add, mem 0x5984214 sid:1
    Mar  7 14:55:28 if ge-0/0/2.32767 add sub cnt 0 uifl cnt 1 licensed count 0
    Mar  7 14:55:28 MEM AQUIRE 36, offset 628
    Mar  7 14:55:28 if ge-0/0/2.32767 session id 1 add, mem 0x5984274
    Mar  7 14:55:28 MEM AQUIRE 92, offset 664
    Mar  7 14:55:28 MEM AQUIRE 156, offset 756
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:2 changed to:1
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:9 changed to:1
    Mar  7 14:55:28 sdb_create_extended_client_session_sts 6312: incremented counter for state:0 for session id 1
    Mar  7 14:55:28 client type:0 to index:12
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:12 changed to:1
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:34 changed to:1
    Mar  7 14:55:28 sdb_create_extended_client_session_sts License is not being enforced for session id, client_type 1 8589934592
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:0 changed to:1
    Mar  7 14:55:28 sdb_create_extended_client_session_sts 6379: incremented counter for total for session id 1
    Mar  7 14:55:28 bbemg_smgd_unlock_cli_instance_db: unlock success, lock cnt:0, lock tid:83978496, my tid:83978496
    Mar  7 14:55:28 bbe_autoconf_create_dvlan: session_id 1 successfully updated filters
    Mar  7 14:55:28 Sessiontable add, session 1, count 1
    Mar  7 14:55:28 bbe_autoconf_write_auth_info_to_sdb: prof [l2-profile$$01] pdb_is_var_present(NDRA_PREFIX) ret FALSE
    Mar  7 14:55:28 bbe_sdb_ack_request: replicate and ack sid 1, p_handle 0x51595d8
    Mar  7 14:55:28 dprof_process_request: Received cfg bits 0x00000000 0x00000000
    Mar  7 14:55:28 dprof_process_request: Received ADD request for profile: "l2-profile$$01" from plugin: AUTOCONF, Aux = 0
    Mar  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 = 1
    Mar  7 14:55:28 bbe_sdb_get_l2tp_accurate_accounting_type: sdb l2tp accurate accounting type not set for sid = 1
    Mar  7 14:55:28 sdb_get_internal_variables_internal_sts: 8890 err=SDB data not found
    Mar  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 found
    Mar  7 14:55:28 dprof_get_var_value: Failed to resolve var $junos-loopback-interface for sid: 1
    Mar  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 iff
    Mar  7 14:55:28 ERR: dprof_request_handler: Request processing failed for plugin: AUTOCONF, session_id=1, err=66
    Mar  7 14:55:28 bbe_autoconf_dprof_response_cb: response received, dprof_rsp = 0x0x53e2258
    Mar  7 14:55:28 bbe_autoconf_sdb_update_client_session_state: updating session 1 state to 3
    
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 sdb_summary_counter_decrement: sdb counter for index:2 changed from:1
    Mar  7 14:55:28 sdb_summary_counter_decrement: sdb counter for index:9 changed from:1
    Mar  7 14:55:28 sdb_update_summary_counters: 3799: decremented counter for state:0
    Mar  7 14:55:28 state:3 to index:5
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:5 changed to:1
    Mar  7 14:55:28 sdb_summary_counter_increment: sdb counter for index:9 changed to:1
    Mar  7 14:55:28 sdb_update_summary_counters: 3821: incremented counter for state:3
    Mar  7 14:55:28 sdb_update_client_session_internal_sts: updated acct type summary counter: first 0, last 0
    Mar  7 14:55:28 sdb_update_client_session_internal_sts 4578: updated counter first state:0 last state:3 for session id 1
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 state:0 to index:2
    Mar  7 14:55:28 state:3 to index:5
    Mar  7 14:55:28 state:3 to index:5
    Mar  7 14:55:28 license not updated for sid:1 not a licensed client
    Mar  7 14:55:28 bbe_sdb_ack_request: replicate and ack sid 1, p_handle 0x51595d8
    Mar  7 14:55:28 dprof_process_request: Received cfg bits 0x00000000 0x00000000
    Mar  7 14:55:28 dprof_process_request: Received DELETE request for profile: "l2-profile$$01" from plugin: AUTOCONF, Aux = 0
    Mar  7 14:55:28 dprof_process_request: Deleting profile l2-profile$$01 for session_id=1, client: AUTOCONF
    Mar  7 14:55:28 sdb_get_internal_variables_internal_sts: 9177 err=SDB data not found
    Mar  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 found
    Mar  7 14:55:28 bbe_autoconf_dprof_response_cb: response received, dprof_rsp = 0x0x53e2258
    Mar  7 14:55:28 if ge-0/0/2.32767 session id 1 del
    Mar  7 14:55:28 if ge-0/0/2.32767 del sub cnt 0 uifl cnt 0 licensed count 0
    Mar  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
    ------------------------------



  • 5.  RE: About using BNG with vJunos-Router

    Posted 06-25-2024 20:06

    Hey Gordon - I'll pass this info to the BNG team and get their take.

    thanks

    Art



    ------------------------------
    Art Stine
    ------------------------------



  • 6.  RE: About using BNG with vJunos-Router

    Posted 06-29-2024 02:12

    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
    ------------------------------



  • 7.  RE: About using BNG with vJunos-Router

    Posted 08-19-2024 07:40

    Could you please provide an update on the status of license?



    ------------------------------
    ATSU
    ------------------------------



  • 8.  RE: About using BNG with vJunos-Router

    Posted 08-29-2024 03:52

    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




  • 9.  RE: About using BNG with vJunos-Router

    Posted 08-29-2024 04:53
    Edited by GORDON GIDOFALVY 08-29-2024 04:55

    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
    ------------------------------



  • 10.  RE: About using BNG with vJunos-Router

    Posted 08-29-2024 05:50

    Hi Gordon,

    Is it means u use vBNG license for vMX in vJunosRouter correct? and its work?

    Thanks




  • 11.  RE: About using BNG with vJunos-Router

    Posted 10-20-2024 05:49